Skip to content

Feat/cmd k comp - #118

Merged
itzamanjain merged 6 commits into
mainfrom
feat/cmd-k-comp
Jun 14, 2026
Merged

Feat/cmd k comp#118
itzamanjain merged 6 commits into
mainfrom
feat/cmd-k-comp

Conversation

@itzamanjain

@itzamanjain itzamanjain commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Summary by cubic

Adds a keyboard-first Command Palette (Cmd/Ctrl+K) and an Accordion demo/registry with docs. Also improves CI by validating the registry and building with dummy env vars so builds pass.

  • New Features

    • @spectrumui/command-palette: accessible, animated palette with search, navigation, theme toggles, and repo actions; opens with Cmd/Ctrl+K; built with framer-motion, lucide-react, and next-themes. Docs: new page with demo; registry items command-palette and command-palette-demo; docs nav shows a “new” badge.
    • @spectrumui/accordion: adds registry item and accordion-demo; accordion docs now include the cli hint for @spectrumui/accordion.
  • Refactors

    • CI: .github/workflows/ci.yml runs yarn test:registry, npx shadcn@latest build, and yarn build on Node 20; injects dummy envs NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, RESEND_API_KEY, DODO_PAYMENTS_API_KEY, DODO_PAYMENTS_RETURN_URL, DODO_PAYMENTS_ENVIRONMENT, AUTH_SECRET.
    • Build/registry polish: normalized filename casing (e.g., animatedcard), fixed CLI ids (e.g., @spectrumui/ink), corrected paths, and added missing cli hints in docs previews; refactored Multiple Selector usage paths (e.g., with-disable-options, manually-controlled) and imports.
    • Scripts/guidelines: added test:registry and set test to run it; added .agents/component_design_guidelines.md as the canonical guide.

Written for commit 89a22aa. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spectrum-ui Ready Ready Preview, Comment Jun 14, 2026 3:44am

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 issues found across 124 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="app/(docs)/docs/multiple-selector/page.tsx">

<violation number="1" location="app/(docs)/docs/multiple-selector/page.tsx:91">
P3: cli value uses plural 'options' but the filename uses singular 'option'. Should match for consistent install commands.</violation>
</file>

Note: This PR contains a large number of files. cubic only reviews up to 100 files per PR, so some files may not have been reviewed. cubic prioritizes the most important files to review.
On a pro plan you can use ultrareview for larger PRs.

Re-trigger cubic

Comment thread app/registry/command-palette/command-palette-demo.tsx Outdated
Comment thread app/(docs)/docs/multiple-selector/page.tsx
title="Disable Option"
path="app/(docs)/docs//multiple-selector/usage/multiple-selector-with-disable-option.tsx"
cli="@spectrumui/multiple-selector-with-disable-option"
cli="@spectrumui/multiple-selector-with-disable-options"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: cli value uses plural 'options' but the filename uses singular 'option'. Should match for consistent install commands.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At app/(docs)/docs/multiple-selector/page.tsx, line 91:

<comment>cli value uses plural 'options' but the filename uses singular 'option'. Should match for consistent install commands.</comment>

<file context>
@@ -88,7 +88,7 @@ const MultipleSelectorPage = () => {
         title="Disable Option"
         path="app/(docs)/docs//multiple-selector/usage/multiple-selector-with-disable-option.tsx"
-        cli="@spectrumui/multiple-selector-with-disable-option"
+        cli="@spectrumui/multiple-selector-with-disable-options"
       >
         <MultipleSelectorWithDisabledOption />
</file context>
Suggested change
cli="@spectrumui/multiple-selector-with-disable-options"
cli="@spectrumui/multiple-selector-with-disable-option"

Comment thread app/(docs)/docs/accordion/page.tsx Outdated
@itzamanjain
itzamanjain merged commit bfad444 into main Jun 14, 2026
4 checks passed
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