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

Always display select/unselect all buttons on layer filters #971

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

jeffpamer
Copy link
Contributor

Resolves #592 #591

This PR makes it so that when selecting filter options to be included in a timeline row, we make a "select all" and "unselect all" option always visible, regardless of whether filter text has been supplied.

We originally specified to move these buttons to the top of the filter list, and stack them side-by-side. But depending on the length of the resource names, we don't necessarily have much width to work with and the side-by-side approach seemed like it could be cramped. As @joswig pointed out in a comment on #592, another option here is to keep the buttons at the bottom, but just make them fixed so they're always visible. I do think this works a bit better in this context and doesn't steal too much vertical space from the list items themselves. Happy to discuss if anyone disagrees or thinks there's a better approach here?

2023-10-27 15 23 48

@jeffpamer jeffpamer requested a review from a team as a code owner October 27, 2023 22:26
@jeffpamer jeffpamer temporarily deployed to test-workflow October 27, 2023 22:26 — with GitHub Actions Inactive
Copy link
Collaborator

@duranb duranb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jeffpamer jeffpamer merged commit 5bfb333 into develop Oct 30, 2023
4 checks passed
@jeffpamer jeffpamer deleted the feature/select-all-filter-button branch October 30, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants