Skip to content

[P1][doc-drift] FR-2.2.4: Ctrl+. cancel shortcut is not wired up #282

Closed

Description

@EVWorth

Context

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

  1. Run a SELECT SLEEP(60); query.
  2. 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.

Needs human verify

No.

Activity

  1. added
    audit
    severity/p1
    kind/doc-drift
    area/editor
    on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/editorauditkind/doc-driftseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions