Add component collection search results#2449
Open
Mbeaulne wants to merge 1 commit into
Open
Conversation
8 tasks
🎩 PreviewA preview build has been created at: |
This was referenced Jun 23, 2026
Collaborator
Author
This was referenced Jun 23, 2026
b339467 to
5139df5
Compare
e2fafac to
3beb6cb
Compare
5139df5 to
8e9b863
Compare
3beb6cb to
59d316c
Compare
This was referenced Jun 23, 2026
59d316c to
c64d0b1
Compare
8e9b863 to
53dd0b9
Compare
c64d0b1 to
b8c6934
Compare
b8c6934 to
aeb796f
Compare
1f7cb6d to
a25389c
Compare
21f8f74 to
dc81ddb
Compare
dc81ddb to
3a8d3ed
Compare
8d8e6f4 to
30633b0
Compare
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
When a user searches for components, registered library collections whose labels match the query are now surfaced as a distinct "Collections" section above the individual component results. Each collection card displays the library name, a component count badge, and a preview of up to three component names.
The
buildComponentCollectionMatchesfunction groups matching index entries by their registered source ID, filters by label against the search query, and sorts results alphabetically. Collection results respect the active source filter — if the "Registered libraries" source is disabled, collection cards are hidden. The "no results" empty state is also updated to account for collection matches, so it only appears when both component and collection results are empty. The result count label was updated from "results" to "component results" to distinguish it from collection results.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments