Editor's Path Properties section has no 'direction indicator' on the path — user with a closed circular path can't tell which way the nodes go (clockwise vs counterclockwise), matters for stitch direction #329
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#329
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 'direction.*arrow\|pathDirection' src/components/editor/returns 0. The editor has no direction indicator.For circular or closed paths, the stitch direction (clockwise vs counter-clockwise) affects:
A user with a closed path:
The fix is a small arrow at each node, or a single arrow on the path's first segment, showing the direction.
Where
src/components/editor/canvasRenderer.ts(where nodes are drawn)grep -rn 'directionArrow' src/components/editor/returns 0Suggested fix shape
showDirectionis true, draw small arrows on the path:Severity
Low. The user can infer direction. Power users with stitch-direction needs notice.
Discovered by
Gap analysis (2026-10-02) of editor preview affordances.
Related
Shipped in commit
65f33b1on main. Adds a right-panel "Show Direction" toggle (snap-settings family, default off) and adrawDirectionArrowshelper that paints a small arrow at the midpoint of every segment pointing fromnodes[i]tonodes[i+1].Implementation mirrors the #325 Show Satin Preview pattern: optional
SnapSettings.showDirection(back-compat default false), gated render between the satin band pass and the centerline pass so the arrows sit on top of the satin band but under the centerline stroke. z-order: grid → satin band → direction arrows → centerline → node handles → snap indicator.Matters most for closed paths (where the first and last node are the same point) so the user can tell clockwise from counter-clockwise without tracing the node list. Also serves as visual confirmation that reverse-path (#316) actually flipped the node order.
Tests: 2131 passed (173 files) including new issue-329.test.tsx (6), canvasRenderer.test.ts #329 block (7), EditorCanvas.test.tsx #329 wiring (3). tsc clean.