Arthur Bassi
23a80a7a14
Merge branch 'dev' into fix/sh-183-closability-company-not-tech
2026-08-20 11:08:36 -03:00
Alexandre Brandizzi
6da2e88cbf
Merge pull request #116 from Sea-Haven-Industries/feat/sh-250-fe-additive-add
...
fix(vendors): additive technician add for existing companies (SH-250, SH-246)
2026-08-20 11:06:42 -03:00
Alexandre Brandizzi
8edcb6659d
Merge branch 'dev' into feat/sh-250-fe-additive-add
2026-08-20 10:58:26 -03:00
Arthur Bassi
e9b00bab57
fix(work-orders): ignore inactive primary dispatch on board closability (SH-183)
...
Board Completed must not treat Cancelled/Canceled/Refused leftover vendorId as a live company assignment.
2026-08-20 10:52:43 -03:00
Arthur Bassi
fce8520f33
Merge pull request #123 from Sea-Haven-Industries/feat/sh-240-week-day-nav
...
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): day-scoped week navigation (SH-240)
2026-08-20 10:42:12 -03:00
Arthur Bassi
be975c792c
fix(work-orders): wait for Unassigned queue before empty search (SH-240)
...
Keep SH-165 loading and error visible instead of a premature empty-search shell.
2026-08-20 10:28:04 -03:00
Arthur Bassi
1a54cbd2af
Merge branch 'dev' into feat/sh-240-week-day-nav
2026-08-20 09:44:33 -03:00
Arthur Bassi
959dda08fe
fix(work-orders): stack week selector with day tabs in the filter bar
...
Keep SH-240 nav grouped under the type row and coerce the Live badge for JSX &&.
2026-08-20 09:40:02 -03:00
Arthur Bassi
0c75bd42f4
fix(work-orders): keep search and reschedule on the selected day (SH-240)
...
Empty search and Schedule On must follow the day-tab board, not the whole week or Unscheduled.
2026-08-20 09:21:45 -03:00
Arthur Bassi
854267e213
test(work-orders): keep Verified and Completed as live company assignment (SH-183)
...
Cancelled/Canceled/Refused stay inactive; verified or completed dispatches still
gate Complete on the vendor that did the work.
2026-08-19 15:16:23 -03:00
Arthur Bassi
b3899d2a51
Merge branch 'dev' into fix/sh-183-closability-company-not-tech
2026-08-19 15:14:45 -03:00
Arthur Bassi
e3b8360a68
fix(work-orders): treat Canceled and Refused dispatches as inactive (SH-183)
...
Backend returns Cancelled, Canceled, and Refused; only Cancelled was skipped,
so Complete stayed enabled with no live vendor.
2026-08-19 15:04:50 -03:00
Alexandre Brandizzi
871b7b0964
Merge pull request #118 from Sea-Haven-Industries/feat/sh-245-login-parity
...
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(login): design parity — official logo, h1 welcome heading, label colour (SH-245)
2026-08-19 14:55:17 -03:00
Arthur Bassi
8ab56d9782
refactor(work-orders): extract WoTable loading and empty shells
...
Keep the list table under the changed-file function length gate.
2026-08-19 14:48:04 -03:00
Arthur Bassi
2c14b08945
feat(work-orders): day-scoped week navigation (SH-240)
...
Let dispatchers pick one week and one weekday so the board
replaces rows instead of stacking the full week.
2026-08-19 14:45:59 -03:00
Adam Moussa
d5a04d318a
Merge branch 'dev' into feat/sh-245-login-parity
2026-08-19 11:03:37 -04:00
Arthur Bassi
a43de20ed4
fix(work-orders): ignore cancelled dispatches in detail closability (SH-183)
2026-08-19 12:02:17 -03:00
Arthur Bassi
1554cf30d0
fix(work-orders): require vendor company not technician to complete (SH-183)
2026-08-19 11:49:19 -03:00
Arthur Bassi
772d7f94df
Merge pull request #107 from Sea-Haven-Industries/feature/wo-multi-poc-contacts
...
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): multiple additional POC contacts (SH-218)
2026-08-19 10:51:40 -03:00
Arthur Bassi
afdf667364
Merge branch 'dev' into feature/wo-multi-poc-contacts
2026-08-19 10:29:18 -03:00
Arthur Bassi
93f504a7b4
Merge pull request #101 from Sea-Haven-Industries/feature/sh-114-wo-closability-gate
...
feat(work-orders): SH-114 - Closability gate for Completed status
2026-08-19 10:28:44 -03:00
Alexandre Brandizzi
a71407b426
Merge branch 'dev' into feat/sh-250-fe-additive-add
2026-08-19 10:28:04 -03:00
Codex Review Integration
1305bf35dd
fix(vendors): bypass the query cache when reloading after a conflict (SH-250)
...
The reload fix re-seeded the form from queryClient.fetchQuery, which inherits the
global 5-minute staleTime. A 409 never invalidates that key -
useSaveVendorCompanyRoster invalidates only in onSuccess and its onError returns
early for conflicts - and the Add flow has no mounted observer on it, so reload
returned the cached roster with the same stale rowVersion and every retry 409'd
again. Update mode was unaffected because it recovers via query.refetch(), which
bypasses staleTime.
Pass staleTime: 0 on that fetch, since its sole purpose is the freshest
rowVersion. The regression test uses a client with the app's real staleTime; the
default test client uses 0, which masked this entirely.
2026-08-19 10:26:28 -03:00
Alexandre Brandizzi
4b73af9688
Merge branch 'dev' into feat/sh-245-login-parity
2026-08-19 10:23:56 -03:00
Arthur Bassi
15dbda3c8f
Merge branch 'dev' into feature/sh-114-wo-closability-gate
2026-08-19 09:43:05 -03:00
Arthur Bassi
5718ca2b92
Merge branch 'dev' into feature/wo-multi-poc-contacts
2026-08-19 09:42:54 -03:00
Arthur Bassi
28846a0c5a
test(work-orders): add additionalContacts to uplift affordances fixture after merging origin/dev
2026-08-19 09:40:22 -03:00
Arthur Bassi
a62d66a2d1
Merge pull request #109 from Sea-Haven-Industries/feature/wo-advanced-filters-parity
...
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): advanced filter facets for severity and uplift (SH-121/SH-196)
2026-08-19 09:40:14 -03:00
Arthur Bassi
d534e92d03
Merge branch 'dev' into feature/wo-advanced-filters-parity
2026-08-19 09:33:07 -03:00
Arthur Bassi
a75b094564
Merge branch 'dev' into feature/wo-multi-poc-contacts
2026-08-19 09:32:29 -03:00
arthur.bassi
0182345ba3
refactor(work-orders): address SH-114 review naming and utils placement
2026-08-19 09:28:32 -03:00
arthur.bassi
1485903898
merge(dev): resolve SH-114 closability conflicts with uplifts overlays
2026-08-19 09:28:05 -03:00
Arthur Bassi
88b04a2481
Merge pull request #104 from Sea-Haven-Industries/feature/wo-uplifts-column-and-tab
...
feat(work-orders): uplift column and dialog with admin revoke (SH-196)
2026-08-19 09:05:26 -03:00
arthur.bassi
9801d6a50e
chore(work-orders): merge origin/dev and keep both search date windows
...
Keep SH-121 all-weeks constants and the SH-165 unassigned Custom range.
2026-08-18 22:13:51 -03:00
arthur.bassi
c2a7044905
test(work-orders): add additionalContacts to Unassigned/uplift fixtures after merging origin/dev
2026-08-18 21:53:37 -03:00
arthur.bassi
081d9b67c6
Merge remote-tracking branch 'origin/dev' into feature/wo-multi-poc-contacts
...
# Conflicts:
# src/test/domain/work-orders/mappers/work-order-mapper.test.ts
2026-08-18 21:52:04 -03:00
arthur.bassi
93df28335f
fix(work-orders): keep SH-196 uplift mapping typed after merging origin/dev
2026-08-18 21:44:55 -03:00
arthur.bassi
fe86d46bec
Merge remote-tracking branch 'origin/dev' into feature/wo-uplifts-column-and-tab
...
# Conflicts:
# src/domain/work-orders/mappers/work-order-table-row-mapper.ts
# src/domain/work-orders/types/work-order-table-row.ts
2026-08-18 21:42:53 -03:00
arthur.bassi
ce6e19ebaa
Merge remote-tracking branch 'origin/dev' into feature/sh-114-wo-closability-gate
...
# Conflicts:
# src/app/(protected)/workorders/_components/list/table/cells/status-cell.tsx
# src/domain/work-orders/utils/wo-closability.ts
# src/test/domain/work-orders/utils/wo-closability.test.ts
2026-08-18 21:18:49 -03:00
Arthur Bassi
b3180ef886
Merge pull request #111 from Sea-Haven-Industries/feat/SH-165-unscheduled-pin
...
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): align Unscheduled board pin with design (SH-165)
2026-08-18 21:04:51 -03:00
arthur.bassi
07c8c72ee6
Merge remote-tracking branch 'origin/dev' into feat/SH-165-unscheduled-pin
2026-08-18 20:53:13 -03:00
Arthur Bassi
08a32b71dd
Merge pull request #105 from Sea-Haven-Industries/feature/wo-uplift-pending-close-gate
...
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(work-orders): unify closability and block Completed on pending uplift (SH-188)
2026-08-18 18:37:41 -03:00
arthur.bassi
2554e40fd8
test(work-orders): assert all-weeks total and Clear All restores the bar
2026-08-18 18:13:43 -03:00
Codex Review Integration
14ff8c5481
style(work-orders): format SH-114 closability test
2026-08-18 17:56:29 -03:00
Codex Review Integration
4449e49149
fix(work-orders): align detail type mapping with Add-On indicator (SH-114)
...
Merging dev broke this branch: SH-126/SH-184 made Add-On a backend-authoritative
indicator (isAddOn) and removed it from the WOType union, but
read-detail-closability-fields still accepted "Add-On" and mapped "AddOn" onto
it, so tsc failed on both the mapper and the closability test.
Drop Add-On from the detail type set so a legacy payload normalizes to "", and
cover the normalization directly instead of asserting it through
detailToClosabilityInput, which only forwards the already-typed value.
2026-08-18 17:53:41 -03:00
Alexandre Brandizzi
5ad13d38ca
Merge branch 'dev' into feature/sh-114-wo-closability-gate
2026-08-18 17:46:59 -03:00
Alexandre Brandizzi
2c10d2b7cb
Merge branch 'dev' into feature/wo-advanced-filters-parity
2026-08-18 17:46:53 -03:00
Alexandre Brandizzi
0de695362a
Merge branch 'dev' into feat/sh-250-fe-additive-add
2026-08-18 17:46:49 -03:00
Alexandre Brandizzi
defdc4c75b
Merge branch 'dev' into feat/sh-245-login-parity
2026-08-18 17:46:44 -03:00
arthur.bassi
b0b94e8a53
merge origin/feat/SH-165-unscheduled-pin
2026-08-18 17:44:39 -03:00