You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1][doc-drift] FR-2.2.4: Ctrl+. cancel shortcut is not wired up #282
DESIGN_REQUIREMENTS §FR-2.2.4 acceptance specifies Ctrl+. as the cancel shortcut.
Problem
useKeyboardShortcuts.ts does not register Ctrl+. anywhere. The toolbar Cancel button works via the generation-counter-only path (see edit-f1), but no keyboard binding exists.
Files
src/hooks/useKeyboardShortcuts.ts
src/components/common/ShortcutsDialog.tsx (Shortcuts dialog lists the wrong mappings)
Repro
Run a SELECT SLEEP(60); query.
Press Ctrl+. — nothing happens.
Expected
Ctrl+. cancels the in-flight query (assuming edit-f1 lands first).
Proposed fix
Scope S post-edit-f1. Add Ctrl+. to useKeyboardShortcuts.ts → handler → resultStore.cancelActiveQuery(). List in ShortcutsDialog.
Acceptance
Pressing Ctrl+. during a query triggers cancel. Shortcuts dialog shows the binding.
Activity
fix(editor): cancel from the keyboard, and stop a failed cancel clobb…