shoc-frontend-new/src/domain
npal 41ec771a0c fix: stop duplicate global toasts on vendor-portal dispatch actions
All six vendor-portal dispatch mutation hooks lacked meta.suppressErrorToast,
so a failed checklist toggle, signoff, comment, or uplift request/withdraw/
revise raised both the global MutationCache toast (leaking the raw server
message) and the section's own inline error, contradicting this ticket's
"no behavior change" goal versus main's try/catch-only handling.

Also fixes a related gap in checklist-section.tsx: updateItem.isError only
reflects the latest call on the shared mutation observer, so a failed toggle
whose item was not the most recent click showed no error at all. Tracks
failure locally instead, mirroring main's per-call error state.

Added regression coverage with the app's real query client (createAppQueryClient)
for comments, signoff, and uplift withdraw, asserting the inline message shows
and the global toast does not fire; plus a mixed pass/fail concurrent-toggle
case for the checklist.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-30 12:13:35 -05:00
..
accounts fix(work-orders): stop sending customer on create 2026-08-25 22:26:01 -03:00
assets chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
auth feat(observability): identify and scrub Sentry transactions 2026-09-03 17:12:49 -03:00
calendar chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
contacts chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
dashboard fix(dashboard): open the Unassigned tile as the Unassigned filter option 2026-09-24 22:45:10 -03:00
employees chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
follow-ups chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
locations SH-138: manage ordered site contacts (#191) 2026-09-16 14:53:58 -03:00
notifications Merge remote-tracking branch 'origin/feat/ab/sh-292-notification-center' into HEAD 2026-09-18 14:35:17 -03:00
pm-schedules chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
services refactor(services): extract useServiceEditor to satisfy maintainability gate 2026-09-17 14:55:05 -03:00
settings fix: address PR #224 review findings and extract task-template copy (SH-378) 2026-09-18 10:46:16 -05:00
team-members feat(team-members): add member detail drawer (SH-326) 2026-09-16 20:27:05 -03:00
uplifts fix(uplifts): show the requested increase as the one uplift amount 2026-09-25 01:49:24 -03:00
vendor-operations SH-292: Notification Center bell panel and feed page 2026-09-18 12:55:54 -03:00
vendor-portal fix: stop duplicate global toasts on vendor-portal dispatch actions 2026-09-30 12:13:35 -05:00
vendor-pos feat(uplifts): complete SH-101 vendor workflow 2026-08-11 08:57:38 -03:00
vendors Merge remote-tracking branch 'origin/dev' into fix/ab/sh-364-inline-technician-registration 2026-09-17 15:27:39 -03:00
work-orders Merge pull request #260 from Sea-Haven-Industries/fix/ab/sh-383-media-contract 2026-09-25 06:06:59 +00:00