-
Notifications
You must be signed in to change notification settings - Fork 1
Add filter chips with theme-aware borders to show active filters on search contact page #115
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: patrickrb <[email protected]>
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot the chips are working perfectly, but they dont have a visible border. Lets give it a border, it should be based on the theme the user has selected.
Co-authored-by: patrickrb <[email protected]>
Added theme-aware borders to the filter chips! The chips now have visible borders using Changes implemented in commit 502d596. |
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chips are working great, Tested on deployed environment. LGTM..merging

This PR implements filter chips functionality for the contact search page, addressing the issue where users could only see the number of active filters but not which specific filters were applied.
Filter Chips Implementation
Added a
FilterChipscomponent that displays active filters as dismissible badges with theme-aware borders for better visibility. Users can now see exactly which filters are active at a glance and remove individual filters with one click.Key Features
Technical Implementation
The implementation uses the existing Badge component with additional styling for theme-responsive borders (
border border-border). ThegetActiveFilterChips()helper function converts filter state into human-readable chip data, handling special cases like date formatting and DXCC entity name resolution.Demo Page
Created a comprehensive demo at
/filter-chips-demoshowcasing the functionality with interactive examples, making it easy to test the feature without database setup.Impact
The implementation maintains backward compatibility and adds zero breaking changes to existing functionality.
Fixes #65.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.