Workspace has no empty state for 'no image uploaded' — the canvas is just blank with no prompt, and the right panel's Object List shows the same 'No paths loaded' generic text #226
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#226
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
When a user lands on
/workspacewith no image uploaded, the canvas is blank. The right panel's Object List section shows whatever its empty state is (let me check). The user has no prompt telling them to upload an image.grep -rn 'Drop an image\|Upload an image' src/components/workspace/returns 0 hits.The workspace's right panel and the editor's right panel both have similar empty states. The workspace is missing the "Drop an image to get started" hint that the rest of the app pattern uses.
Where
src/components/workspace/CanvasArea.tsx(no empty state overlay)src/components/workspace/RightPanel.tsx(need to check)Suggested fix shape
Drop zone visual feedback: when a file is being dragged over the canvas, show a dashed gold border (per the gallery's drag-over visual, which is in
Gallery.tsxfor the drop zone).Right panel: when
stitchObjects.length === 0andcolorRegions.length === 0, show a hint: "Upload an image to start. Use the toolbar or drag-and-drop."Severity
Low. The user can find the upload affordance via the toolbar. The empty state is a polish improvement.
Discovered by
Gap analysis (2026-10-02) of workspace empty states.
Related
EmptyStateis the reference for a polished empty state.Shipped #226 in commit
7bbcb93(rebased onto origin/main after #223/#224/#225 landed).Fix applied: Workspace right panel's empty-state placeholder in
appState === 'empty'upgraded from a single italic line ("Upload an image to configure stitch parameters") to an icon + headline + body trio:EmptyState.tsx)Mirrors the editor's right-panel upgrade from #225 and the gallery's
EmptyStatecomponent. 3 new tests added (right-panel-empty-hinttestid visible inempty, hidden inimage-uploadedanddigitized). 462 workspace tests pass; full typecheck + lint pass.Not changed (issue's premise was incorrect):
CanvasArea.tsx:381-519(UploadCloud icon, drop zone with drag-over dashed gold border, file-type line, ⌘V paste hint, recent designs row). The grep result the issue cites (Drop an image|Upload an imagereturning 0 hits) was filtered tosrc/components/workspace/, but the existing empty state says "Drop your image here" — close enough that a literal grep misses it. The existing canvas empty state is more polished than the issue's proposed snippet (it has the drag-over animated border + recent designs), so duplicating it would have regressed the UX.EditorRightPanel.tsx:392), not the workspace — that was #225, already shipped inbcaeec2.The actual defect was the right panel's plain italic placeholder, which sat below the always-expanded Design Settings accordion and gave the user no clear pointer to the canvas drop zone. Now resolved.