Skip to content

Add AI rerank and detail actions to Components V2#2323

Draft
Mbeaulne wants to merge 1 commit into
05-27-components-v2-multi-source-searchfrom
05-27-components-v2-ai-rerank-actions
Draft

Add AI rerank and detail actions to Components V2#2323
Mbeaulne wants to merge 1 commit into
05-27-components-v2-multi-source-searchfrom
05-27-components-v2-ai-rerank-actions

Conversation

@Mbeaulne
Copy link
Copy Markdown
Collaborator

@Mbeaulne Mbeaulne commented May 27, 2026

Tophatting

Manual tophatting recommended because this adds AI reranking and detail actions.

  1. Turn on the Components V2 beta flag.
  2. Open /components-v2 and search for a component.
  3. Select a result and confirm the detail panel opens.
  4. Close the detail panel with both the close button and Escape.
  5. Configure Agent Settings, then try the AI rerank button.
  6. Copy a component and paste it into a pipeline if testing the full editor flow.

What changed

Adds the final interactive pieces to Components V2:

  • AI rerank button
  • AI unavailable/error states
  • component detail panel
  • copy-to-clipboard action
  • analytics ids for detail actions

Why

After normal search finds matching components, users can optionally ask an LLM to rerank those results. The detail panel lets users inspect a result without leaving the page.

Test plan

  • Turn on the Components V2 beta flag
  • Open /components-v2
  • Search for a component
  • Select a result and confirm the detail panel opens
  • Close the detail panel with the close button and with Escape
  • Configure Agent Settings and confirm the AI rerank button becomes usable
  • Click AI rerank and confirm results update or an error message appears
  • Copy a component and paste into a pipeline if testing the full editor flow
  • Run pnpm exec vitest run src/routes/Dashboard/DashboardComponentsV2View.test.tsx
  • Run pnpm run typecheck --pretty false

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

🎩 Preview

A preview build has been created at: 05-27-components-v2-ai-rerank-actions/83501db

Copy link
Copy Markdown
Collaborator Author

Mbeaulne commented May 27, 2026

@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from 4ebdbe3 to 7e01bdf Compare May 27, 2026 20:29
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from d8182ea to 9491133 Compare May 27, 2026 20:29
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from 7e01bdf to a66df23 Compare May 27, 2026 23:18
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 9491133 to 3134ffe Compare May 27, 2026 23:18
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from a66df23 to 16cb38c Compare May 27, 2026 23:27
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch 2 times, most recently from 7e813eb to 9f78cd5 Compare May 27, 2026 23:36
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch 2 times, most recently from 1b90c44 to 2259e4e Compare May 27, 2026 23:38
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 9f78cd5 to 4357ab9 Compare May 27, 2026 23:38
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from 2259e4e to 7ad9821 Compare May 28, 2026 01:13
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 4357ab9 to 545577e Compare May 28, 2026 01:13
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from 7ad9821 to d94b36a Compare May 28, 2026 01:16
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 545577e to 6a81400 Compare May 28, 2026 01:16
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from d94b36a to 30ac27b Compare May 28, 2026 01:22
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 6a81400 to 83501db Compare May 28, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant