Skip to content

feat(dashboard): keyboard project switcher popup (Ctrl+Alt+P)#31

Merged
DannyNs merged 2 commits intomainfrom
feature/keyboard-project-switcher
Mar 19, 2026
Merged

feat(dashboard): keyboard project switcher popup (Ctrl+Alt+P)#31
DannyNs merged 2 commits intomainfrom
feature/keyboard-project-switcher

Conversation

@DannyNs
Copy link
Collaborator

@DannyNs DannyNs commented Mar 19, 2026

Summary

  • Added a VS Code-style quick-pick popup for switching projects via keyboard
  • Triggered by Ctrl+Alt+P (customizable via Keymap settings)
  • Navigate with Arrow Up/Down, select with Enter, dismiss with Escape or click outside
  • Active project marked with a checkmark
  • Registered as nav:project-switcher in the KeymapRegistry

Changes

  • src/packages/shared-assets/keymap-registry.js — registered nav:project-switcher binding
  • src/public/app.js — popup open/close/navigation logic
  • src/public/style.css — popup styling (glassmorphic overlay, slide-in animation, accent highlight)

Test plan

  • Press Ctrl+Alt+P — popup appears with all projects listed
  • Arrow up/down navigates the list, active item highlighted
  • Enter switches to the selected project and closes popup
  • Escape closes without switching
  • Click outside overlay closes popup
  • Active project shows checkmark
  • Binding is visible and customizable in Keymap settings page

🤖 Generated with Claude Code

DannyNs added 2 commits March 19, 2026 12:53
Press Ctrl+Alt+P to open a VS Code-style quick-pick popup listing all
registered projects. Navigate with arrow keys, select with Enter,
dismiss with Escape or click outside. The active project is marked
with a checkmark. Registered as nav:project-switcher in the keymap
registry so it's customizable via the Keymap settings page.
@DannyNs DannyNs merged commit 3e25256 into main Mar 19, 2026
1 check passed
@DannyNs DannyNs deleted the feature/keyboard-project-switcher branch March 19, 2026 11:56
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