Editor has no real-time stitch-by-stitch preview animation — SequenceState type and DEFAULT_SEQUENCE_STATE const exist, no consumer reads them #164
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#164
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/types.ts:55-60definesSequenceState:src/components/editor/constants.ts:21-26definesDEFAULT_SEQUENCE_STATEwithisPlaying: false, speed: 2, currentPathIndex: 0, progress: 0.A
grep -rn 'sequenceState\|setSequenceState\|SequenceState' src/returns 3 references, all intypes.tsandconstants.ts— no component, hook, or context reads the values. The type and default exist; nothing consumes them.The Home page feature grid advertises:
The "real-time" preview that's actually wired is the color quantization preview (
ColorPreviewin the RightPanel, per #121). The user sees what the k-means quantization will produce. That's NOT a stitch-by-stitch preview. The Home page claim is partially fulfilled (colors update) but the stitch geometry doesn't animate.Where
src/components/editor/types.ts:55-60—SequenceStateinterfacesrc/components/editor/constants.ts:21-26—DEFAULT_SEQUENCE_STATEsrc/pages/Home.tsx(the "Real-time stitch preview" feature card)src/components/editor/,src/pages/Editor.tsx, or anywhere elseSuggested fix shape
Two options:
Implement the animation.
useState<SequenceState>to the Editor, init fromDEFAULT_SEQUENCE_STATE.requestAnimationFrameadvancesprogressandcurrentPathIndexover time atspeedstitches per second.progress(dim the rest). This is the "playback" of the design.Remove the dead types and update the Home page.
SequenceStatefromtypes.tsandDEFAULT_SEQUENCE_STATEfromconstants.ts(if nothing depends on them).Option 1 is the right product move. A stitch-by-stitch preview is a real differentiator for embroidery software and a meaningful UX win. The Editor has the data (the paths with their node positions); the rendering layer is already drawn per-stitch; adding a progress-based filter is small.
Severity
Medium. The feature is advertised but doesn't exist. The user expects to see stitches animate; nothing animates.
Discovered by
Gap analysis (2026-10-02) of editor animation state.
Related