Editor has no 'smart guides' / 'measurement annotations' during drag — user dragging a path sees no live distance to other paths, no 'this is 2mm from the hoop edge' annotation #334
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#334
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 'smartGuide\|measureAnnotation' src/components/editor/returns 0. The editor has no smart guides.A user dragging a path:
The fix is smart guides: when the path is within 2mm of an edge, another path, or a snap target, show a small annotation: "5mm from top edge."
Where
src/components/editor/canvasRenderer.ts(where the guides would be drawn)grep -rn 'smartGuide' src/components/editor/returns 0Suggested fix shape
Render: a faint dashed line from the path to the snap target, with a small label "5.2 mm" near the target.
Use cases:
Severity
Low. The user can verify visually. Power users with precise needs notice.
Discovered by
Gap analysis (2026-10-02) of editor drag affordances.
Related
Shipped as #334 → commit
0306b12on origin/main ("feat(#334): editor Smart Guides — live distance pill between dragged node and snap target").Adds an opt-in "Smart Guides" toggle in the right-panel Snap Settings that draws a faint amber dashed line + "X.X mm" pill between the node being dragged and the active snap target (hoop edge, another path's node, grid intersection). Default off so casual users see no canvas change.
Files touched: types.ts (SnapSettings.showSmartGuides), constants.ts (default false), canvasRenderer.ts (new drawSmartGuide helper), EditorCanvas.tsx (mirrors dragLastSnapTargetRef into snapSource state; gates drawSmartGuide on toggle + live snap state), EditorRightPanel.tsx (ToggleRow). 14 new tests (6 panel + 6 renderer + 2 wiring); full suite 2201 pass.