Files
status/web/app/tsconfig.tsbuildinfo
zeekay e1a4251f14 fix(ui): drop broken @hanzo/gui, render with plain React+Tailwind
The Vite SPA crashed on mount with an uncaught "Missing theme." exception, so
status.hanzo.ai rendered a blank page. Root cause: @hanzo/[email protected] is an
internally inconsistent release — its GuiProvider/core are @hanzogui/[email protected]
while its UI components are @hanzogui/*@3.0.x, giving two different theme
React-context instances (provider sets one, components read the other → null →
throw). No adjacent version is both installable and consistent (4.7.3 leaks a
workspace: spec; 7.x drops getDefaultGuiConfig).

@hanzo/gui was only used for 7 trivial primitives (Card, Button, Separator,
Spinner, Input, Image, Select). Replace them with a tiny local
src/components/ui.tsx (plain React + the existing Tailwind theme tokens in
index.css) and native <select> in search-bar; remove GuiProvider from main.tsx.
Drop @hanzo/gui + now-unused react-native-web (and its vite alias).

Verified: headless Chromium render shows #root populated, header + search + shell
paint, and no "Missing theme." error (only expected /v1/status 404s under the
backend-less preview). Bundle shrinks 771KB -> 272KB.
2026-07-16 15:45:34 -07:00

1 line
736 B
Plaintext

{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/announcement-banner.tsx","./src/components/dashboard.tsx","./src/components/endpoint-card.tsx","./src/components/endpoint-detail.tsx","./src/components/footer.tsx","./src/components/header.tsx","./src/components/health-bar.tsx","./src/components/loading.tsx","./src/components/response-time-chart.tsx","./src/components/search-bar.tsx","./src/components/settings.tsx","./src/components/status-badge.tsx","./src/components/suite-card.tsx","./src/components/suite-detail.tsx","./src/components/tooltip.tsx","./src/components/ui.tsx","./src/lib/api.ts","./src/lib/config.ts","./src/lib/theme.ts","./src/lib/types.ts","./src/lib/utils.ts"],"version":"5.9.3"}