shoc-frontend-new/src/test/lib/query
Codex Review Integration 4bffdac175 fix(uplifts): restrict revoke to admins and quiet permission failures (SH-207)
- Gate the Revoke action on the approved queue row and the detail modal
  to admin users; non-admins get a disabled button with a plain
  'Only admins can revoke uplifts' tooltip and the dialog cannot open.
- Stop nesting an h2 inside DialogTitle in the uplift detail modal
  (hydration error) by rendering the title text as a non-heading.
- Handle work-order detail/uplift query 403s quietly in the detail
  modal: sections fall back to 'Unavailable' and the queries suppress
  the global error toast (QueryCache now honors suppressErrorToast).
- Extract UpliftDecisionDialogs and openUpliftEvidence from the page to
  meet the changed-file maintainability gate (complexity 23 -> pass).
2026-09-17 00:13:54 -03:00
..
query-client.test.ts fix(uplifts): restrict revoke to admins and quiet permission failures (SH-207) 2026-09-17 00:13:54 -03:00
setup-query-broadcast.test.ts feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00