mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-02 09:43:12 +00:00
1.1 KiB
1.1 KiB
Summary
- Adds an editable COMPLETED DATE column to the Work Orders board table (after COMP DOC).
- Wires
completedDatethrough board row typing, table-row mapping, and PATCHfield: "completedDate". - Inline create keeps an empty placeholder (date is not set at creation).
Scope
In
completedDateonWorkOrderBoardRowApi/WorkOrderTableRow- Column +
DateCellon board rows - Scalar board patch expansion for
completedDate - Unit test for column order and patch op
Out (follow-up PRs)
- Comp Doc dialog changes, closability gates, uplift, severity, filters, wizard
API / BE
- Contract assumed: PATCH
/workorders/{id}/boardwithfield: "completedDate"already supported - Confirm GET
/boardand/board/searchrows includecompletedDate(seedocs/work-orders/pending-be-contract.md) - Blocked on BE: none for FE wiring (tolerates missing GET field as empty string)
Test plan
- Board shows COMPLETED DATE column after COMP DOC
- Editing the cell PATCHes
completedDate - Inline create row shows placeholder for completed date
npm run verifygreen locally
Base
- Base branch:
dev