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
style(portal): densify overview briefing
rcourtmanc715ca3a80a0
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.jsonindex d6354c71b1..d1ee0220a6 100644--- a/internal/cloudcp/portal/dist/build_manifest.json+++ b/internal/cloudcp/portal/dist/build_manifest.json@@ -1,5 +1,5 @@{- "source_hash": "aaeaec3fb7fa9e652861987c5df4fd6dc10cef3864529b785f423047646dca9a",+ "source_hash": "f803b59442f30c60f3428bb9f51fc2302bbcab2a65b8cc8c54aaeac3468d2a74","build_inputs": ["package.json","tsconfig.json",diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.cssindex 85f609500b..3534a9b7a9 100644--- a/internal/cloudcp/portal/dist/portal_app.css+++ b/internal/cloudcp/portal/dist/portal_app.css@@ -799,6 +799,33 @@ header .logout-btn:hover,gap: 0;min-width: 0;}+.account-overview-brief-strip {+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: 10px;+ margin-top: 14px;+}+.account-overview-brief-point {+ display: flex;+ flex-direction: column;+ gap: 5px;+ min-height: 100%;+ padding: 12px;+ border: 1px solid var(--line);+ border-radius: 10px;+ background: rgba(252, 253, 254, 0.96);+}+.account-overview-brief-point strong {+ font-size: 12px;+ line-height: 1.3;+ letter-spacing: 0.02em;+ color: var(--ink);+}+.account-overview-brief-point span {+ font-size: 12px;+ line-height: 1.55;+ color: var(--ink-soft);+}.account-overview-next-block {display: flex;flex-direction: column;@@ -2456,14 +2483,6 @@ header .logout-btn:hover,.support-copy {margin-top: 10px !important;}-.account-overview-callout {- margin-top: 14px;- padding-top: 12px;- border-top: 1px solid var(--line);- font-size: 13px;- line-height: 1.55;- color: var(--ink-soft);-}.badge {display: inline-flex;align-items: center;@@ -2558,6 +2577,7 @@ header .logout-btn:hover,}.portal-shell-layout,.account-command-deck,+ .account-overview-brief-strip,.account-overview-briefing-card {grid-template-columns: 1fr;}diff --git a/internal/cloudcp/portal/dist/portal_app.js b/internal/cloudcp/portal/dist/portal_app.jsindex a18ced5343..f3b1044c97 100644--- a/internal/cloudcp/portal/dist/portal_app.js+++ b/internal/cloudcp/portal/dist/portal_app.js@@ -1890,13 +1890,13 @@var nextStepCopy = unhealthyCount > 0 ? "One or more workspaces need review before you treat the hosted fleet as trustworthy." : checkingCount > 0 ? "The fleet is mostly healthy, but there are still workspaces waiting on a completed health check." : suspendedCount > 0 ? "Active hosted workspaces look stable. Resume a suspended workspace only when you are ready to bring it back into the operator path." : "Hosted posture looks stable. Move into team or account services only if you need to change access or billing.";var nextStepChecklist = unhealthyCount > 0 ? '<div class="overview-next-checklist"><div class="overview-next-check"><strong>1. Review attention items</strong><span>Open the fleet and inspect any workspace marked as checking or needs attention.</span></div><div class="overview-next-check"><strong>2. Resolve operator blockers</strong><span>Use Team if the right people are not already attached to the hosted account.</span></div><div class="overview-next-check"><strong>3. Escalate billing separately</strong><span>Keep account billing or self-hosted license work out of the workspace review flow.</span></div></div>' : checkingCount > 0 ? '<div class="overview-next-checklist"><div class="overview-next-check"><strong>1. Verify pending checks</strong><span>Open the workspaces still settling and confirm they are safe to operate.</span></div><div class="overview-next-check"><strong>2. Keep access deliberate</strong><span>Change Team only if a pending workspace needs a different operator mix.</span></div><div class="overview-next-check"><strong>3. Keep commercial work separate</strong><span>Use account services or billing only when the hosted fleet is already understood.</span></div></div>' : '<div class="overview-next-checklist"><div class="overview-next-check"><strong>1. Open a workspace for the next operational task</strong><span>Move into Workspaces when you are ready to do hosted work.</span></div><div class="overview-next-check"><strong>2. Change access in Team only</strong><span>Keep roster changes explicit instead of mixing them into routine workspace work.</span></div><div class="overview-next-check"><strong>3. Keep billing and privacy separate</strong><span>Licenses, refunds, privacy, and self-hosted billing stay in their own section.</span></div></div>';var nextStepActions = '<div class="overview-next-actions"><button class="btn-primary btn-compact" type="button" data-shell-action="activate-section" data-shell-section="workspaces">Open workspaces</button><button class="btn-secondary btn-compact" type="button" data-shell-action="activate-section" data-shell-section="' + (account.can_manage ? "team" : "services") + '">' + (account.can_manage ? "Review team access" : "Open account services") + "</button></div>";+ var consoleScopeCopy = account.kind === "msp" ? "Run client workspaces, account billing, and operator access from one place." : "Run hosted workspaces, account billing, and operator access from one place.";+ var overviewBriefStrip = '<div class="account-overview-brief-strip"><div class="account-overview-brief-point"><strong>Console role</strong><span>' + escapeHTML(consoleScopeCopy) + '</span></div><div class="account-overview-brief-point"><strong>Hosted path</strong><span>Use Workspaces for tenant operations and Team only when the operator roster needs to change.</span></div><div class="account-overview-brief-point"><strong>Commercial path</strong><span>Keep licenses, refunds, privacy, and self-hosted billing in Account services instead of mixing them into hosted work.</span></div></div>';return '<section class="account-content-panel account-content-panel-overview"><div class="account-stage-header account-stage-header-overview"><div><div class="account-panel-kicker">Overview</div><h3>Hosted posture</h3><p>Review hosted posture first, then move into the next operator desk.</p>' + renderSectionContextChips([String(totalCount) + " total",String(readyCount) + " ready",suspendedCount > 0 ? String(suspendedCount) + " suspended" : "Active fleet"- ]) + renderOverviewMetricStrip(totalCount, readyCount, checkingCount, unhealthyCount, suspendedCount) + '</div></div><div class="account-command-deck"><div class="account-overview-main-column"><div class="account-overview-card account-overview-briefing-card"><div class="account-overview-lead"><div class="account-panel-kicker">Fleet posture</div><h3>' + escapeHTML(postureTitle) + "</h3><p>" + escapeHTML(postureCopy) + '</p><div class="account-overview-callout">' + escapeHTML(- account.kind === "msp" ? "Use this console to run client workspaces, account billing, and operator access from one place." : "Use this console to run hosted workspaces, account billing, and operator access from one place."- ) + '</div></div><div class="account-overview-next-block"><div class="account-panel-kicker">Next move</div><h4>' + escapeHTML(nextStepTitle) + "</h4><p>" + escapeHTML(nextStepCopy) + "</p>" + nextStepChecklist + nextStepActions + '</div></div></div><div class="account-overview-side-column">' + renderAttentionPanel(workspaces) + "</div></div></section>";+ ]) + renderOverviewMetricStrip(totalCount, readyCount, checkingCount, unhealthyCount, suspendedCount) + '</div></div><div class="account-command-deck"><div class="account-overview-main-column"><div class="account-overview-card account-overview-briefing-card"><div class="account-overview-lead"><div class="account-panel-kicker">Fleet posture</div><h3>' + escapeHTML(postureTitle) + "</h3><p>" + escapeHTML(postureCopy) + "</p>" + overviewBriefStrip + '</div><div class="account-overview-next-block"><div class="account-panel-kicker">Next move</div><h4>' + escapeHTML(nextStepTitle) + "</h4><p>" + escapeHTML(nextStepCopy) + "</p>" + nextStepChecklist + nextStepActions + '</div></div></div><div class="account-overview-side-column">' + renderAttentionPanel(workspaces) + "</div></div></section>";}function renderAccountWorkspaceSection(account, accountAPIBasePath) {var workspaces = Array.isArray(account.workspaces) ? account.workspaces : [];diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.tsindex 7fa13bd65f..1a58d619b3 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts@@ -155,7 +155,10 @@ describe('shell view', function() {expect(html).toContain('Start in workspaces');expect(html).toContain('Needs review');expect(html).toContain('Fleet posture');- expect(html).toContain('Use this console to run client workspaces, account billing, and operator access from one place.');+ expect(html).toContain('Console role');+ expect(html).toContain('Run client workspaces, account billing, and operator access from one place.');+ expect(html).toContain('Hosted path');+ expect(html).toContain('Commercial path');expect(html).toContain('Open workspaces');expect(html).toContain('Review team access');expect(html).toContain('Needs review');diff --git a/internal/cloudcp/portal/frontend/src/shell_view.ts b/internal/cloudcp/portal/frontend/src/shell_view.tsindex c1dc9efd0d..911ec3f6e7 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.ts@@ -483,6 +483,24 @@ function renderAccountOverviewSection(account: PortalAccountSummary): string {'<button class="btn-primary btn-compact" type="button" data-shell-action="activate-section" data-shell-section="workspaces">Open workspaces</button>' +'<button class="btn-secondary btn-compact" type="button" data-shell-action="activate-section" data-shell-section="' + (account.can_manage ? 'team' : 'services') + '">' + (account.can_manage ? 'Review team access' : 'Open account services') + '</button>' +'</div>';+ var consoleScopeCopy = account.kind === 'msp'+ ? 'Run client workspaces, account billing, and operator access from one place.'+ : 'Run hosted workspaces, account billing, and operator access from one place.';+ var overviewBriefStrip =+ '<div class="account-overview-brief-strip">' ++ '<div class="account-overview-brief-point">' ++ '<strong>Console role</strong>' ++ '<span>' + escapeHTML(consoleScopeCopy) + '</span>' ++ '</div>' ++ '<div class="account-overview-brief-point">' ++ '<strong>Hosted path</strong>' ++ '<span>Use Workspaces for tenant operations and Team only when the operator roster needs to change.</span>' ++ '</div>' ++ '<div class="account-overview-brief-point">' ++ '<strong>Commercial path</strong>' ++ '<span>Keep licenses, refunds, privacy, and self-hosted billing in Account services instead of mixing them into hosted work.</span>' ++ '</div>' ++ '</div>';return ('<section class="account-content-panel account-content-panel-overview">' +@@ -506,10 +524,7 @@ function renderAccountOverviewSection(account: PortalAccountSummary): string {'<div class="account-panel-kicker">Fleet posture</div>' +'<h3>' + escapeHTML(postureTitle) + '</h3>' +'<p>' + escapeHTML(postureCopy) + '</p>' +- '<div class="account-overview-callout">' + escapeHTML(account.kind === 'msp'- ? 'Use this console to run client workspaces, account billing, and operator access from one place.'- : 'Use this console to run hosted workspaces, account billing, and operator access from one place.'- ) + '</div>' ++ overviewBriefStrip +'</div>' +'<div class="account-overview-next-block">' +'<div class="account-panel-kicker">Next move</div>' +diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.cssindex 5fff6db276..485e89102e 100644--- a/internal/cloudcp/portal/frontend/src/styles.css+++ b/internal/cloudcp/portal/frontend/src/styles.css@@ -828,6 +828,37 @@ header .logout-btn:hover,min-width: 0;}+.account-overview-brief-strip {+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: 10px;+ margin-top: 14px;+}++.account-overview-brief-point {+ display: flex;+ flex-direction: column;+ gap: 5px;+ min-height: 100%;+ padding: 12px;+ border: 1px solid var(--line);+ border-radius: 10px;+ background: rgba(252, 253, 254, 0.96);+}++.account-overview-brief-point strong {+ font-size: 12px;+ line-height: 1.3;+ letter-spacing: 0.02em;+ color: var(--ink);+}++.account-overview-brief-point span {+ font-size: 12px;+ line-height: 1.55;+ color: var(--ink-soft);+}+.account-overview-next-block {display: flex;flex-direction: column;@@ -2707,15 +2738,6 @@ header .logout-btn:hover,margin-top: 10px !important;}-.account-overview-callout {- margin-top: 14px;- padding-top: 12px;- border-top: 1px solid var(--line);- font-size: 13px;- line-height: 1.55;- color: var(--ink-soft);-}-.badge {display: inline-flex;align-items: center;@@ -2815,6 +2837,7 @@ header .logout-btn:hover,.portal-shell-layout,.account-command-deck,+ .account-overview-brief-strip,.account-overview-briefing-card {grid-template-columns: 1fr;}