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): compact account services desk
rcourtman7d93b746ab45
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.jsonindex 309fef8fe3..c81e6556eb 100644--- a/internal/cloudcp/portal/dist/build_manifest.json+++ b/internal/cloudcp/portal/dist/build_manifest.json@@ -1,5 +1,5 @@{- "source_hash": "249ad27da128ca4b8ec2642c2d7d5cd39d642929a2c109b21e94918d5f6d1a85",+ "source_hash": "d2b9970bc8e3f9257e0b7787eccf2d4e1518bd40b59d7769e88bd3109c82ada5","build_inputs": ["package.json","tsconfig.json",diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.cssindex 6bd84d8d01..bcd3e6537a 100644--- a/internal/cloudcp/portal/dist/portal_app.css+++ b/internal/cloudcp/portal/dist/portal_app.css@@ -1997,11 +1997,18 @@ header .logout-btn:hover,line-height: 1.6;color: var(--ink-soft);}-.service-empty-stack {+.service-empty-shell {+ display: grid;+ grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);+ gap: 12px;+ margin-top: 12px;+ align-items: start;+}+.service-empty-primary,+.service-empty-side {display: flex;flex-direction: column;gap: 12px;- margin-top: 12px;}.service-empty-section {display: flex;@@ -2012,6 +2019,9 @@ header .logout-btn:hover,border-radius: 12px;background: #fbfcfd;}+.service-empty-section-compact {+ gap: 8px;+}.service-empty-column-title {font-size: 12px;font-weight: 800;@@ -2147,7 +2157,7 @@ header .logout-btn:hover,.service-empty-checklist {display: flex;flex-direction: column;- gap: 10px;+ gap: 0;}.service-empty-check {display: flex;@@ -2367,6 +2377,7 @@ header .logout-btn:hover,.account-overview-card,.service-shell,.service-action-list,+ .service-empty-shell,.service-empty-points,.workspace-operations-shell {grid-template-columns: 1fr;@@ -2485,6 +2496,7 @@ header .logout-btn:hover,}.service-action-row,.service-shell,+ .service-empty-shell,.workspace-operations-shell,.account-overview-card,.account-overview-secondary,diff --git a/internal/cloudcp/portal/dist/portal_app.js b/internal/cloudcp/portal/dist/portal_app.jsindex 94c77aa045..803267f308 100644--- a/internal/cloudcp/portal/dist/portal_app.js+++ b/internal/cloudcp/portal/dist/portal_app.js@@ -1962,7 +1962,7 @@return '<div class="portal-shell" data-shell-section="' + activeSection + '"><div class="portal-shell-layout">' + renderShellNavigation(accounts, context.bootstrap.support_email || "", activeSection) + '<div class="portal-shell-main">' + (accounts.length === 1 ? renderAccountContextStrip(accounts[0]) : "") + '<section class="portal-content-panel portal-content-panel-overview"><div id="accounts-root">' + hostedContent + '</div></section><section class="portal-content-panel portal-content-panel-services service-section" id="account-services-section"><div class="service-header"><div><div class="account-panel-kicker">Account services</div><h2>' + serviceHeading + "</h2>" + renderSectionContextChips([hosted ? "Self-hosted only" : "Commercial","4 desks"- ]) + '</div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-shell-sidebar-head"><div class="account-panel-kicker">Service navigator</div><h3>Commercial desks</h3><p>Choose one billing, license, refund, or privacy request and keep it contained here.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Billing desk", "Open Stripe for self-hosted plan, invoice, and payment changes.", "manage-service-panel", "manage-inline-email", ["Plan changes", "Invoices"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "License desk", "Recover the latest active self-hosted license and invoice link.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Refund desk", "Request a self-serve refund when the purchase is still eligible.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Privacy desk", "Request export or deletion for commercial account data.", "data-service-panel", "data-export-email", ["Export", "Deletion"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Active service desk</div><h3>Choose a commercial desk</h3><p>Open one commercial request from the navigator and keep it in this desk until it is finished.</p><div class="service-empty-stack"><div class="service-empty-section"><div class="service-empty-column-title">Request rules</div><div class="service-empty-points service-empty-points-stack"><div class="service-empty-point"><strong>Verify first</strong><span>Each desk confirms the commercial email before opening sensitive actions.</span></div><div class="service-empty-point"><strong>Stay focused</strong><span>Keep one commercial request in flight instead of bouncing between desks.</span></div></div></div><div class="service-empty-section"><div class="service-empty-column-title">Desk coverage</div><div class="service-empty-flow-list"><div class="service-empty-flow"><strong>Billing desk</strong><span>Stripe customer portal access for invoices, payment methods, and plan changes.</span></div><div class="service-empty-flow"><strong>License desk</strong><span>Recover the latest active self-hosted license and the matching invoice link.</span></div><div class="service-empty-flow"><strong>Refund desk</strong><span>Check eligibility before revoking active commercial access.</span></div><div class="service-empty-flow"><strong>Privacy desk</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div></div><div class="service-empty-section service-empty-section-support"><div class="service-empty-column-title">Escalation</div><div class="service-empty-checklist"><div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, license, refund, or privacy work does not behave as expected, escalate from this desk.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license requests? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";+ ]) + '</div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-shell-sidebar-head"><div class="account-panel-kicker">Service navigator</div><h3>Commercial desks</h3><p>Choose one billing, license, refund, or privacy request and keep it contained here.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Billing desk", "Open Stripe for self-hosted plan, invoice, and payment changes.", "manage-service-panel", "manage-inline-email", ["Plan changes", "Invoices"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "License desk", "Recover the latest active self-hosted license and invoice link.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Refund desk", "Request a self-serve refund when the purchase is still eligible.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Privacy desk", "Request export or deletion for commercial account data.", "data-service-panel", "data-export-email", ["Export", "Deletion"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Active service desk</div><h3>Choose a desk</h3><p>Open one commercial request from the navigator and keep it in this desk until it is finished.</p><div class="service-empty-shell"><div class="service-empty-primary"><div class="service-empty-section service-empty-section-compact"><div class="service-empty-column-title">Desk coverage</div><div class="service-empty-flow-list"><div class="service-empty-flow"><strong>Billing desk</strong><span>Stripe customer portal access for invoices, payment methods, and plan changes.</span></div><div class="service-empty-flow"><strong>License desk</strong><span>Recover the latest active self-hosted license and the matching invoice link.</span></div><div class="service-empty-flow"><strong>Refund desk</strong><span>Check eligibility before revoking active commercial access.</span></div><div class="service-empty-flow"><strong>Privacy desk</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div></div><div class="service-empty-section service-empty-section-compact"><div class="service-empty-column-title">Desk rules</div><div class="service-empty-points service-empty-points-stack"><div class="service-empty-point"><strong>Verify first</strong><span>Each desk confirms the commercial email before opening sensitive actions.</span></div><div class="service-empty-point"><strong>Stay focused</strong><span>Keep one commercial request in flight instead of bouncing between desks.</span></div></div></div></div><div class="service-empty-side"><div class="service-empty-section service-empty-section-support"><div class="service-empty-column-title">Escalation</div><div class="service-empty-checklist"><div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, license, refund, or privacy work does not behave as expected, escalate from this desk.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license requests? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";}function renderSignedOutPortalHTML(context) {var statusHTML = "";diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.tsindex 1076623925..bdfe46ce8d 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts@@ -201,7 +201,7 @@ describe('shell view', function() {expect(html).toContain('service-action-row');expect(html).toContain('service-action-button');expect(html).toContain('id="service-panel-empty"');- expect(html).toContain('Choose a commercial desk');+ expect(html).toContain('Choose a desk');expect(html).toContain('Active service desk');expect(html).toContain('Self-hosted only');expect(html).toContain('Desk coverage');diff --git a/internal/cloudcp/portal/frontend/src/shell_view.ts b/internal/cloudcp/portal/frontend/src/shell_view.tsindex 8e4f1c1bdd..957ca90d77 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.ts@@ -973,35 +973,39 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): string'<div class="service-detail-shell">' +'<div class="service-panel service-panel-empty visible" id="service-panel-empty">' +'<div class="account-panel-kicker">Active service desk</div>' +- '<h3>Choose a commercial desk</h3>' ++ '<h3>Choose a desk</h3>' +'<p>Open one commercial request from the navigator and keep it in this desk until it is finished.</p>' +- '<div class="service-empty-stack">' +- '<div class="service-empty-section">' +- '<div class="service-empty-column-title">Request rules</div>' +- '<div class="service-empty-points service-empty-points-stack">' +- '<div class="service-empty-point"><strong>Verify first</strong><span>Each desk confirms the commercial email before opening sensitive actions.</span></div>' +- '<div class="service-empty-point"><strong>Stay focused</strong><span>Keep one commercial request in flight instead of bouncing between desks.</span></div>' ++ '<div class="service-empty-shell">' ++ '<div class="service-empty-primary">' ++ '<div class="service-empty-section service-empty-section-compact">' ++ '<div class="service-empty-column-title">Desk coverage</div>' ++ '<div class="service-empty-flow-list">' ++ '<div class="service-empty-flow"><strong>Billing desk</strong><span>Stripe customer portal access for invoices, payment methods, and plan changes.</span></div>' ++ '<div class="service-empty-flow"><strong>License desk</strong><span>Recover the latest active self-hosted license and the matching invoice link.</span></div>' ++ '<div class="service-empty-flow"><strong>Refund desk</strong><span>Check eligibility before revoking active commercial access.</span></div>' ++ '<div class="service-empty-flow"><strong>Privacy desk</strong><span>Request export or deletion without leaving Pulse Account.</span></div>' ++ '</div>' +'</div>' +- '</div>' +- '<div class="service-empty-section">' +- '<div class="service-empty-column-title">Desk coverage</div>' +- '<div class="service-empty-flow-list">' +- '<div class="service-empty-flow"><strong>Billing desk</strong><span>Stripe customer portal access for invoices, payment methods, and plan changes.</span></div>' +- '<div class="service-empty-flow"><strong>License desk</strong><span>Recover the latest active self-hosted license and the matching invoice link.</span></div>' +- '<div class="service-empty-flow"><strong>Refund desk</strong><span>Check eligibility before revoking active commercial access.</span></div>' +- '<div class="service-empty-flow"><strong>Privacy desk</strong><span>Request export or deletion without leaving Pulse Account.</span></div>' ++ '<div class="service-empty-section service-empty-section-compact">' ++ '<div class="service-empty-column-title">Desk rules</div>' ++ '<div class="service-empty-points service-empty-points-stack">' ++ '<div class="service-empty-point"><strong>Verify first</strong><span>Each desk confirms the commercial email before opening sensitive actions.</span></div>' ++ '<div class="service-empty-point"><strong>Stay focused</strong><span>Keep one commercial request in flight instead of bouncing between desks.</span></div>' ++ '</div>' +'</div>' +'</div>' +- '<div class="service-empty-section service-empty-section-support">' +- '<div class="service-empty-column-title">Escalation</div>' +- '<div class="service-empty-checklist">' +- '<div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, license, refund, or privacy work does not behave as expected, escalate from this desk.</span></div>' ++ '<div class="service-empty-side">' ++ '<div class="service-empty-section service-empty-section-support">' ++ '<div class="service-empty-column-title">Escalation</div>' ++ '<div class="service-empty-checklist">' ++ '<div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, license, refund, or privacy work does not behave as expected, escalate from this desk.</span></div>' ++ '</div>' ++ '<div class="service-empty-support">Need help with billing, refund, privacy, or license requests? <a class="portal-support-link" href="mailto:' ++ escapeAttr(context.bootstrap.support_email || '') ++ '">' ++ escapeHTML(context.bootstrap.support_email || '') ++ '</a></div>' +'</div>' +- '<div class="service-empty-support">Need help with billing, refund, privacy, or license requests? <a class="portal-support-link" href="mailto:' +- escapeAttr(context.bootstrap.support_email || '') +- '">' +- escapeHTML(context.bootstrap.support_email || '') +- '</a></div>' +'</div>' +'</div>' +'</div>' +diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.cssindex b03b9e3be9..75aa9cbf1a 100644--- a/internal/cloudcp/portal/frontend/src/styles.css+++ b/internal/cloudcp/portal/frontend/src/styles.css@@ -2201,11 +2201,19 @@ header .logout-btn:hover,color: var(--ink-soft);}-.service-empty-stack {+.service-empty-shell {+ display: grid;+ grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);+ gap: 12px;+ margin-top: 12px;+ align-items: start;+}++.service-empty-primary,+.service-empty-side {display: flex;flex-direction: column;gap: 12px;- margin-top: 12px;}.service-empty-section {@@ -2218,6 +2226,10 @@ header .logout-btn:hover,background: #fbfcfd;}+.service-empty-section-compact {+ gap: 8px;+}+.service-empty-column-title {font-size: 12px;font-weight: 800;@@ -2373,7 +2385,7 @@ header .logout-btn:hover,.service-empty-checklist {display: flex;flex-direction: column;- gap: 10px;+ gap: 0;}.service-empty-check {@@ -2625,6 +2637,7 @@ header .logout-btn:hover,.account-overview-card,.service-shell,.service-action-list,+ .service-empty-shell,.service-empty-points,.workspace-operations-shell {grid-template-columns: 1fr;@@ -2772,6 +2785,7 @@ header .logout-btn:hover,.service-action-row,.service-shell,+ .service-empty-shell,.workspace-operations-shell,.account-overview-card,.account-overview-secondary,