Add source filter bar to editor component search#2470
Merged
Mbeaulne merged 1 commit intoJun 29, 2026
Conversation
This was referenced Jun 29, 2026
Collaborator
Author
8 tasks
🎩 PreviewA preview build has been created at: |
faf3026 to
2e4cdd9
Compare
8 tasks
morgan-wowk
approved these changes
Jun 29, 2026
2e4cdd9 to
b7163ff
Compare
b7163ff to
2c11f71
Compare
81d1273 to
567d072
Compare
2c11f71 to
f84f5fb
Compare
Collaborator
Author
f84f5fb to
4682002
Compare
4682002 to
7d9f4e2
Compare
8 tasks
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.

Description
Adds source filtering to the editor's component search panel. The
SourceFilterBarcomponent now supports an"icons"display mode that renders compact circular icon-only buttons (instead of full label + count buttons), with tooltips showing the source name, component count, and toggle hint on hover.The editor's
ComponentSearchV2Contentrenders theSourceFilterBarin"icons"mode, wired up to new state (sourceFilterOptions,disabledSourceKeys,toggleSourceFilter,enableAllSources) exposed byuseComponentSearchV2State. Filtering by disabled source keys is applied to lexical matches, AI candidate matches, embedding matches, browse folders, and search suggestions. Resetting the rerank state is also triggered when the source filter changes.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments
The
SourceFilterBardisplay="icons"mode intentionally omits the label and count from the button itself, relying on theQuickTooltipto surface that information, keeping the toolbar compact in the constrained editor sidebar layout.