shoc-frontend-new/src/api
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-error.ts feat(work-orders): integrate board list, search and field patch API 2026-07-27 10:19:34 -03:00
api-paths.ts fix(workorders): persist manual POC edits via dedicated POC endpoint (SH-379) 2026-09-18 14:44:06 -03:00
api.ts test(work-orders): clear query devtools overlay in mobile upload journey 2026-09-16 15:15:03 -03:00
handle-api-response.ts refactor(work-orders): pass board-api governance maintainability gate 2026-07-28 09:56:27 -03:00
paginated-response-fields.ts fix(work-orders): paginate board and search without loading the full dataset (SH-165) 2026-08-24 18:38:32 -03:00
upload-form-with-progress.ts fix(work-orders): restore completion media uploads over HTTP/1.1 2026-09-07 15:19:39 -03:00