Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add "Select all" in sources filter #483

Closed
calumbell opened this issue Mar 12, 2024 · 0 comments · Fixed by #505
Closed

Feature: Add "Select all" in sources filter #483

calumbell opened this issue Mar 12, 2024 · 0 comments · Fixed by #505
Assignees

Comments

@calumbell
Copy link
Contributor

calumbell commented Mar 12, 2024

It would be good if we could upgrade the SourcesModal component to include a piece of UI that allowed users to select/deselect all sources.

I imagine something like a mixed/tri-state checkbox that can be checked, partly checked, or unchecked.

It is checked when all sources are selected. Clicking it will unselect all sources.
It is unchecked when all sources are unselected. Clicking it will select all sources.
It is partly checked when at least one, but not all, sources are selected. Clicking it will select all sources.

The only file that should need to be changed should be /components/SourcesModal.vue, although implementing the tri-state logic may make most sense in its own component

@calumbell calumbell changed the title Add "Select all" in sources filter Feature: Add "Select all" in sources filter Mar 12, 2024
@calumbell calumbell self-assigned this Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant