Adds AI-generated component descriptions to Components V2#2337
Merged
Conversation
🎩 PreviewA preview build has been created at: |
This was referenced May 28, 2026
Collaborator
Author
0921139 to
8f0e1c1
Compare
83501db to
a170a35
Compare
8f0e1c1 to
7f98450
Compare
7e44940 to
51f8903
Compare
7f98450 to
3cf54a9
Compare
3cf54a9 to
fef7c42
Compare
51f8903 to
c7cca66
Compare
cf7fcde to
8403266
Compare
0872b32 to
702c024
Compare
8403266 to
32898d7
Compare
702c024 to
0e77cda
Compare
32898d7 to
9815ec4
Compare
0e77cda to
6b509de
Compare
9815ec4 to
59950bb
Compare
6b509de to
0402461
Compare
b775fcb to
0c16efb
Compare
4956d34 to
f32e1fa
Compare
014a78e to
3219213
Compare
cf752a1 to
d5f797a
Compare
a413182 to
e7028c0
Compare
9a7ebb9 to
8a164e9
Compare
a66b440 to
d7ea616
Compare
11d5018 to
c10c8b9
Compare
d7ea616 to
293f685
Compare
1d7643e to
a2a024a
Compare
morgan-wowk
approved these changes
Jun 5, 2026
camielvs
approved these changes
Jun 5, 2026
camielvs
left a comment
Collaborator
There was a problem hiding this comment.
feature might need some iteration, but okay to merge in for now
c10c8b9 to
6f6d16e
Compare
a2a024a to
3defa6e
Compare
Collaborator
Author
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3defa6e to
7577404
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
Adds AI-generated descriptions for components viewed in the Components V2 detail panel. When a component is selected, the panel now shows a dedicated description section with both the source-authored (prefilled) description and an AI-generated description produced by calling the configured LLM provider.
A new
component-search-v2-ai-descriptionsbeta flag controls whether descriptions are generated automatically on component selection. When the flag is off, a manual "Generate AI description" button is shown instead. The flag is hidden in Beta Features settings unless the parentcomponent-search-v2flag is also enabled.The
ComponentDetailcomponent gains ahideDescriptionprop so the detail panel can suppress the built-in description block when the caller renders its own description panel above it.The source filter logic has been extracted from
DashboardComponentsV2Viewinto a dedicatedDashboardComponentsV2SourceFiltermodule. Filter keys are now based on sourcekindrather thankind:id, so all registered libraries are grouped into a single "Registered libraries" toggle instead of one toggle per library. The registered libraries fingerprint now tracks the sorted set of known digests rather than just their count, so the index correctly invalidates when digest values change without a count change.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
component-search-v2beta flag in Settings.component-search-v2-ai-descriptionsbeta flag (visible only whencomponent-search-v2is enabled) and re-select a component. Confirm the description is generated automatically without clicking the button.Additional Comments
The
generateComponentAiDescriptionservice function follows the same OpenAI-compatible chat completions pattern used by the existing rerank service. Internal prompt-builder and config-validation helpers have been renamed to avoid ambiguity now that both rerank and description generation share the same module.