mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 20:07:34 +00:00
Replace the ArgoCD React fork (deploy/ui, webpack argo-cd-ui) with a focused, mobile-first CD dashboard built on the shared Hanzo component packages over the native cloud CD plane (/v1/deploy). Its job stays: see every operator App CR with stats · sync · health · resource tree · logs · sync/rollback. - Vite + React 19 STATIC SPA → dist/ (index.html + login.html + CNAME + assets), published to the existing s3://cdn/cd static plane cd.hanzo.ai already serves (ingress staticFiles/spaMode; /v1/deploy peeled to cloud). No ingress/backend change. - @hanzo/gitops (framework-free ArgoCD-replacement views): GitopsAppList for the fleet; GitopsSyncPanel + GitopsAppTree + GitopsNodeInfo + GitopsRollbackDialog composed for the app detail (lazy per-node /resource + /logs). Resolved via Vite path alias off the built dist so it builds without a full monorepo install. - src/lib/adapt.ts maps the real /v1/deploy DTOs into the @hanzo/gitops view-models, reusing the package's foldHealth/foldSync (strips [-_] so the hyphenated 'out-of-sync' folds to OutOfSync, not Unknown). - Auth: the admin-console PKCE login.html (ported) → hanzo_iam_token cookie the cloud binary validates (SuperAdmin gate); same-origin credentialed /v1/deploy. - Lean self-contained topbar (Geist, small mark, env scope) in the interim; the @hanzo/ui-shadcn shared shell + @hanzo/canvas map are registry-install-gated follow-ons (the map already ships green in hanzoai/console). - Verify: tsc 0; vitest 8/8 (adapter + the sync-fold fix); playwright render + mobile (no horizontal body scroll at 390).
5 lines
107 B
JSON
5 lines
107 B
JSON
{
|
|
"files": [],
|
|
"references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }]
|
|
}
|