jatui

createShortcutRegistry

Context-stacked shortcut registry that feeds KeyboardShortcutsOverlay

Shortcuts are registered against contexts; the overlay (?) lists only what can fire right now. Press e to open the editor — a modal context — and j/k/ s stop firing until it closes. Open ? in both states to see the sections change.

Sidebar convention: SIDEBAR_TOGGLE_KEY (Ctrl+\) — Ctrl+B is reserved by Chrome. On this page it already toggles the docs nav, which handles the event first; the registry skips defaultPrevented events, so the demo panel below uses s.

Active contexts (top first): global
  • Write release notes
  • Fix login redirect
  • Review PR #412
  • Ship 0.21.0

Fired

Press j, k, x, e or s.