shoc-frontend-new/src
Codex Review Integration 64caab1832 fix(vendors): do not fail open while the trades facet is loading (SH-249)
An empty tradeOptions array meant two different things: "facets query still in
flight" and "vocabulary genuinely unavailable". Both enabled fail-open free
text and showed the outage warning, so a normal cold fetch looked like an
outage. Anything committed in that window was added to knownTradesRef and stayed
selectable after the canonical list arrived, permanently undermining the gate.

Expose the facets query isLoading as tradesLoading, thread it to the field as
tradeOptionsLoading, and keep the canonical gate active while loading. The
outage warning now shows only once the query has settled empty.
2026-08-18 17:25:44 -03:00
..
api feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00
app fix(vendors): do not fail open while the trades facet is loading (SH-249) 2026-08-18 17:25:44 -03:00
components feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00
config fix(vendors): complete shell and visual parity gates 2026-08-10 12:11:38 -03:00
domain feat(work-orders): severity gates and wizard type/WO# parity (SH-192) (#106) 2026-08-14 11:59:52 -03:00
hooks feat(ui): add shared board UI primitives and plumbing 2026-07-17 11:59:05 -03:00
infra/query-key feat(uplifts): complete SH-101 vendor workflow 2026-08-11 08:57:38 -03:00
lib feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00
providers feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00
routing refactor(ui): enforce maintainable conditional feedback 2026-07-24 11:32:58 -03:00
styles chore: correct Sea Haven branding and rewrite README (#25) 2026-07-17 13:17:21 -04:00
test fix(vendors): do not fail open while the trades facet is loading (SH-249) 2026-08-18 17:25:44 -03:00
app-root.tsx Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00
app-routes.tsx Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00
logo.svg Initialize project using Create React App 2025-08-11 19:13:42 -05:00
main.tsx Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00
vite-env.d.ts feat(work-orders): query broadcast, remove auth bypass, dispatch polish (#100) 2026-08-14 11:52:48 -03:00