Editor has no mouse position readout — user designing precise shapes has no way to read the cursor's canvas coordinates, even though the state is tracked #221
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#221
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.tsxtracksmousePos: Point(per the prop type andsetMousePoscall). The state is updated on every canvas pointer move. The header (EditorHeader.tsx) shows paths/stitches/stops counts but does NOT show the current mouse position.A user designing a precise shape (e.g., a 100mm × 100mm square with corners at exactly (0,0), (100,0), (100,100), (0,100)):
Most vector editors show mouse coordinates in the status bar at the bottom of the canvas. The convention is "X, Y" in the document units (mm for this app, per
MM_TO_PX).Where
src/components/editor/EditorCanvas.tsx(set on pointer move)src/components/editor/EditorHeader.tsx(no position readout)src/components/editor/EditorThreadBar.tsx(the bottom bar shows thread stops, not cursor position)src/components/editor/constants.ts(the conversion)Suggested fix shape
Add a small position readout to the bottom of the editor (next to or after the thread bar):
Plumb
mousePosto the editor page (it's already in the canvas's state) and pass to a new bottom position bar or to the existing thread bar.Optionally: also show "snapped to: nearest node 0.8mm" when the snap indicator is active.
Severity
Low. The user can click + read. Power users with precise work notice.
Discovered by
Gap analysis (2026-10-02) of editor status bar.
Related
Shipped in commit
621351don main.Added
src/components/editor/EditorPositionBar.tsx(small bottom-bar component that takesmousePos: Pointand rendersX mm, Y mmrounded to integers), wired it intosrc/pages/Editor.tsxjust below the existing thread bar (so both bottom-bar surfaces look like one panel), and added a 4-test file atsrc/components/editor/EditorPositionBar.test.tsx. Full suite is green (1088 passing; the +4 from this card) andtsc -b+eslinton the touched files are clean.No snap-distance companion readout was added in this pass — happy to follow up if you want the second half ("snapped to: nearest node 0.8 mm") wired up against the snap-indicator state.