Arthur Bassi
5dfb2fb1c1
fix(work-orders): require explicit Aveta Extra Docs category
2026-08-25 12:03:36 -03:00
Arthur Bassi
7a30335ab8
feat(work-orders): add per-WO Aveta indicators and advanced filter
...
Dispatchers can flag Aveta on Service and Notes and filter those rows
without a site-level attribute.
2026-08-24 15:16:51 -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
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
776d3ebd9c
Merge branch 'dev' into feat/sh-244-advanced-filter-fields
2026-08-20 22:07:10 -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
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
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
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
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
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
Arthur Bassi
91f30304a2
Merge branch 'dev' into feat/sh-241-wo-day-pagination
2026-08-20 11:16:17 -03:00
Alexandre Brandizzi
326ac18eb0
Merge branch 'dev' into feat/sh-254-fe-deactivate-confirm
2026-08-20 11:15:10 -03:00
Arthur Bassi
23a80a7a14
Merge branch 'dev' into fix/sh-183-closability-company-not-tech
2026-08-20 11:08:36 -03:00
Arthur Bassi
ee5eae8927
fix(work-orders): page-aware flash and Unassigned search empty (SH-241)
...
Empty search waits until the Unassigned queue has settled.
Reschedule selects the destination day's page before flashing the row.
2026-08-20 11:00:25 -03:00
Alexandre Brandizzi
fc63948d4e
Merge branch 'dev' into feat/sh-254-fe-deactivate-confirm
2026-08-20 10:58:38 -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
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
0c514c9bad
feat(work-orders): add per-day board pagination (SH-241)
...
Paginate the selected day's WOs client-side with AAP footer controls.
2026-08-20 10:08:34 -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
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
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
Codex Review Integration
22b03b8ac0
fix(vendors): deactivation dialog follows the approved design (SH-254)
...
The dialog's wording, its actions and its behaviour all diverged from the
design prototype. It refused deactivation outright when the vendor had
open work orders, which SH-44 and SH-82 left as an open question rather
than a decided requirement.
Deactivation with open work orders now proceeds on explicit confirmation:
the design's title and body copy, the affected work orders listed as
links, and "Deactivate anyway" in place of a disabled button. The API
call carries confirmOpenWorkOrders so the server-side guard is cleared
deliberately rather than removed.
2026-08-19 13:36:37 -03: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
afdf667364
Merge branch 'dev' into feature/wo-multi-poc-contacts
2026-08-19 10:29:18 -03:00
Alexandre Brandizzi
a71407b426
Merge branch 'dev' into feat/sh-250-fe-additive-add
2026-08-19 10:28:04 -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
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
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
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
07c8c72ee6
Merge remote-tracking branch 'origin/dev' into feat/SH-165-unscheduled-pin
2026-08-18 20:53:13 -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