Show active filter labels when mobile dropdown is collapsed#121
Merged
Conversation
When the filter popover is closed and labels are active, display small tinted label pills next to the button with "Filtering by:" text so users can see what's being filtered at a glance. https://claude.ai/code/session_01TLX1MwCvBintvG7nBqj4vB
✅ Deploy Preview for what-todo-web ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Show "Filtering by:" and small tinted label pills inside the dropdown button itself rather than beside it, so the whole thing reads as one cohesive control. https://claude.ai/code/session_01TLX1MwCvBintvG7nBqj4vB
Bump button text from text-xs to text-sm, label pills from text-[10px] to text-xs, popover items from text-sm to text-base, and icons from 12-14px to 14-16px for better readability on mobile. https://claude.ai/code/session_01TLX1MwCvBintvG7nBqj4vB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the mobile label filter dropdown is closed and filters are active, there's no indication of what's being filtered. This adds small tinted label pills next to the Filter button with "Filtering by:" text, so users can see at a glance which labels are active without opening the popover.
To test, open on mobile (or narrow viewport), select one or more labels from the filter dropdown, then close it — the active labels should appear inline next to the button.