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
Compact portal navigation on mobile
rcourtmanc4730a52dbc8
diff --git a/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md b/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.mdindex 6ce2974106..0b97cf1ea8 100644--- a/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md+++ b/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md@@ -167,6 +167,9 @@ Core rules:privacy as secondary job-specific paths rather than a billing essay.20. `Support` must explain only when to escalate and what to send so it readsas a handoff path, not a competing task surface.+21. On phone-width layouts, top-level task navigation must collapse into a+ compact task strip so the active job stays above the fold instead of being+ buried below a desktop-style sidebar.## Screen Model@@ -208,6 +211,8 @@ Each signed-in state should render:7. explicit action groups, not anonymous menu affordances8. explicit unavailable-state panels for top-level tasks that are not activefor the current account shape+9. a compact narrow-screen task switcher that preserves task-first navigation+ without letting navigation chrome dominate the page before the active task## Product-Specific Boundariesdiff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.mdindex 0730562cdb..f719734a40 100644--- a/docs/release-control/v6/internal/subsystems/api-contracts.md+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md@@ -268,6 +268,9 @@ under `internal/cloudcp/portal/frontend/`, is embedded from`internal/cloudcp/portal/frontend_sync_test.go`, so the maintained frontendsources and the committed embedded bundle cannot drift silently. The maintainedportal source tree now also owns explicit runtime/bootstrap type definitions+and one task-first shell model across desktop and phone widths: narrow-screen+navigation must collapse the same bootstrap-driven task shell into a compact+task strip, not a second mobile-only route or DOM contract.plus a package-local `tsc --noEmit` gate, so future account-shell work shouldextend the typed source boundary instead of reviving opaque global runtimeobjects, document-wide render events, or untyped embedded asset edits.diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex ceecbfeac5..62ee6e9876 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -825,7 +825,9 @@ top-level `Workspaces` or `Access` tasks must render an explicit unavailablestate instead of blank space. The same shell also owns action-first tasksurfaces for `Access`, `Billing`, and `Support`: access mutations must bepermission-honest and roster-led, billing must reduce to one obvious job at a-time with hosted billing first when relevant, and support must stay a failed-path handoff rather than a peer workflow. Until that candidate lane lands, new-commercial account work must extend the governed Pulse account shape rather-than spawning additional one-off recovery or billing pages.+time with hosted billing first when relevant, support must stay a failed-path+handoff rather than a peer workflow, and phone-width layouts must collapse the+desktop task sidebar into a compact task strip so the active job remains+primary. Until that candidate lane lands, new commercial account work must+extend the governed Pulse account shape rather than spawning additional one-off+recovery or billing pages.diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.jsonindex 1eada6dcb0..26145eb175 100644--- a/internal/cloudcp/portal/dist/build_manifest.json+++ b/internal/cloudcp/portal/dist/build_manifest.json@@ -1,5 +1,5 @@{- "source_hash": "f81f84c69040e458ed52e4d489cbd96781beb09acd1a6a552015a4abbc7554f1",+ "source_hash": "d476dc57983dfa359bbf680d0b056c99d52bd7af411ea774b33a68aeb136aa1e","build_inputs": ["package.json","tsconfig.json",diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.cssindex 854f116d64..d2afab14f2 100644--- a/internal/cloudcp/portal/dist/portal_app.css+++ b/internal/cloudcp/portal/dist/portal_app.css@@ -2890,14 +2890,58 @@ header .logout-btn:hover,.portal-shell-layout,.portal-support-brief-strip,.portal-support-runbook-brief,- .portal-support-route-grid,- .portal-shell-nav-group {+ .portal-support-route-grid {grid-template-columns: 1fr;}.portal-support-layout,.portal-support-runbook-grid {grid-template-columns: 1fr;}+ .portal-shell-nav {+ min-height: auto;+ border-right: none;+ border-bottom: 1px solid var(--nav-line);+ }+ .portal-shell-nav-header {+ padding: 12px 14px 8px;+ }+ .portal-shell-nav-title {+ font-size: 16px;+ }+ .portal-shell-nav-support {+ display: none;+ }+ .portal-shell-nav-group {+ display: flex;+ flex-direction: row;+ gap: 8px;+ padding: 10px 12px 12px;+ overflow-x: auto;+ overscroll-behavior-x: contain;+ scrollbar-width: none;+ }+ .portal-shell-nav-group::-webkit-scrollbar {+ display: none;+ }+ .portal-shell-nav-link {+ flex: 0 0 auto;+ min-width: 118px;+ padding: 10px 10px;+ }+ .portal-shell-nav-row {+ align-items: flex-start;+ }+ .portal-shell-nav-index,+ .portal-shell-nav-copy {+ display: none;+ }+ .portal-shell-nav-link:hover,+ .portal-shell-nav-link.active {+ transform: none;+ }+ .portal-shell-nav-link.active {+ box-shadow: inset 0 -2px 0 #78b6c0, 0 8px 18px rgba(3, 8, 18, 0.14);+ }.intro-card,.billing-panel {padding: 18px;diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.tsindex 584c7de737..e81b2c6662 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts@@ -228,6 +228,48 @@ describe('shell view', function() {expect(html).toContain('Open billing');});+ it('keeps top-level task navigation in the canonical section order', function() {+ var html = renderAuthenticatedPortalHTML(+ createContext({+ bootstrap: createBootstrap({+ accounts: [+ {+ id: 'acct_nav',+ name: 'Navigation Account',+ kind: 'cloud',+ kind_label: 'Cloud',+ role: 'owner',+ can_manage: true,+ has_billing: true,+ workspaces: [+ {+ id: 'ws_nav',+ display_name: 'Navigation Workspace',+ state: 'active',+ healthy: true,+ health_status: 'healthy',+ },+ ],+ },+ ],+ }),+ })+ );++ var overviewIndex = html.indexOf('data-shell-section="overview"');+ var workspacesIndex = html.indexOf('data-shell-section="workspaces"');+ var accessIndex = html.indexOf('data-shell-section="access"');+ var billingIndex = html.indexOf('data-shell-section="billing"');+ var supportIndex = html.indexOf('data-shell-section="support"');++ expect(overviewIndex).toBeGreaterThan(-1);+ expect(workspacesIndex).toBeGreaterThan(overviewIndex);+ expect(accessIndex).toBeGreaterThan(workspacesIndex);+ expect(billingIndex).toBeGreaterThan(accessIndex);+ expect(supportIndex).toBeGreaterThan(billingIndex);+ expect(html).not.toContain('Services');+ });+it('renders a view-only access surface when the account cannot manage access', function() {var html = renderAuthenticatedPortalHTML(createContext({diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.cssindex 0d30ba0ea1..3c52dcd674 100644--- a/internal/cloudcp/portal/frontend/src/styles.css+++ b/internal/cloudcp/portal/frontend/src/styles.css@@ -3177,8 +3177,7 @@ header .logout-btn:hover,.portal-shell-layout,.portal-support-brief-strip,.portal-support-runbook-brief,- .portal-support-route-grid,- .portal-shell-nav-group {+ .portal-support-route-grid {grid-template-columns: 1fr;}@@ -3187,6 +3186,62 @@ header .logout-btn:hover,grid-template-columns: 1fr;}+ .portal-shell-nav {+ min-height: auto;+ border-right: none;+ border-bottom: 1px solid var(--nav-line);+ }++ .portal-shell-nav-header {+ padding: 12px 14px 8px;+ }++ .portal-shell-nav-title {+ font-size: 16px;+ }++ .portal-shell-nav-support {+ display: none;+ }++ .portal-shell-nav-group {+ display: flex;+ flex-direction: row;+ gap: 8px;+ padding: 10px 12px 12px;+ overflow-x: auto;+ overscroll-behavior-x: contain;+ scrollbar-width: none;+ }++ .portal-shell-nav-group::-webkit-scrollbar {+ display: none;+ }++ .portal-shell-nav-link {+ flex: 0 0 auto;+ min-width: 118px;+ padding: 10px 10px;+ }++ .portal-shell-nav-row {+ align-items: flex-start;+ }++ .portal-shell-nav-index,+ .portal-shell-nav-copy {+ display: none;+ }++ .portal-shell-nav-link:hover,+ .portal-shell-nav-link.active {+ transform: none;+ }++ .portal-shell-nav-link.active {+ box-shadow: inset 0 -2px 0 #78b6c0, 0 8px 18px rgba(3, 8, 18, 0.14);+ }+.intro-card,.billing-panel {padding: 18px;