-
Couldn't load subscription status.
- Fork 1.4k
Enhance FAQ component to support filtering on subcategory #7068
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
Enhance FAQ component to support filtering on subcategory #7068
Conversation
This commit implements the enhancement requested in issue layer5io#6935. It adds support for filtering FAQs by both category and subcategory, with dynamic subcategory options based on selected categories. Uses SistentThemeProvider and theme tokens for consistent styling. Signed-off-by: Sekar <sekarmca2024.com> Signed-off-by: Sekar C Mca <sekarmca2024@gmail.com>
c24f737 to
35a9480
Compare
|
🚀 Preview for commit 35a9480 at: https://68f8dab8e7a9a4451541103b--layer5.netlify.app |
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.
Everything looks good, but it always shows all items ( refer image ), please fix that. Also, in the current implementation, both category and subcategory need to be selected to display results. Instead, make it so that selecting a category shows all its subcategories by default, and selecting a subcategory should remain optional.
…support - Use Box component from @sistent/sistent with theme tokens - Replace hard-coded colors with background.default and divider tokens - Implement Collapse component properly for filter transitions - Remove unused Row and Col imports - Fix dark mode visibility issues with proper theme-aware styling Signed-off-by: Sekar C Mca <sekarmca2024@gmail.com>
|
🚀 Preview for commit c50cc9a at: https://68fe5e3522142b0cea778fdd--layer5.netlify.app |
|
Thank you for your contribution! |
|
🚀 Preview for commit 14c22a1 at: https://68ff92d81d84bf78b016bca6--layer5.netlify.app |
Description
This PR implements the enhancement requested in issue #6935. It adds support for filtering FAQs by both category and subcategory, with dynamic subcategory options that update based on selected categories.
Changes