Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(frontend): route infrastructure entry to workspace
rcourtmanc03c3231c1e4
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 0bf74b6825..2cc75ec1a7 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -1310,12 +1310,16 @@ That same public-demo boundary also owns the governed `pulse-pro` operationalpath for the live v6 preview. `pulse-pro/.github/workflows/deploy-v6-preview-demo.yml`is the canonical operator entrypoint, and it must drive`pulse-pro/scripts/bootstrap-v6-demo-preview.sh` as the canonical preview-runtime bootstrap/update path.+runtime bootstrap/update path. The cost-contained default is the+`pulse-v6-preview.service` instance on `pulse-relay` behind the+`v6-demo.pulserelay.pro` Caddy route; the old dedicated+`pulse-v6-preview` Droplet remains a hibernated snapshot and is only a rebuild+or isolation option.`pulse-pro/scripts/audit_v6_preview_demo.sh` is the canonical public smoke-proof. The bootstrap must fail closed unless the dedicated preview host is+proof. The bootstrap must fail closed unless the target preview host isalready the live public target and that public smoke audit passes; any-`--skip-public-audit` escape hatch is only for pre-cutover replacement-host-staging, never an ordinary live refresh.+`--skip-public-audit` escape hatch is only for pre-cutover host staging or+deliberate Caddy/DNS maintenance, never an ordinary live refresh.That same licensing/browser boundary now also owns authenticated commercialposture bootstrap and the prohibition on non-billing entitlement reads.`frontend-modern/src/useAppRuntimeState.ts` is the canonical authenticateddiff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsxindex b13a9a8572..c5c3bd95a1 100644--- a/frontend-modern/src/App.tsx+++ b/frontend-modern/src/App.tsx@@ -76,6 +76,11 @@ function isPublicRoutePath(pathname: string): boolean {return pathname === '/pricing' || pathname === '/preview/setup-complete';}+function isWorkspaceEntryRoutePath(pathname: string): boolean {+ const normalizedPath = pathname.replace(/\/+$/, '') || '/';+ return normalizedPath === '/' || normalizedPath === '/login' || normalizedPath === '/infrastructure';+}+const AlertsPage = lazy(() =>import('./pages/Alerts').then((module) => ({ default: module.Alerts })),);@@ -276,8 +281,7 @@ function App() {createEffect(() => {if (runtime.isLoading() || runtime.needsAuth() || isPublicRoute()) return;- const normalizedPath = location.pathname.replace(/\/+$/, '') || '/';- if (normalizedPath !== '/' && normalizedPath !== '/login') return;+ if (!isWorkspaceEntryRoutePath(location.pathname)) return;if (!platformNavigationResolved()) return;navigate(getDefaultWorkspaceRoute(platformNavigationVisibility(), hasSettingsAccess()),@@ -537,6 +541,7 @@ function App() {<Route path="/preview/setup-complete" component={SetupCompletionPreviewPage} /><Route path="/login" component={RuntimeHomePage} /><Route path="/" component={RuntimeHomePage} />+ <Route path="/infrastructure" component={RuntimeHomePage} /><Route path={PROXMOX_PATH} component={ProxmoxPage} /><Route path={`${PROXMOX_PATH}/*`} component={ProxmoxPage} /><Route path={DOCKER_PATH} component={DockerPage} />diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex c3dc6b5fc0..01a44d34d8 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -137,6 +137,11 @@ describe('App architecture', () => {expect(appSource).toContain("import RuntimeHomePage from '@/pages/RuntimeHome';");expect(appSource).toContain('<Route path="/login" component={RuntimeHomePage} />');expect(appSource).toContain('<Route path="/" component={RuntimeHomePage} />');+ expect(appSource).toContain('<Route path="/infrastructure" component={RuntimeHomePage} />');+ expect(appSource).toContain('function isWorkspaceEntryRoutePath(pathname: string): boolean');+ expect(appSource).toContain(+ "return normalizedPath === '/' || normalizedPath === '/login' || normalizedPath === '/infrastructure';",+ );expect(appSource).toContain('<Route path={`${ROOT_PATROL_PATH}/*`} component={AIIntelligencePage} />',);