Commit graph

488 commits

Author SHA1 Message Date
Arthur Bassi
cd092b3137
Merge pull request #131 from Sea-Haven-Industries/feat/sh-115-completed-selective-lock
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
feat(work-orders): lock completed work orders with confirmation (SH-115)
2026-08-24 13:34:07 -03:00
Arthur Bassi
17ad0e5098 fix(work-orders): extract completed vendor dialog to pass maintainability 2026-08-24 12:14:21 -03:00
Arthur Bassi
eeb415951c fix(work-orders): restore CI build and visual baselines
Fix the wizard TypeScript props and refresh Work Orders screenshots from CI.
2026-08-24 12:07:02 -03:00
Arthur Bassi
d9d6334f57 fix(work-orders): lock completed status and legacy detail
Keep Flag, comments, and extra docs writable after completion, and hide the completed status menu.
2026-08-24 12:06:42 -03:00
Arthur Bassi
260fe6c654 fix(work-orders): drop slide-over edit actions after complete
Exit edit mode and refuse core Save when status becomes Completed; hide the footer even if unsaved.
2026-08-24 12:06:42 -03:00
Arthur Bassi
18d80a3c47 feat(work-orders): lock completed work orders with confirmation (SH-115)
Keep flag, comments, and extra docs mutable; require Mark as Complete confirmation.
2026-08-24 12:06:40 -03:00
Arthur Bassi
c2a8cf28d6
Merge pull request #128 from Sea-Haven-Industries/feat/sh-244-advanced-filter-fields
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
feat(work-orders): add SH-244 advanced filter fields (severity, indicators, service, completion doc)
2026-08-24 11:21:21 -03:00
Arthur Bassi
737a52c4aa test(work-orders): wait for board heading before visual error alert 2026-08-24 10:50:38 -03:00
Arthur Bassi
54797f13ef test(work-orders): wait for visual error alert before asserting 2026-08-24 10:09:30 -03:00
Arthur Bassi
abc14ed8f9 fix(work-orders): unfreeze visual-spec timers for board error retry
Use setFixedTime so React Query can finish the 500 retry and render the alert.
2026-08-21 13:32:58 -03:00
Arthur Bassi
b50ebcff42 test(work-orders): refresh visual baselines after advanced filters 2026-08-21 13:24:38 -03:00
Arthur Bassi
9c355fb49e
Merge branch 'dev' into feat/sh-244-advanced-filter-fields 2026-08-21 13:05:19 -03:00
Arthur Bassi
bb98294867
Merge pull request #129 from Sea-Haven-Industries/feat/work-orders-visual-regression
Some checks failed
CI / ci (push) Has been cancelled
CI / governance (push) Has been cancelled
CI / visual-regression (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
ci(work-orders): SH-264 add board visual regression to CI
2026-08-21 13:03:34 -03:00
Arthur Bassi
f0dd32edd4
Merge branch 'dev' into feat/work-orders-visual-regression 2026-08-21 12:57:24 -03:00
Arthur Bassi
eca04bcaa8 chore(work-orders): merge origin/dev into advanced filter branch
Keep SH-244 query-param tests alongside the WO type filter union from dev.
2026-08-21 12:35:57 -03:00
Arthur Bassi
1e0f0b7acc
Merge pull request #126 from Sea-Haven-Industries/cursor/sh-243-wo-type-filter-multiselect
feat(work-orders): add multi-select All types filter (SH-243)
2026-08-21 12:33:07 -03:00
Arthur Bassi
07ecb4e0ab fix(work-orders): expose advanced filter pill pressed state
Keep data-selected for AAP; aria-pressed tracks the same toggle for assistive tech.
2026-08-21 12:09:31 -03:00
Arthur Bassi
1ed993a353
fix: Update e2e/work-orders/type-filter.spec.ts
Co-authored-by: Alexandre Brandizzi <alex_brandizzi@hotmail.com>
2026-08-21 11:47:18 -03:00
Arthur Bassi
27a5c4eaf2 test(work-orders): refresh visual baselines after board layout changes
Regenerate Docker snapshots against current week/day chrome and pagination.
2026-08-20 23:48:27 -03:00
Arthur Bassi
9d39d5bb14 ci(work-orders): add Playwright visual regression to CI
Run board screenshots in the existing Docker visual job with vendors.
2026-08-20 23:24:14 -03:00
Arthur Bassi
776d3ebd9c
Merge branch 'dev' into feat/sh-244-advanced-filter-fields 2026-08-20 22:07:10 -03:00
Arthur Bassi
1d9f3c3637 test(work-orders): drop Jira keys from advanced filter test names
Keep ticket identity on the branch and PR, not in Playwright or Vitest titles.
2026-08-20 22:02:59 -03:00
Arthur Bassi
723f84e80a
Merge branch 'dev' into cursor/sh-243-wo-type-filter-multiselect 2026-08-20 22:00:08 -03:00
Arthur Bassi
80fd30fff9 fix(work-orders): restore type filter e2e menu test id
Put wo-type-filter-menu back on the MUI Menu list so the union journey can find type rows.
2026-08-20 21:54:01 -03:00
Alexandre Brandizzi
c9f4adba08
Merge pull request #127 from Sea-Haven-Industries/fix/ab/sh-256-258-vendor-ux
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / vendor-visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
fix(vendors): correct validation, notes, and technician removal (SH-256, SH-257, SH-258)
2026-08-20 21:09:34 -03:00
Codex Review Integration
f0f3485bee fix(vendors): preserve status during roster edits 2026-08-20 20:59:27 -03:00
Codex Review Integration
146491fafb fix(vendors): persist technician removal 2026-08-20 20:43:52 -03:00
Arthur Bassi
efefcf9270 fix(work-orders): give type filter an accessible menu keyboard contract
Keep aria-checked off shared checkbox buttons so dispatcher rows stay ordinary buttons.
2026-08-20 18:47:23 -03:00
Arthur Bassi
93ab14abf3 feat(work-orders): add SH-244 advanced filter fields and AAP indicator styles 2026-08-20 18:34:29 -03:00
Alexandre Brandizzi
35bfb9b7c8 fix(vendors): correct roster validation and editing 2026-08-20 18:25:34 -03:00
Arthur Bassi
919748a274 fix(work-orders): expose type filter selection state to AT
Menu roles and aria-checked match the multi-select. Trigger uses AAP Tag icon.
2026-08-20 17:20:10 -03:00
Arthur Bassi
f522c46911 chore(work-orders): merge origin/dev into SH-243 type filter branch 2026-08-20 16:43:26 -03:00
Arthur Bassi
e8efde5fbc feat(work-orders): add multi-select All types filter (SH-243)
Dispatchers can select several WO types so the board shows the union of matching rows.
2026-08-20 16:32:30 -03:00
Arthur Bassi
19a54e38c6
Merge pull request #125 from Sea-Haven-Industries/feat/sh-242-dispatcher-filter-title
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / vendor-visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
feat(work-orders): relocate dispatcher filter under the title (SH-242)
2026-08-20 16:08:16 -03:00
Arthur Bassi
8614f9415c feat(work-orders): relocate dispatcher filter under the title (SH-242)
Place dispatcher scoping under the Work Orders heading as a plain
trigger so the week/day bar stays boxed, without changing board params.
2026-08-20 15:53:03 -03:00
Arthur Bassi
c101110148
Merge pull request #119 from Sea-Haven-Industries/fix/sh-183-closability-company-not-tech
fix(work-orders): require vendor company not technician to complete (SH-183)
2026-08-20 15:51:04 -03:00
Arthur Bassi
9a347a67fb test(work-orders): pin vendor PATCH producer row onto closability 2026-08-20 15:39:39 -03:00
Arthur Bassi
d8da3a5048 test(work-orders): pin vendor PATCH response as live company assignment
Round-trip: board PATCH emits vendorId only; a Pending response keeps Completed
unblocked, while a leftover Refused response still raises Missing: Company.
2026-08-20 15:09:35 -03:00
Arthur Bassi
972e5913f3 fix(work-orders): treat vendor status overlay as local-only on board patch
Board PATCH persists vendorId only. primaryDispatchStatus is optimistic until
the producer returns a live dispatch after vendor save.
2026-08-20 14:47:04 -03:00
Arthur Bassi
493104c56d fix(work-orders): narrow vendor patch type for inline drafts
Vendor assignment patch must not carry table-row status, which blocked tsc
because Canceled is not a draft status.
2026-08-20 14:29:57 -03:00
Arthur Bassi
4c9f8b7d81 fix(work-orders): treat vendor save as a live company assignment
Clear leftover primary dispatch status on vendor patch so Completed is not
blocked after a new company is chosen. Keep Jira keys out of source comments.
2026-08-20 14:17:20 -03:00
Arthur Bassi
72de2ea78d
Merge branch 'dev' into fix/sh-183-closability-company-not-tech 2026-08-20 13:40:53 -03:00
Alexandre Brandizzi
58bdd6bffa
Merge pull request #117 from Sea-Haven-Industries/feat/sh-249-fe-trades
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / vendor-visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
fix(vendors): gate trades to canonical list, preserve legacy values (SH-249)
2026-08-20 13:38:23 -03:00
Alexandre Brandizzi
ef04008fa2
Merge branch 'dev' into feat/sh-249-fe-trades 2026-08-20 13:25:09 -03:00
Arthur Bassi
a156db70bc
Merge branch 'dev' into fix/sh-183-closability-company-not-tech 2026-08-20 13:24:51 -03:00
Arthur Bassi
f77428ab19 fix(work-orders): map only official primaryDispatchStatus (SH-183)
Drop undocumented board aliases so the Completed gate matches the backend DTO field.
2026-08-20 13:22:12 -03:00
Arthur Bassi
632e00a0ce
Merge pull request #124 from Sea-Haven-Industries/feat/sh-241-wo-day-pagination
Some checks are pending
CI / ci (push) Waiting to run
CI / governance (push) Waiting to run
CI / vendor-visual-regression (push) Waiting to run
Deploy / deploy (push) Waiting to run
feat(work-orders): add per-day board pagination (SH-241)
2026-08-20 11:57:53 -03:00
Alexandre Brandizzi
4d8e86b264
Merge branch 'dev' into feat/sh-249-fe-trades 2026-08-20 11:48:07 -03:00
Arthur Bassi
75c82e90a5
Merge branch 'dev' into feat/sh-241-wo-day-pagination 2026-08-20 11:37:01 -03:00
Arthur Bassi
5195749623
Merge branch 'dev' into fix/sh-183-closability-company-not-tech 2026-08-20 11:32:09 -03:00