mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-03 12:43:24 +00:00
1.5 KiB
1.5 KiB
Jira
QA residual
- P0 wizard fixed: Type optional (default PM); WO# alphanumeric / SH provisional (not digits-only).
- P1: COL_HELP tooltips, Scheduled-requires-date — follow-up.
Summary
- Add SEV 1–5 domain field on board row/create/patch and Type cell modal for Emergency/Reactive.
- Wizard gates: required WO# (alphanumeric/SH ok), Type optional (defaults PM), severity when E/R, POC name/phone on step 2 with error UX.
Scope
In
severityon WorkOrderBoardRowApi / create payload / editable field / table row / wizard draft- Type cell popover + TypeSeverityModal + SeverityBadge
- Wizard step1/step2 validation + footer attempt-continue errors
- Unit tests for canContinue* and severity patch mapping
Out (follow-up PRs)
- Advanced filter severity facet (PR5)
- Uplift UI, Completed Date column, multi-POC, SH auto-numbering beyond wizard gate
API / BE
- Contract assumed:
severityon GET board/search row, POST create, and PATCH fieldseverity - Blocked on BE: none for FE wiring; 422 if severity missing for E/R should be handled by BE
Test plan
- Board: pick Emergency/Reactive → severity modal required; badge shows SEV
- Wizard: cannot continue step1 without WO#; E/R without severity; step2 without POC
npm run verifygreen locally
Base
- Base branch:
dev