Repository navigation
feat(category-search): Improve Search Behaviour And Simplify API #955 - #960
Merged
mart-sessman merged 6 commits intoOct 14, 2026
Conversation
…-Design-System#955 Add empty-state and validation feedback, remembered-result reopening, optional search buttons and minimizeCounter support. BREAKING CHANGE: Remove open, categoryId, onOpenChange and onCategoryChange. Categories can no longer be added or removed after mounting.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 14, 2026
# [20.0.0-rc.1](react-19.2.0-rc.9...react-20.0.0-rc.1) (2026-10-14) ### Features * **category-search:** Improve Search Behaviour And Simplify API [#955](#955) ([#960](#960)) ([80868d4](80868d4)) ### BREAKING CHANGES * **category-search:** Remove open, categoryId, onOpenChange and onCategoryChange. Categories can no longer be added or removed after mounting.
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.
Closes #955
CategorySearch needs clearer search feedback, better mobile presentation and more flexible sizing. This change also simplifies its public API and internal state handling.
Changes:
minimizeCounterto close the panel without clearing saved state or restoring focus.mobilevalue overrides the default below-mddetection.searchBarWidthandfullWidthFilterPanel, and keep the category selector width stable using the widest label.Breaking changes and migration:
open,categoryId,onOpenChangeandonCategoryChange.defaultOpenanddefaultCategoryIdremain for initial values.panelWidthtotextResultsPanelWidth.initialQuery.md, the component now uses the mobile modal by default. Setmobile={false}to retain the desktop presentation.Validation:
Jul 2025but receivesjuuli 2025. CategorySearch tests passed.