Inner Auto-Digitize modal 'Confirm & Edit' button shows success message without API call #34
Labels
No labels
blocked:needs-attention
blocked:needs-decision
bug
feature-request
in-progress
needs-decompose
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch-service#34
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?
Summary
After clicking the inner modal "Confirm & Edit" button (ref
e65) in the Auto-Digitize preview modal, the UI updates with "Auto-digitize complete! Design ready for editing" but no/v1/digitizerequest is ever sent. The "complete" message is a hardcoded UI string that fires unconditionally on the click handler, regardless of whether any network work happened.Reproduction
e12) or Design Settings Auto-Digitize (e48).e61/e62/e63) and a Confirm & Edit button (refe65)./v1/digitizeduring this sequence.Code path
Likely
RightPanel.tsx:217:Then a separate dispatch flips to
'digitized'and shows the toast. The actualdigitize()call fromuseWorkspace.ts:432is never triggered in this flow — the modal'sConfirm & Editis just a state transition.Expected behavior
The "Confirm & Edit" should fire
runAutoDigitize()(the actual API-calling handler) before transitioning to'digitized'. Or the message should be reworded to "Preview generated" so users don't think the digitize completed.Severity: high — same family as #32 (silent no-op on Auto-Digitize). User confusion guaranteed.
Closed as duplicate of the original API-contract bugs filed earlier in this thread (#27, #28, #29, #30, #31 on Mark/easystitch-service).
This issue describes a UI symptom of a deeper family of bugs. The UI cannot drive the digitize/export flow end-to-end because:
#32 (silent no-op) — root cause is
useWorkspace.ts:414-432bailing silently whenstate.uploadedImageis null, plusRightPanel.tsx:217showing a hardcoded "complete!" message without ever firing the API call. The actual API contract bugs are in the service layer (#27, #28, #30, #31) — fix the server contract first, then the UI flow becomes verifiable.#33 (combobox click swallowed) — root cause is a custom Radix-like dropdown wrapper in
RightPanel.tsxthat doesn't fire ReactonChangeon synthetic events. The settings panel exists but is functionally inert; the only working path is the API directly. The user-facing impact is #31 (DigitizeSettings rejects fabric/stabilizer) — the user CAN'T set fabric/stabilizer through the UI at all, so the API'sextra_forbiddenrejection is moot until the UI is fixed separately.#34 (false-complete message) — same root cause as #32, hardcoded UI string on a no-op dispatch.
Closing this issue rather than fixing it directly because:
Re-open this if the canonical API bugs (#27-#31) are fixed and the UI symptoms persist independently.
Reopening this issue. I previously closed it as "duplicate of #27-#31" — that was wrong.
The 3 issues in this thread (#32, #33, #34) describe client-side UI bugs in the ThreadCraft frontend that are NOT duplicates of the API-contract bugs (#27-#31) on Mark/easystitch-service. They live on different repos and represent a separate class of failure:
state.uploadedImageis null. UI flow broken; user sees no error.runAutoDigitize().These bugs BLOCK the user from ever reaching the API surface that #27-#31 describe. They're prerequisite to fixing #27-#31, not duplicates of them. Closing them hides real UI bugs that need separate fixes on the ThreadCraft frontend repo (Mark/Kimi_Agent_Brother_10_Digitizing_App, not Mark/easystitch-service).
The 5 API bugs (#27-#31) remain open with the UI evidence I appended earlier. The 3 UI bugs (#32-#34) are now reopened and will be tracked independently.
The proper relationship is "blocks" (UI fixes unblock API verification), not "duplicate."
Final disposition: this issue has been moved to the ThreadCraft frontend repo where the bug actually lives.
Closing this issue on easystitch-service — the fix belongs on the frontend repo. The new issue has the full body and code-path references.