feat: add global hotkeys system with keyboard shortcut discovery#277
Merged
ruudandriessen merged 1 commit intomainfrom Mar 10, 2026
Merged
feat: add global hotkeys system with keyboard shortcut discovery#277ruudandriessen merged 1 commit intomainfrom
ruudandriessen merged 1 commit intomainfrom
Conversation
Introduce a centralized hotkey registry and UI components for discovering keyboard shortcuts. Includes: - Hotkey registry (Cmd+N for new task, Cmd+Shift+P for create PR) - Kbd component for displaying platform-specific key badges (⌘ on Mac, Ctrl on Windows) - Tooltip component wrapping Radix UI, styled neobrutal - NewTaskButton with inline kbd (full size) and tooltip on hover (sidebar icon) - Create PR button with inline kbd shortcut Uses @tanstack/react-hotkeys for event handling and singleton manager pattern. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a centralized hotkey system with keyboard shortcut discovery UI. Users can now press Cmd+N (or Ctrl+N) to create a new task and Cmd+Shift+P to create a PR. Shortcuts are discoverable via inline badges and tooltips.
New components:
Kbd: Platform-aware keyboard shortcut badge (⌘ on Mac, Ctrl on Windows)Tooltip: Shadcn-style tooltip wrapping Radix UI, neobrutal styledhotkeysregistry: Centralized hotkey definitionsIntegrated hotkeys:
Built on @tanstack/react-hotkeys for event handling.
🤖 Generated with Claude Code