fix/wizard-init-flow #1

Merged
hzhang merged 4 commits from fix/wizard-init-flow into main 2026-03-11 10:34:54 +00:00

4 Commits

Author SHA1 Message Date
zhi
dbb7d9013a fix: guard dashboard recent_issues when backend payload omits field 2026-03-11 10:32:01 +00:00
zhi
bd4a206e76 fix: use configured backend_url for API base instead of /api path
- Read HF_BACKEND_BASE_URL from localStorage in api client
- Refresh baseURL on each request interceptor
- Persist backend_url from wizard config during app bootstrap
- Persist backend_base_url after setup save
2026-03-11 10:31:25 +00:00
zhi
d3ca13108b feat: add backend base URL field in setup config 2026-03-11 10:26:23 +00:00
zhi
c92e399218 fix: check wizard config for initialized flag instead of backend health
- App checks wizard API for harborforge.json config with initialized=true
- If not initialized, show embedded setup wizard (talks to wizard API via CORS)
- Setup saves config with initialized:true to wizard config volume
- After restart, backend reads config and starts, frontend sees initialized=true
- Remove VITE_API_BASE build arg (not needed, api.ts uses /api relative path)
- Fix Object.entries null crash in DashboardPage
2026-03-11 10:09:33 +00:00