shoc-backend/SeaHavenIndustries.Tests
Arthur Bassi f4985378fc
feat(work-orders): add structured service notes POC and vendor fields (#21)
* fix(migrations): make Phase6 completion slide-over migration idempotent

Use IF EXISTS / IF COL_LENGTH guards and explicit EF migration metadata
so partial environments can apply Phase 6 safely.

* feat(locations): add sites options endpoint and vendor contactName

Expose GET /api/locations/sites for the WO create wizard and include
vendor contactName on dropdown responses.

* feat(work-orders): add structured service notes POC and vendor fields

Persist primary/extra services, service notes, free-text POC, and
tech/vendor notes on create/patch/board/detail instead of embedding
them in description.

* fix(work-orders): make stacked tip build for CI quality gates

* fix(work-orders): align stacked services with CI build

* fix(work-orders): keep FlagColor out of structured-notes slice

Remove FlagColor model/API/tests from this PR so schema and EF model stay aligned with the structured-fields migration. FlagColor remains in the follow-on PR that adds its migration.

---------

Co-authored-by: Arthur Bassi <arthur.winiarski.ranger@outlook.com>
2026-07-22 17:36:46 -03:00
..
ConcurrencyExceptionFilterTests.cs feat(phase-0): finalize foundation — authorize, concurrency filter, isolated build 2026-07-02 09:19:28 -03:00
LifecycleStatusMapperTests.cs fix(work-orders): align phase 2 status/type contract to SHOC frontend 2026-07-07 13:11:22 -03:00
SeaHavenIndustries.Tests.csproj fix(work-orders): persist WO identity before staging create audit and locks 2026-07-10 10:49:57 -03:00
SyncFieldMergePolicyTests.cs fix(work-orders): address PR review on sync, audit, lock and mapper 2026-07-02 09:30:05 -03:00
WorkOrderAuditServiceTests.cs fix(work-orders): address PR review on sync, audit, lock and mapper 2026-07-02 09:30:05 -03:00
WorkOrderBoardCancelServiceTests.cs feat(work-orders): add Phase 3 board create and soft cancel API 2026-07-08 10:17:31 -03:00
WorkOrderBoardConcurrencyTests.cs wip: work orders phases 1-7 (isolated from phase 0 foundation) 2026-06-30 10:09:48 -03:00
WorkOrderBoardCreateRelationalTests.cs fix(work-orders): persist WO identity before staging create audit and locks 2026-07-10 10:49:57 -03:00
WorkOrderBoardCreateServiceTests.cs feat(work-orders): add structured service notes POC and vendor fields (#21) 2026-07-22 17:36:46 -03:00
WorkOrderBoardCreateSyncLockTests.cs feat(work-orders): add Phase 3 board create and soft cancel API 2026-07-08 10:17:31 -03:00
WorkOrderBoardMutationRulesTests.cs fix(work-orders): align phase 2 status/type contract to SHOC frontend 2026-07-07 13:11:22 -03:00
WorkOrderBoardSearchTests.cs feat(work-orders): add Phase 4 board search and advanced search API 2026-07-08 14:58:59 -03:00
WorkOrderBoardServiceTests.cs fix(work-orders): align phase 2 status/type contract to SHOC frontend 2026-07-07 13:11:22 -03:00
WorkOrderBoardUpdateServiceTests.cs feat(work-orders): add structured service notes POC and vendor fields (#21) 2026-07-22 17:36:46 -03:00
WorkOrderDerivedFieldsTests.cs fix(work-orders): align phase 2 status/type contract to SHOC frontend 2026-07-07 13:11:22 -03:00
WorkOrderFieldLockServiceTests.cs fix(work-orders): address PR review on sync, audit, lock and mapper 2026-07-02 09:30:05 -03:00
WorkOrderNumberNormalizerTests.cs test(work-orders): add Phase 0 domain unit tests 2026-07-02 09:19:28 -03:00
WorkOrderPhase6Tests.cs feat(work-orders): add structured service notes POC and vendor fields (#21) 2026-07-22 17:36:46 -03:00
WorkOrderPhase7CoexistenceTests.cs test(work-orders): add Phase 7 coexistence coverage 2026-07-13 13:23:07 -03:00
WorkOrderTypeMapperTests.cs test(work-orders): cover FE-aligned mappers and derived field logic 2026-07-02 09:19:28 -03:00
WorkOrderWeekRolledTests.cs fix(work-orders): process all WeekRolled candidates across batches 2026-07-10 11:01:52 -03:00