Skip to content

Add app command menu - #5

Draft
TheOrcDev wants to merge 1 commit into
shadcn-ui:mainfrom
TheOrcDev:codex/command-menu
Draft

Add app command menu#5
TheOrcDev wants to merge 1 commit into
shadcn-ui:mainfrom
TheOrcDev:codex/command-menu

Conversation

@TheOrcDev

Copy link
Copy Markdown

Summary

  • add an app-level command menu with searchable chat and appearance actions
  • add a visible header trigger plus the standard Cmd/Ctrl+K shortcut
  • connect commands to the existing new-chat action and message composer without changing chat submission state
  • add the registry-aligned command and dialog primitives with the cmdk runtime

Why

The chatbot exposes several useful actions, but they are only available through individual controls. This adds one keyboard-accessible surface for starting a new chat, focusing the composer, and switching themes while preserving the existing action behavior and disabled states.

No existing shadcn-owned component was modified; the command and dialog primitives are new generated files.

Shadscan

Pinned @shadscan/cli@0.16.0 improves from 50/100 to 59/100 on this focused branch:

  • command-menu-present: 5/5
  • command-menu-hotkey-present: 4/4

Validation

  • pnpm exec prettier --check ...
  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • pnpm --silent dlx @shadscan/cli@0.16.0 --json → 59/100
  • git diff --check

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcmdk@​1.1.11001009982100

View full report

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