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

filter-sidebar: Enhanced documentation and guidance around mobile usage. #1918

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react/src/filter-sidebar/docs/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ relatedPatterns: ['search-filters']

Filter sidebar is used in catalogue or search results pages to contain filtering options for a list of Cards.

The Filter sidebar collapses on mobile devices, and displays a number of active filter options in the header.
The Filter sidebar collapses on mobile devices into an accordion, where the number of active filter options is displayed prominently in the header. Individual filter tags are displayed outside of the accordion, providing users with a clear, interactive way to view and remove specific filters as needed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Filter tags aren't part of this component, so I think this should be more "if you add filter tags" or it should be added to the patterns/search-filters documentation


[Visit the example page in Storybook](/storybook/index.html?path=/story/layout-filtersidebar--full) to see it used in context.

Expand Down
Loading