Editor header shows filename but no stitch count or path count — the user can't see totals without switching back to the Workspace #171
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#171
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/EditorHeader.tsxdisplays the filename and breadcrumb, but no aggregate metrics. The Workspace's success toast (post #127) shows "X stitches in Y colors" after auto-digitize, but once the user is in the Editor refining paths, the running totals are invisible.The Editor's
EditorRightPanel.tsxshows per-path stitch type, density, and stitch count, but no overall design totals. A user who is editing wants to see:Where
src/components/editor/EditorHeader.tsx— no metrics displaySuggested fix shape
Add a small status line to the Editor header, between the breadcrumb and the action buttons. Compute the totals from the current
pathsstate:Render:
The Workspace already has aggregate stats in the post-digitize success toast. The Editor's header is the natural place for the same numbers when the user is iterating.
Severity
Low. The user can switch back to the Workspace to see totals, but it's an extra click.
Discovered by
Gap analysis (2026-10-02) of editor affordances.
Related
Fixed in commit
1fabe84on origin/main.src/components/editor/EditorHeader.tsxnow renders an aggregate status line in the center of the header:{paths} paths · {stitches} stitches · {stops} stopspaths.lengthp.nodes.length(approximate stitch count, mirrors Workspace'stotalStitches)threadColorvalues across all paths (the colors the embroidery machine will pause to swap)Hidden when paths is empty. Singular/plural aware, thousands-separated. Added 5 unit tests in
src/components/editor/EditorHeader.test.tsx. tsc + eslint + 748/748 vitest passing locally; the 3 failures in EditorCanvas.test.tsx are pre-existing on origin/main (mouse-event fixtures that #167's pointer-event conversion didn't update) and unrelated to this change.Closing.