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): complete services routing desk
rcourtmanfb3fe50c632e
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.jsonindex d4fea27b0a..e6b3f2c6d9 100644--- a/internal/cloudcp/portal/dist/build_manifest.json+++ b/internal/cloudcp/portal/dist/build_manifest.json@@ -1,5 +1,5 @@{- "source_hash": "2d17279261a6be24c30ffd10dbfecf2b011e875f91a371fc2bb2b94273a1841d",+ "source_hash": "d4e066496e5fb29f89c0867b6c1e02cd7947220ad47cb3019f2f9b50eb68627f","build_inputs": ["package.json","tsconfig.json",diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.cssindex 4ff5dcf4b4..8e050a16cc 100644--- a/internal/cloudcp/portal/dist/portal_app.css+++ b/internal/cloudcp/portal/dist/portal_app.css@@ -2056,6 +2056,48 @@ header .logout-btn:hover,line-height: 1.45;color: var(--ink-soft);}+.service-inline-support h4 {+ margin: 4px 0 0;+ font-size: 16px;+ line-height: 1.08;+ letter-spacing: -0.03em;+}+.service-inline-support-points {+ display: flex;+ flex-direction: column;+ gap: 0;+ margin-top: 8px;+}+.service-inline-support-point {+ display: flex;+ flex-direction: column;+ gap: 3px;+ padding: 8px 0 8px 10px;+ border-top: 1px solid var(--line);+ border-left: 2px solid rgba(15, 118, 110, 0.16);+}+.service-inline-support-point:first-child {+ padding-top: 0;+ border-top: none;+}+.service-inline-support-point strong {+ font-size: 11px;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--ink-muted);+}+.service-inline-support-point span {+ font-size: 11px;+ line-height: 1.45;+ color: var(--ink-soft);+}+.service-inline-support-actions {+ display: flex;+ align-items: center;+ gap: 8px;+ flex-wrap: wrap;+ margin-top: 10px;+}.service-detail-shell {border: 1px solid var(--line);border-radius: 12px;diff --git a/internal/cloudcp/portal/dist/portal_app.js b/internal/cloudcp/portal/dist/portal_app.jsindex bbb8051b00..88143b34d1 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>Self-hosted desks</h3><p>Pick one commercial workflow and keep it isolated from hosted workspace and team operations.</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">Desk brief</div><h3>Choose a desk to begin</h3><p>Use one self-hosted desk at a time. Each desk verifies commercial identity first, then keeps billing, license, refund, or privacy work contained in one place.</p><div class="service-empty-shell"><div class="service-empty-intro"><div class="service-empty-intro-item"><strong>One request</strong><span>Keep a single commercial task active instead of bouncing across desks.</span></div><div class="service-empty-intro-item"><strong>Identity first</strong><span>Verification happens before any sensitive account action opens.</span></div><div class="service-empty-intro-item"><strong>Escalate fast</strong><span>Route unusual billing, refund, privacy, or license failures to support from this desk.</span></div></div><div class="service-empty-primary"><div class="service-empty-section service-empty-section-compact"><div class="service-empty-column-title">Workflow map</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">Before you start</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>";+ ]) + '</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>Self-hosted desks</h3><p>Pick one commercial workflow and keep it isolated from hosted workspace and team operations.</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><div class="service-inline-support"><div class="account-panel-kicker">Commercial routing</div><h4>Keep this desk isolated</h4><p>Hosted workspace work stays in Workspaces and Team. Use Support only when a self-hosted billing, license, refund, or privacy desk cannot complete the request cleanly.</p><div class="service-inline-support-points"><div class="service-inline-support-point"><strong>Hosted stays hosted</strong><span>Tenant handoff, team access, and hosted billing do not belong in this commercial desk.</span></div><div class="service-inline-support-point"><strong>Escalate with context</strong><span>Bring the desk name and exact failed action if a commercial request needs support.</span></div></div><div class="service-inline-support-actions"><button type="button" class="btn-secondary btn-compact" data-shell-action="activate-section" data-shell-section="support">Open support desk</button></div></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">Desk brief</div><h3>Choose a desk to begin</h3><p>Use one self-hosted desk at a time. Each desk verifies commercial identity first, then keeps billing, license, refund, or privacy work contained in one place.</p><div class="service-empty-shell"><div class="service-empty-intro"><div class="service-empty-intro-item"><strong>One request</strong><span>Keep a single commercial task active instead of bouncing across desks.</span></div><div class="service-empty-intro-item"><strong>Identity first</strong><span>Verification happens before any sensitive account action opens.</span></div><div class="service-empty-intro-item"><strong>Escalate fast</strong><span>Route unusual billing, refund, privacy, or license failures to support from this desk.</span></div></div><div class="service-empty-primary"><div class="service-empty-section service-empty-section-compact"><div class="service-empty-column-title">Workflow map</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">Before you start</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 daf8bbf962..7fa13bd65f 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts@@ -204,6 +204,10 @@ describe('shell view', function() {expect(html).toContain('Choose a desk to begin');expect(html).toContain('Desk brief');expect(html).toContain('Self-hosted only');+ expect(html).toContain('Commercial routing');+ expect(html).toContain('Keep this desk isolated');+ expect(html).toContain('Hosted stays hosted');+ expect(html).toContain('Open support desk');expect(html).toContain('Workflow map');expect(html).toContain('Before you start');expect(html).toContain('Escalate quickly');diff --git a/internal/cloudcp/portal/frontend/src/shell_view.ts b/internal/cloudcp/portal/frontend/src/shell_view.tsindex 6b3fa39371..fe26ebb446 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.ts@@ -986,6 +986,18 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): stringrenderServiceActionRow('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>' ++ '<div class="service-inline-support">' ++ '<div class="account-panel-kicker">Commercial routing</div>' ++ '<h4>Keep this desk isolated</h4>' ++ '<p>Hosted workspace work stays in Workspaces and Team. Use Support only when a self-hosted billing, license, refund, or privacy desk cannot complete the request cleanly.</p>' ++ '<div class="service-inline-support-points">' ++ '<div class="service-inline-support-point"><strong>Hosted stays hosted</strong><span>Tenant handoff, team access, and hosted billing do not belong in this commercial desk.</span></div>' ++ '<div class="service-inline-support-point"><strong>Escalate with context</strong><span>Bring the desk name and exact failed action if a commercial request needs support.</span></div>' ++ '</div>' ++ '<div class="service-inline-support-actions">' ++ '<button type="button" class="btn-secondary btn-compact" data-shell-action="activate-section" data-shell-section="support">Open support desk</button>' ++ '</div>' ++ '</div>' +'</aside>' +'<div class="service-shell-main">' +'<div class="service-detail-shell">' +diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.cssindex e57f23ef98..bbc759575a 100644--- a/internal/cloudcp/portal/frontend/src/styles.css+++ b/internal/cloudcp/portal/frontend/src/styles.css@@ -2242,6 +2242,55 @@ header .logout-btn:hover,color: var(--ink-soft);}+.service-inline-support h4 {+ margin: 4px 0 0;+ font-size: 16px;+ line-height: 1.08;+ letter-spacing: -0.03em;+}++.service-inline-support-points {+ display: flex;+ flex-direction: column;+ gap: 0;+ margin-top: 8px;+}++.service-inline-support-point {+ display: flex;+ flex-direction: column;+ gap: 3px;+ padding: 8px 0 8px 10px;+ border-top: 1px solid var(--line);+ border-left: 2px solid rgba(15, 118, 110, 0.16);+}++.service-inline-support-point:first-child {+ padding-top: 0;+ border-top: none;+}++.service-inline-support-point strong {+ font-size: 11px;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--ink-muted);+}++.service-inline-support-point span {+ font-size: 11px;+ line-height: 1.45;+ color: var(--ink-soft);+}++.service-inline-support-actions {+ display: flex;+ align-items: center;+ gap: 8px;+ flex-wrap: wrap;+ margin-top: 10px;+}+.service-detail-shell {border: 1px solid var(--line);border-radius: 12px;