githubnext/chopinPublic

Let's compose rich plans together

Add global keyboard shortcuts with tooltip hints and a shortcuts sheet

One pure registry (apps/web/src/shortcuts.ts) defines each chord, its label,
and its platform-aware keycaps. Handlers, tooltip hints, sidebar row hints,
and the sheet all read from it. The listener loads after first paint and
ignores single keys while typing, prevented events, and open modals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
0474a4ePatch
Parent46643d1
12 files changed+638-6
StackedSplit
apps/web/src/global-shortcuts.ts+29 −0
apps/web/src/icon-tooltip.css+8 −0
apps/web/src/icon-tooltip.tsx+1 −0
apps/web/src/keyboard-shortcuts-dialog.tsx+63 −0
apps/web/src/navigation-chrome.test.ts+13 −6
apps/web/src/navigation-shell.tsx+38 −0
apps/web/src/navigation.css+81 −0
apps/web/src/project-sidebar.tsx+20 −0
apps/web/src/shortcuts.test.ts+112 −0
apps/web/src/shortcuts.ts+138 −0
apps/web/src/workspace.tsx+20 −0
e2e/keyboard-shortcuts.e2e.ts+115 −0