Add first-boot onboarding wizard (backend + frontend)

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/d070c508-d5df-43c7-a0a6-a7be4c65fed7

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-03 19:13:26 +00:00
committed by GitHub
parent 3488a888de
commit 04d282f790
5 changed files with 1567 additions and 0 deletions

View File

@@ -1475,6 +1475,17 @@ function _renderPortHealthBanner(data) {
// ── Init ──────────────────────────────────────────────────────────
async function init() {
// Check onboarding status first — redirect to wizard if not complete
try {
var onboardingStatus = await apiFetch("/api/onboarding/status");
if (!onboardingStatus.complete) {
window.location.href = "/onboarding";
return;
}
} catch (_) {
// If we can't reach the endpoint, continue to normal dashboard
}
try {
var cfg = await apiFetch("/api/config");
if (cfg.category_order) {