Workspace has no Save Session button — exported designs can't be reloaded #63
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#63
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?
Workspace has no Save Session button — exported designs can't be reloaded
Repo: Mark/Kimi_Agent_Brother_10_Digitizing_App
Severity: Medium
Found: 2026-09-10, webui usability shakedown
Problem
After digitizing and exporting a PES from the Workspace, there is no way to save the
working session back into the Gallery. Two failures observed:
Workspace (
src/pages/Workspace.tsx) has no Save action. The header (AppHeader)exposes only
onExport— noonSave/saveCurrent/addDesignhook. TheuseWorkspace.tshook (
handleFileUpload) dispatchesSET_IMAGE+SET_DESIGN_SETTINGto in-memory statebut never calls
saveDesignsfromsrc/components/gallery/data.ts. Designs only enterstate during the upload, and the Workspace state is wiped on reload.
Gallery's "Upload Design" is a mock.
src/pages/Gallery.tsx:140-154(
handleUploadDesign) synthesizes a fake Design with randomstitchCountand a generatedfilename — it never reads the dropped/selected file:
Reproduction
pnpm devin repo root (Vite on:5173, proxy tolocalhost:8080)./workspace, upload any image, run Auto-Digitize, export PES →file lands in
~/Downloads/./gallery.random
uploaded_design_<NNN>.pesfilename appears, regardless of any file you mayor may not have selected.
Suggested fix
Save to Gallerybutton in the Workspace header (AppHeader), wired to a newsaveCurrentDesignhandler inuseWorkspace.tsthat callssaveDesigns(or a newaddDesign(design)if you don't want to overwrite the whole list).handleUploadDesigninGallery.tsxwith a real file input + read,parse PES/DST header to populate
stitchCount/threadCount, and persist viasaveDesigns.Acceptance
appear in
/galleryand survives page reload.accurate stitchCount and threadCount, not random values.
appState='digitizing'#102