Editor has no right-click context menu on a path or node — the right-click affordance for duplicate, delete, fit-to-view, change-color, etc. only lives in the right panel and keyboard shortcuts #236
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#236
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/EditorCanvas.tsxhas noonContextMenuhandler.grep -n 'onContextMenu' src/components/editor/returns 0 hits. Right-clicking on a path or node does nothing (the browser's default context menu appears, but it's not customized).src/components/editor/EditorRightPanel.tsx's path list rows have the per-row actions (Duplicate, Delete, Fit to View, Change Color, Toggle Visibility). All the same actions also have keyboard shortcuts (per the various #176/#178 family). But the canvas itself — where the user is actively drawing/editing — has no right-click menu.A user right-clicking a path:
The right-click is the standard "I'm doing something specific to this thing" affordance in any vector editor. Figma, Illustrator, Inkscape all have it.
Where
src/components/editor/EditorCanvas.tsx(noonContextMenu)src/components/editor/EditorRightPanel.tsx(has the actions, but requires mouse movement)src/components/editor/useKeyboardShortcuts.ts(has Cmd+D, etc., per the kanban landings)Suggested fix shape
Add an
onContextMenuhandler to the canvas that:showContextMenu(type, target)opens a<ContextMenu>(shadcn) ate.clientX, e.clientYwith the actions:The menu items dispatch the same actions as the right panel buttons and keyboard shortcuts. The menu is dismissable on click-outside or Esc.
Severity
Low. The user can use the right panel or keyboard shortcuts. Right-click is a power-user affordance.
Discovered by
Gap analysis (2026-10-02) of editor right-click affordances.
Related