Arthur Bassi
94aa7a1d66
Merge remote-tracking branch 'origin/main' into feat/SH-388-uplift-slide-over
...
# Conflicts:
# e2e/__screenshots__/work-orders/work-orders.visual.spec.ts/wo-detail.png
# src/app/(protected)/workorders/_components/list/table/cells/uplift-cell.tsx
# src/app/(protected)/workorders/_components/list/table/wo-table-row-service-cells.tsx
# src/app/(protected)/workorders/_components/uplifts/work-order-uplift-list-item.tsx
# src/app/(protected)/workorders/_components/uplifts/work-order-uplifts-dialog-content.tsx
# src/app/(protected)/workorders/_components/uplifts/work-order-uplifts-dialog.tsx
# src/components/common/address-autocomplete-field.tsx
# src/domain/work-orders/utils/uplift-display-utils.ts
# src/test/app/(protected)/workorders/work-order-uplifts-affordances.test.tsx
2026-09-28 14:08:51 -03:00
Alexandre Brandizzi
a554aa049e
Merge pull request #282 from Sea-Haven-Industries/fix/ab/sh-408-has-uplift-live-status
...
fix(work-orders): keep uplift history reachable on closed work orders
2026-09-25 22:21:17 +00:00
Alexandre Brandizzi
a2d03f9461
fix(work-orders): keep uplift history reachable on closed work orders
...
The Uplift column hid its trigger on a Completed or Canceled work order
with no live uplift, so once cancelled/revoked uplifts stop counting as
"has uplift", their read-only history had no way in. The cell now always
opens the uplifts dialog; closed work orders show a dash instead of Manage.
2026-09-25 18:14:53 -03:00
Alexandre Brandizzi
18127c0f30
fix(uplifts): hide Revoke from admins on auto-approved uplifts
...
Admins may revoke only admin-approved uplifts. The Work Order Uplifts
dialog showed Revoke to whoever requested an auto-approved uplift, so an
admin requester saw it and was sent into the optional-reason revoke flow.
2026-09-25 18:14:06 -03:00
Arthur Bassi
32466c01d2
fix(work-orders): open uplifts from the slide-over and send evidence (SH-388)
...
Dispatchers need the design surface from the column and the detail,
and an optional evidence file is sent only after the scan passes.
2026-09-24 14:30:24 -03:00
arthur.bassi
b60d0474bc
fix(work-orders): keep admin-approved revoke off the WO dialog (SH-214)
...
SH-214/SH-212 own that action on Uplift Approvals; the WO surface only revokes the requester's auto-approved uplift.
2026-08-18 09:28:49 -03:00
arthur.bassi
c721b407b6
fix(work-orders): merge dev and gate uplift create on pending and allowance
...
Hide a second create while a pending request exists, surface remaining auto-approval in the dialog, and refresh the branch onto current origin/dev.
2026-08-14 10:36:45 -03:00
arthur.bassi
d5fd6aa5d6
fix(work-orders): stop uplift column reading WO status; strip blank techs
...
mapUpliftSummary no longer treats row status as uplift primaryStatus, getUpliftCellLabel hides pills without hasUplift, and vendor submit filters blank new technicians.
2026-08-10 19:09:25 -03:00
Arthur Bassi
31c5559d23
fix(work-orders): clear uplift form state only after successful mutations
...
[recover] remove malicious eslint payload (was 380188af )
2026-08-10 17:12:10 -03:00