Skip to content

Add AI rerank and detail actions to Components V2#2323

Merged
Mbeaulne merged 2 commits into
masterfrom
05-27-components-v2-ai-rerank-actions
Jun 5, 2026
Merged

Add AI rerank and detail actions to Components V2#2323
Mbeaulne merged 2 commits into
masterfrom
05-27-components-v2-ai-rerank-actions

Conversation

@Mbeaulne

@Mbeaulne Mbeaulne commented May 27, 2026

Copy link
Copy Markdown
Collaborator

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

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

🎩 Preview

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

@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
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch 2 times, most recently from a170a35 to 7e44940 Compare May 28, 2026 18:37
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from 36af25f to 0fe1287 Compare May 28, 2026 18:37
Comment thread src/routes/Dashboard/DashboardComponentsV2View.tsx Outdated
Comment thread src/hooks/useNaturalLanguageComponentSearch.ts
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from cc83c54 to fa7ca48 Compare June 4, 2026 21:46
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 2fd493b to 4443b22 Compare June 4, 2026 21:46
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from fa7ca48 to 89c8c12 Compare June 5, 2026 01:21
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch 2 times, most recently from 4956d34 to f32e1fa Compare June 5, 2026 01:57
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch 2 times, most recently from e2310c0 to e9fe92c Compare June 5, 2026 02:04
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from f32e1fa to cf752a1 Compare June 5, 2026 02:04
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from e9fe92c to c1d32e1 Compare June 5, 2026 11:54
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from cf752a1 to d5f797a Compare June 5, 2026 11:54
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from c1d32e1 to ac5f4d9 Compare June 5, 2026 12:06
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch 2 times, most recently from 9a7ebb9 to 8a164e9 Compare June 5, 2026 12:29
@Mbeaulne Mbeaulne requested review from camielvs and morgan-wowk June 5, 2026 12:40
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from d4eee7c to f5f9b79 Compare June 5, 2026 13:40
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 11d5018 to c10c8b9 Compare June 5, 2026 13:40
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from c10c8b9 to 6f6d16e Compare June 5, 2026 17:38
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-multi-source-search branch from f5f9b79 to c3af153 Compare June 5, 2026 17:38

Mbeaulne commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

Merge activity

  • Jun 5, 5:42 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 5, 5:49 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 5, 5:52 PM UTC: @Mbeaulne merged this pull request with Graphite.

@Mbeaulne Mbeaulne changed the base branch from 05-27-components-v2-multi-source-search to graphite-base/2323 June 5, 2026 17:43
@Mbeaulne Mbeaulne changed the base branch from graphite-base/2323 to master June 5, 2026 17:47
Mbeaulne and others added 2 commits June 5, 2026 17:48
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Mbeaulne Mbeaulne force-pushed the 05-27-components-v2-ai-rerank-actions branch from 6f6d16e to e0af315 Compare June 5, 2026 17:48
@Mbeaulne Mbeaulne merged commit 74ba2d6 into master Jun 5, 2026
17 checks passed
@Mbeaulne Mbeaulne deleted the 05-27-components-v2-ai-rerank-actions branch June 5, 2026 17:52
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.

3 participants