Editor exposes 12+ keyboard shortcuts (n/a/d/c/p/s/m/z tool letters, Ctrl+Z/Y/A, Tab, Enter, Escape, Space, Delete/Backspace) but Help page documents zero #178
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
src/components/editor/useKeyboardShortcuts.ts:54-65registers 8 single-letter tool shortcuts (n→select_nodes,a→add_node,d→delete_node,c→convert_node,p→draw_path,s→scissors,m→smooth,z→zoom) plus:Ctrl+Z/Ctrl+Shift+Z(undo / redo)Ctrl+A(select all)Tab(cycle nodes)Enter(finish path draw)Escape(cancel)Space(zoom mode toggle)Delete/Backspace(delete selection)src/pages/Help.tsxhas zero documentation of any of these.grep -n 'Ctrl\|shortcut\|keyboard' src/pages/Help.tsxreturns no matches.A power user who discovers the editor's shortcuts has no reference. A new user who wants to learn the shortcuts has no help page entry. The shortcuts exist; the documentation doesn't.
Where
src/components/editor/useKeyboardShortcuts.ts(12+ bindings)src/pages/Help.tsx(no keyboard section)Suggested fix shape
Add a "Keyboard shortcuts" section to the Help page that lists the editor's bindings in a two-column layout (key | action):
The same table (or a smaller subset) should be surfaced in the EditorHeader as a "?" help icon that opens a popover with the shortcuts.
Severity
Low. The shortcuts are wired; the user can discover them by hovering the toolbar (which shows them in the tooltips per the LeftToolbar) or by reading the source. Documentation would help.
Discovered by
Gap analysis (2026-10-02) of help page coverage.
Related
Fixed in commit
c3c9e8e6on origin/main. Added an "Editor Keyboard Shortcuts" Reference section to the Help page that lists every binding fromsrc/components/editor/useKeyboardShortcuts.ts: 8 tool letters (n/a/d/c/p/s/m/z), history (Ctrl+Z, Ctrl+Shift+Z), selection (Ctrl+A, Delete/Backspace), navigation (Tab, Space), and path-draw (Enter, Escape). Renders as a kbd/action two-column grid that collapses to single-column under the md breakpoint, mirroring the visual style of the workspace Help modal.Verification:
tsc -bexits 0eslint src/pages/Help.tsxexits 0vitest run src/pages/Help.test.tsxpasses 15/15Note: Forgejo Actions CI run #7450 for this commit is
status=waitingwith no runner claiming it — this matches the broken-runner pattern documented in the repo (all 20+ recent runs showcancelledorwaiting). The change itself is a docs-only patch that passed local type-check and lint, so the green gate is just blocked by the runner, not the work.