shoc-frontend-new/src/domain/work-orders
Codex Review Integration 5b0c758a9f fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379)
The UI dropped manual POC edits before they reached the API: the patch
mapper listed pocName/pocPhone/pocNotes as local-only keys and the
slide-over draft excluded them from Save, so the optimistic edit vanished
on refetch and the completion freeze captured the Site contact instead.

- Emit one composite POC op from table patches and route it through a new
  workOrdersApi.updatePoc (PATCH workorders/{id}/poc), reusing the board
  patch row/error contract (409 conflict with currentState, 422 validation).
- Include POC scalars in slide-over edit keys so dirty state and Save carry
  them; site dialog and slide-over now both persist POC edits.
2026-09-18 14:44:06 -03:00
..
api fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
constants fix(work-orders): make date help controls accessible 2026-09-16 16:56:26 -03:00
errors fix(work-orders): show duplicate-WO copy for edit conflicts (SH-375) 2026-09-17 06:15:23 -03:00
mappers fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
mocks feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00
schemas feat(work-orders): integrate board list, search and field patch API 2026-07-27 10:19:34 -03:00
types fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
use-cases fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
utils fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
flag-colors.ts feat(work-orders): expose accessible names on board row flags 2026-08-28 15:06:59 -03:00