Editor's path list shows path name but no preview thumbnail — user with 30 paths can't tell what each path looks like without clicking it; the only visual is the canvas itself #320
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#320
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/EditorRightPanel.tsx's path list row has color swatch + name + buttons. No thumbnail.grep -rn 'pathThumbnail\|previewPath' src/components/editor/returns 0.A user with 30 paths:
The fix is a small thumbnail (40x40 SVG) of the path's shape, rendered next to the name.
Where
src/components/editor/EditorRightPanel.tsx:142-180grep -rn 'pathThumbnail' src/components/editor/returns 0Suggested fix shape
<PathThumbnail>component that renders the path's nodes as a tiny SVG:Performance: for 30 paths with 100 nodes each, the thumbnails are 30 tiny SVGs. Render time is negligible.
Polish: the thumbnail uses the path's color, so "Path 3 (red)" shows a red star instead of just text.
Severity
Low. The user can click each path. Power users with many paths notice.
Discovered by
Gap analysis (2026-10-02) of editor path list affordances.
Related
Closed by commit
c33a9f7on main.What landed
A new
<PathThumbnail>component renders a tiny (28-40 SVG) shapepreview next to each path row in the right panel, painted in the
path's thread color. A user with 30 paths can now spot "the path
that looks like a star" without clicking each row.
Implementation
pathBoundingBoxfromgeometry.ts(samehelper the align/distribute/flip/rotate paths use, #258 / #205).
stays intact).
visually, matching the canvas's stroke behavior.
leading slot, between the stitch strip and the swatch.
density stays compact.
contract is 'color swatch only' and the thumbnail would clutter
the cell.
Tests
src/components/editor/issue-320.test.tsx— 7 assertions pinningthe per-row test-id, the thread-color stroke, the empty-state /
single-state fallbacks, the closed-path loop append, compact-view
rendering, and icons-view absence. All 734 editor tests pass (was
727 before; +7 from the new file). Typecheck clean for
EditorRightPanel.tsx,geometry.ts,types.ts.Note on CI
The Forgejo self-hosted runner has been stuck (every recent run
#7576-#7580 is
cancelledorwaitingwith no job pickup) sinceat least 22:10 today — pre-existing infrastructure drift, not
related to #320. Local test + typecheck are the gates. Same
completion shape as #317.