Skip to content

Global command palette#205

Closed
bmdavis419 wants to merge 1 commit into
mainfrom
cursor/global-command-palette-7573
Closed

Global command palette#205
bmdavis419 wants to merge 1 commit into
mainfrom
cursor/global-command-palette-7573

Conversation

@bmdavis419
Copy link
Copy Markdown
Collaborator

@bmdavis419 bmdavis419 commented Mar 2, 2026

Add a global command bar to the web app for quick access to search, actions, and navigation, triggered by Cmd/Ctrl+K or the sidebar search input.


Open in Web Open in Cursor 

Greptile Summary

Adds a global command palette (Cmd/Ctrl+K) for quick navigation, replacing the inline sidebar search with a more powerful interface for searching threads, accessing actions (new thread, add resource, toggle theme), and navigating to app sections.

  • Replaces sidebar's inline search with command bar trigger
  • Implements keyboard navigation with arrow keys, Enter, and Escape
  • Limits thread results to 12 most recent matches
  • Properly manages focus and modal stacking with existing modals

Confidence Score: 5/5

  • Safe to merge - well-implemented feature with no breaking changes
  • Clean implementation following existing patterns, proper state management, good accessibility, and all integrations are correct
  • No files require special attention

Important Files Changed

Filename Overview
apps/web/src/lib/components/CommandBar.svelte New command palette component with keyboard navigation, thread search, actions, and shortcuts
apps/web/src/lib/components/Sidebar.svelte Removed inline search, converted search input to command bar trigger
apps/web/src/routes/app/+layout.svelte Added command bar integration with global Cmd/Ctrl+K handler and state management

Last reviewed commit: 437f5e6

Co-authored-by: Ben Davis <bmdavis419@users.noreply.github.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Mar 2, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@bmdavis419 bmdavis419 closed this Mar 2, 2026
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.

2 participants