Editor shows a tiny 'No paths loaded' text in the right panel when paths.length === 0 — the user has no actionable affordance (no 'Draw your first path' prompt, no link to a tutorial, no upload shortcut) #225
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#225
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:137(per the snippet I saw earlier) renders a<div>No paths loaded</div>whenpaths.length === 0. That's the only empty-state affordance in the editor for the path list.A user who opens the editor with an empty design (e.g., from the URL
/editorwithout aloadedDesignId):The canvas itself is empty (no drawing guides, no "click to start" prompt). The toolbar has the path-draw tool active, but a new user wouldn't know that clicking on the canvas draws a path.
grep -rn 'firstPath\|emptyState.*editor' src/components/editor/returns 0 hits.Where
src/components/editor/EditorRightPanel.tsx:137(the "No paths loaded" div)grep -rn 'Draw your first path' src/components/editor/returns 0src/components/editor/EditorCanvas.tsx(no empty state rendering)Suggested fix shape
Two changes:
Canvas: overlay a small "Click to start drawing" hint when the user has been idle for 5+ seconds in path-draw mode (mirrors the Workspace's "Drop an image to get started" hint).
First-run tooltip: when the editor first mounts with no paths and no
loadedDesignId, show a one-time tooltip near the path-draw tool explaining the workflow.Severity
Low. The user can figure out the workflow from the toolbar icons. The empty state is a polish improvement.
Discovered by
Gap analysis (2026-10-02) of editor first-run experience.
Related
EmptyStatecomponent is a reference implementation (per #224).Shipped in commit
bcaeec2(origin/main).Replaced the bare "No paths loaded" string with an icon + headline + body empty-state prompt that names the toolbar location and the next action ("Select the Path tool from the left toolbar, then click on the canvas to draw your first path"). Mirrors the gallery EmptyState shape at a tighter size for the 280px right-panel column.
Files:
src/components/editor/EditorRightPanel.tsx,src/components/editor/EditorRightPanel.test.tsx.Typecheck, lint, 122/122 vitest, and
npm run buildall green locally.