Show the digitize response stats in the success toast (stitch count, color count, processing time) #127
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#127
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
The service returns
DigitizeStats.totalStitchesandDigitizeStats.colorCountin every digitize response. The client ignores both and derives its own counts fromresponse.stitchObjects. The "Auto-digitize complete!" toast says "ready for editing" — it never tells the user the actual stitch count or color count of the design.Where
src/lib/easystitch-client.ts:54-58src/components/workspace/useWorkspace.ts:690-740(the digitize handler)addToast('success', 'Auto-digitize complete! Design ready for editing.')Suggested fix shape
After
digitize()returns, surface the stats in the success toast:Auto-digitize complete! 4,723 stitches in 5 colors.processingMs: appendTook 3.2s.whenprocessingMs > 1000(skip sub-second noise).The processing-time number is a useful UX signal — the user knows whether a slow digitize is normal for their image or a sign something went wrong.
Discovered by
Gap analysis (2026-10-02) of unreached service response data.
Related
Fixed in
c109a76(pushed to main).Toast now reads:
Auto-digitize complete! 4,723 stitches in 5 colors. Took 3.2s.
processingMs is omitted when <= 1000 so sub-second local digitizes do not print a meaningless "Took 0.1s.".
The derived stitch/color counts elsewhere in state (right-panel Object List row labels) are unchanged — the suggestion explicitly asked not to alter that data flow.
Closes #127.