Commit graph

5 commits

Author SHA1 Message Date
arthur.bassi
118d2042e6 fix(work-orders): harden CompDoc state, persist rollback, and close gate 2026-08-05 10:07:34 -03:00
arthur.bassi
346760b973 fix(work-orders): harden CompDoc generate order and media abort ownership
Session owns AbortControllers for retry/cancel; refresh board state on Generate
prerequisite failures; remove dead EditWorkorder completedDate mapper.
2026-08-04 16:32:40 -03:00
Alexandre Brandizzi
c0d5e556f2 fix(work-orders): persist date before Generate and fix media retry cancel
Keep CompDoc from marking Generated until completedDate is saved.
Bind retry AbortControllers to the uploader cancel map with upsert-by-localId.
2026-08-04 15:10:37 -03:00
Alexandre Brandizzi
e7fb8d6122 fix(work-orders): persist completedDate via board and media sh-116
leave EditWorkorder for completedDate; await mutations before draft saved
toast; upload-then-categorize with MIME allowlist, progress, cancel, retry.
2026-08-04 15:10:37 -03:00
Arthur Bassi
5ea79ce8d1 fix(work-orders): use completedDate in CompDoc without lifecycle Completed 2026-08-04 15:10:37 -03:00