Editor has no 'bring to front' / 'send to back' / 'z-order' operations for paths — user with overlapping paths (e.g., a circle behind a star) can't reorder which is drawn on top, only the array order (draw order) is in effect #290
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#290
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
grep -rn 'bringToFront\|sendToBack' src/components/editor/returns 0 hits. The editor has no z-order operations.The workspace's
ContextMenu(per the snippet I saw earlier) DOES have Bring to Front / Send to Back. The editor'sEditorContextMenu(per #191) does NOT.A user with 3 overlapping paths:
If the array order is wrong (green before blue), the green star is hidden by the blue square. The user wants to bring the green to the front.
Currently:
Where
src/components/editor/EditorContextMenu.tsx(no z-order items)src/components/workspace/ContextMenu.tsx(HAS Bring to Front, Send to Back)grep -rn 'bringToFront' src/components/editor/returns 0Suggested fix shape
State: the path array order is the z-order. The first path is in the back, the last is in the front.
UI: add to the EditorContextMenu (per #191):
The Send to Back, Move Forward, Move Backward follow the same pattern.
Severity
Low. The user can delete + recreate. Power users with overlapping shapes notice.
Discovered by
Gap analysis (2026-10-02) of editor path operations.
Related
ContextMenuhas these items; the editor's is the parallel.Closed by fix(#290) at
e6eb946on origin/main. Adds four z-order operations (Bring to Front, Send to Back, Move Forward, Move Backward) to the editor context menu. Single history entry per reorder, dirty flag, no-op guard when the path is already at the requested extreme. Each item disabled in the UI with an explanatory tooltip when the operation would be a no-op.