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): break hosted settings bundle init cycle
rcourtmanf9f4137d1e51
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 1ad7396b38..213e6bd19d 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -390,9 +390,10 @@ path instead of leaving first-session install guidance implicit in genericsettings-shell prose.When that infrastructure workspace needs to redirect operators to the Pulse Prosurface for billing, monitored-system limits, or license status, it must-consume the shared referral copy from-`frontend-modern/src/utils/licensePresentation.ts` instead of carrying-workspace-local commercial guidance.+consume the settings-owned referral copy from+`frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`+instead of carrying workspace-local commercial guidance or reaching back into+generic commercial presentation helpers from the hosted infrastructure route.That canonical /api/auto-register behavior now also includes hostname/IP continuity:reruns that arrive through a different canonical host form must reuse the samePulse-managed node record and token instead of forking duplicate fleet entries.diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex d62f2ce946..9a46c69998 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -499,8 +499,18 @@ That same shared presentation owner also carries the canonical cross-surfacereferral copy used outside the billing shell itself. When infrastructure orother adjacent settings surfaces need to point operators toward Pulse Pro forbilling, monitored-system limits, or license status, they must consume the-shared referral strings from `frontend-modern/src/utils/licensePresentation.ts`-instead of drafting route-local commercial guidance.+settings-owned referral strings from+`frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`+instead of drafting route-local commercial guidance or reaching directly into+generic commercial helpers from hosted settings routes.+That same hosted-settings presentation boundary is explicit about bundle+ownership. `frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`+is the canonical settings-shell adapter for self-hosted Pro shell framing and+referral copy, while `frontend-modern/src/utils/licensePresentation.ts`+remains the shared commercial notice/label owner. Hosted settings surfaces+must not import self-hosted billing framing straight from the generic helper+module when doing so would reintroduce top-level bundle-init cycles into+hosted tenant settings routes.Paid Pulse Pro v5 grandfathering is now part of that same canonical boundary:when a recurring v5 customer migrates into v6, billing persistence,entitlement evaluation, renewal handling, and Pro-license presentation must@@ -550,6 +560,12 @@ The shared license presentation owner also holds self-hosted Pro settingsupsell and trial-ended notice copy for `ProLicensePlanSection.tsx`; thatsurface must consume canonical helper notices instead of carrying inlineupgrade copy or local status-tone branches.+That same plan-section boundary must also defer notice resolution to component+runtime. `frontend-modern/src/components/Settings/ProLicensePlanSection.tsx`+may not compute trial-ended or inactive-upsell notices at module scope,+because hosted settings bundles must survive top-level import ordering without+throwing initialization-time `ReferenceError` crashes before the workspace UI+mounts.That same counted-unit boundary also owns the disclosure rule for retail copy:default billing and pricing surfaces should use concise monitored-system copy,while the full counted-unit definition appears only behind explicit disclosurediff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 92a6dbf073..2246eaddf3 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -51,6 +51,7 @@ work extends shared components instead of creating new local variants.27. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx`28. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx`29. `frontend-modern/src/components/Settings/settingsHeaderMeta.ts`+30. `frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`30. `frontend-modern/src/components/Settings/SSOProvidersPanel.tsx`31. `frontend-modern/src/components/Settings/useAISettingsState.ts`32. `frontend-modern/src/components/Settings/useDiagnosticsPanelState.ts`@@ -163,11 +164,18 @@ work extends shared components instead of creating new local variants.and keep adjacent settings-shell referrals such as`InfrastructureWorkspace.tsx` on that same shared owner instead ofreintroducing local “go to Pulse Pro” variants.-6. Keep first-session dashboard empty-state copy on+6. Keep hosted settings-shell framing imports safe for bundle initialization.+ Self-hosted billing titles, descriptions, and referral copy used by+ `settingsHeaderMeta.ts`, `settingsNavCatalog.ts`, and adjacent settings+ shells must flow through+ `frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`+ instead of importing generic commercial presentation helpers directly into+ hosted settings route shells.+7. Keep first-session dashboard empty-state copy on`frontend-modern/src/utils/dashboardEmptyStatePresentation.ts`, and makeinfrastructure setup guidance name the canonical destination explicitlyinstead of falling back to generic settings CTA labels.-7. Keep the live first-session wizard on the canonical three-step runtime+8. Keep the live first-session wizard on the canonical three-step runtimeshape in `frontend-modern/src/components/SetupWizard/SetupWizard.tsx`(`Welcome`, `Security`, then `Install`), and keep the step indicator pluscompletion CTA language aligned with the governed infrastructure install@@ -1288,9 +1296,9 @@ for `frontend-modern/src/components/Settings/settingsNavCatalog.ts` and`frontend-modern/src/components/Settings/settingsHeaderMeta.ts` are part ofthat same shell boundary as`frontend-modern/src/components/Settings/ProLicensePanel.tsx` and the shared-commercial presentation owner in-`frontend-modern/src/utils/licensePresentation.ts`; the `system-billing`-navigation label plus header title and description must reuse+settings billing presentation owner in+`frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts`;+the `system-billing` navigation label plus header title and description must reuse`SELF_HOSTED_PRO_BILLING_PRESENTATION.shellTitle` and`SELF_HOSTED_PRO_BILLING_PRESENTATION.shellDescription` so the route header andthe billing shell do not narrate the same commercial surface differently.@@ -1301,6 +1309,12 @@ toward Pulse Pro for billing, monitored-system limits, or license status, theymust reuse the shared referral copy from`SELF_HOSTED_PRO_BILLING_PRESENTATION` rather than drafting local “go therefor billing” variants.+That same shell boundary also has to stay safe for hosted tenant bundles.+Settings-shell framing copy for self-hosted billing must route through+`selfHostedBillingPresentation.ts`, with `settingsNavCatalog.ts`,+`settingsHeaderMeta.ts`, and adjacent hosted settings shells consuming that+settings-owned adapter instead of importing generic commercial presentation+helpers in ways that can reintroduce top-level bundle-init cycles.`frontend-modern/src/components/Settings/NetworkSettingsPanel.tsx` is now ashell only. `frontend-modern/src/components/Settings/NetworkDiscoverySection.tsx`owns discovery controls and shared subnet presets, whilediff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsxindex f72e401bf4..47b90089ef 100644--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx@@ -2,7 +2,7 @@ import { Component, Match, Switch, createMemo } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';import { Card } from '@/components/shared/Card';import { Subtabs } from '@/components/shared/Subtabs';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from './selfHostedBillingPresentation';import { InfrastructureInstallPanel } from './InfrastructureInstallPanel';import { InfrastructureReportingPanel } from './InfrastructureReportingPanel';import { ProxmoxSettingsPanel } from './ProxmoxSettingsPanel';diff --git a/frontend-modern/src/components/Settings/ProLicensePanel.tsx b/frontend-modern/src/components/Settings/ProLicensePanel.tsxindex 6d39528d8f..6292fee748 100644--- a/frontend-modern/src/components/Settings/ProLicensePanel.tsx+++ b/frontend-modern/src/components/Settings/ProLicensePanel.tsx@@ -6,7 +6,7 @@ import { CommercialBillingShell, CommercialSection } from './CommercialBillingSeimport { ProLicensePlanSection } from './ProLicensePlanSection';import { SelfHostedCommercialActivationSection } from './SelfHostedCommercialActivationSection';import { useProLicensePanelState } from './useProLicensePanelState';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from './selfHostedBillingPresentation';import { getMonitoredSystemBriefSummary } from '@/utils/monitoredSystemPresentation';export const ProLicensePanel: Component = () => {diff --git a/frontend-modern/src/components/Settings/ProLicensePlanSection.tsx b/frontend-modern/src/components/Settings/ProLicensePlanSection.tsxindex 57af30c69a..d5b4b409d4 100644--- a/frontend-modern/src/components/Settings/ProLicensePlanSection.tsx+++ b/frontend-modern/src/components/Settings/ProLicensePlanSection.tsx@@ -46,11 +46,13 @@ const formatDate = (value?: string | null) => {return date.toLocaleDateString();};-const trialEndedNotice = getTrialEndedProLicenseNotice();-const inactiveProUpsellNotice = getInactiveProUpsellNotice();+export const ProLicensePlanSection: Component<ProLicensePlanSectionProps> = (props) => {+ const trialEndedNotice = props.trialEnded ? getTrialEndedProLicenseNotice() : null;+ const inactiveProUpsellNotice =+ !props.hasPaidFeatures && !props.trialEnded ? getInactiveProUpsellNotice() : null;-export const ProLicensePlanSection: Component<ProLicensePlanSectionProps> = (props) => (- <>+ return (+ <><Show when={props.trialActivationNotice}>{(notice) => (<div class={`mb-4 rounded-md border p-3 text-sm ${notice().tone}`}>@@ -75,17 +77,17 @@ export const ProLicensePlanSection: Component<ProLicensePlanSectionProps> = (pro</div>)}</Show>- <Show when={props.trialEnded && !licenseLoadError()}>- <div class={`mb-4 rounded-md border p-3 text-sm ${trialEndedNotice.tone}`}>- <p class="font-medium">{trialEndedNotice.title}</p>- <p class="text-xs mt-1 opacity-90">{trialEndedNotice.body}</p>+ <Show when={props.trialEnded && !licenseLoadError() && trialEndedNotice}>+ <div class={`mb-4 rounded-md border p-3 text-sm ${trialEndedNotice?.tone ?? ''}`}>+ <p class="font-medium">{trialEndedNotice?.title}</p>+ <p class="text-xs mt-1 opacity-90">{trialEndedNotice?.body}</p><aclass="inline-flex items-center gap-1 mt-2 text-xs font-medium hover:underline"href={getUpgradeActionUrlOrFallback('trial_expired')}target="_blank"rel="noreferrer">- {trialEndedNotice.actionLabel}+ {trialEndedNotice?.actionLabel}</a></div></Show>@@ -153,21 +155,22 @@ export const ProLicensePlanSection: Component<ProLicensePlanSectionProps> = (pro</Show></Show>- <Show when={!props.hasPaidFeatures && !props.trialEnded}>- <div class={`rounded-md border p-3 text-sm ${inactiveProUpsellNotice.tone}`}>- <p class="font-medium">{inactiveProUpsellNotice.title}</p>- <p class="text-xs mt-1 opacity-90">{inactiveProUpsellNotice.body}</p>+ <Show when={!props.hasPaidFeatures && !props.trialEnded && inactiveProUpsellNotice}>+ <div class={`rounded-md border p-3 text-sm ${inactiveProUpsellNotice?.tone ?? ''}`}>+ <p class="font-medium">{inactiveProUpsellNotice?.title}</p>+ <p class="text-xs mt-1 opacity-90">{inactiveProUpsellNotice?.body}</p><aclass="inline-flex items-center gap-1 mt-2 text-xs font-medium hover:underline"href={getUpgradeActionUrlOrFallback('ai_autofix')}target="_blank"rel="noreferrer">- {inactiveProUpsellNotice.actionLabel}+ {inactiveProUpsellNotice?.actionLabel}</a></div></Show></Show></Show>- </>-);+ </>+ );+};diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex 3cdbb3a643..08de833e2b 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -1,6 +1,6 @@import { cleanup, fireEvent, render, screen } from '@solidjs/testing-library';import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '../selfHostedBillingPresentation';import { InfrastructureWorkspace } from '../InfrastructureWorkspace';let mockPathname = '/settings';diff --git a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsxindex 31d7fc0e7b..5445fa4e11 100644--- a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx@@ -470,6 +470,18 @@ describe('ProLicensePanel', () => {expect(proLicensePlanSectionSource).toContain('getNoActiveProLicenseState');expect(proLicensePlanSectionSource).toContain('getTrialEndedProLicenseNotice');expect(proLicensePlanSectionSource).toContain('getInactiveProUpsellNotice');+ expect(proLicensePlanSectionSource).not.toContain(+ 'const trialEndedNotice = getTrialEndedProLicenseNotice();',+ );+ expect(proLicensePlanSectionSource).not.toContain(+ 'const inactiveProUpsellNotice = getInactiveProUpsellNotice();',+ );+ expect(proLicensePlanSectionSource).toContain(+ 'const trialEndedNotice = props.trialEnded ? getTrialEndedProLicenseNotice() : null;',+ );+ expect(proLicensePlanSectionSource).toContain(+ '!props.hasPaidFeatures && !props.trialEnded ? getInactiveProUpsellNotice() : null;',+ );expect(proLicensePlanSectionSource).not.toContain('Your Pro trial has ended');expect(proLicensePlanSectionSource).not.toContain('Unlock Pulse Patrol, alert analysis, auto-fix, and more.');expect(selfHostedCommercialActivationSectionSource).toContain(diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex 1d891af7d7..24fcbb7fc8 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -1,5 +1,5 @@import { describe, expect, it } from 'vitest';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '../selfHostedBillingPresentation';import settingsSource from '../Settings.tsx?raw';import settingsDialogsSource from '../SettingsDialogs.tsx?raw';import settingsShellSource from '../SettingsPageShell.tsx?raw';@@ -34,6 +34,7 @@ import settingsNavigationModelSource from '../settingsNavigationModel.ts?raw';import settingsRoutingSource from '../settingsRouting.ts?raw';import settingsTypesSource from '../settingsTypes.ts?raw';import settingsNavCatalogSource from '../settingsNavCatalog.ts?raw';+import selfHostedBillingPresentationSource from '../selfHostedBillingPresentation.ts?raw';import settingsNavVisibilitySource from '../settingsNavVisibility.ts?raw';import settingsInfrastructurePanelPropsSource from '../useSettingsInfrastructurePanelProps.ts?raw';import settingsNavigationHookSource from '../useSettingsNavigation.ts?raw';@@ -499,7 +500,7 @@ describe('Settings architecture guardrails', () => {expect(settingsShellStateSource).toContain('showPasswordModal');expect(settingsNavCatalogSource).toContain('export const SETTINGS_NAV_GROUPS');expect(settingsNavCatalogSource).toContain('export function getSettingsNavItem');- expect(settingsNavCatalogSource).toContain('@/utils/licensePresentation');+ expect(settingsNavCatalogSource).toContain("./selfHostedBillingPresentation");expect(settingsNavCatalogSource).toContain('SELF_HOSTED_PRO_BILLING_PRESENTATION.shellTitle');expect(settingsNavCatalogSource).not.toContain("label: 'Pulse Pro'");expect(settingsNavVisibilitySource).toContain('export function shouldHideSettingsNavItem');@@ -543,7 +544,7 @@ describe('Settings architecture guardrails', () => {);expect(monitoredSystemDefinitionDisclosureSource).not.toContain('summary?: string');expect(monitoredSystemDefinitionDisclosureSource).not.toContain('{props.summary}');- expect(proLicensePanelSource).toContain('@/utils/licensePresentation');+ expect(proLicensePanelSource).toContain('./selfHostedBillingPresentation');expect(proLicensePanelSource).toContain('SELF_HOSTED_PRO_BILLING_PRESENTATION');expect(proLicensePanelStateSource).toContain('buildSelfHostedCommercialPlanModel');expect(proLicensePanelStateSource).toContain('loadLicenseStatus(true)');@@ -553,7 +554,7 @@ describe('Settings architecture guardrails', () => {expect(proLicensePanelSource).not.toContain('description="Manage self-hosted billing');expect(proLicensePanelSource).not.toContain('title="Plan"');expect(proLicensePanelSource).not.toContain('title="Usage"');- expect(infrastructureWorkspaceSource).toContain('@/utils/licensePresentation');+ expect(infrastructureWorkspaceSource).toContain('./selfHostedBillingPresentation');expect(infrastructureWorkspaceSource).toContain('SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureWorkspaceReferral',);@@ -1272,7 +1273,7 @@ describe('Settings architecture guardrails', () => {});it('keeps infrastructure shell framing focused on operations, not billing', () => {- expect(settingsHeaderMetaSource).toContain('@/utils/licensePresentation');+ expect(settingsHeaderMetaSource).toContain('./selfHostedBillingPresentation');expect(settingsHeaderMetaSource).toContain('SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral',);@@ -1312,6 +1313,13 @@ describe('Settings architecture guardrails', () => {expect(SETTINGS_HEADER_META['organization-billing'].description).toContain('plan limits');});+ it('keeps self-hosted billing shell copy in a settings-owned presentation module', () => {+ expect(selfHostedBillingPresentationSource).toContain(+ 'export const SELF_HOSTED_PRO_BILLING_PRESENTATION',+ );+ expect(selfHostedBillingPresentationSource).not.toContain('@/utils/licensePresentation');+ });+it('keeps shell titles aligned with the leading settings panel on key top-level surfaces', () => {for (const { tab, title, source } of canonicalShellTitleExpectations) {expect(SETTINGS_HEADER_META[tab].title, `${tab} should keep its shell title canonical`).toBe(diff --git a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.tsnew file mode 100644index 0000000000..8b1bcf1a0d--- /dev/null+++ b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts@@ -0,0 +1,23 @@+export interface SelfHostedProBillingPresentation {+ shellTitle: string;+ shellDescription: string;+ infrastructureRouteReferral: string;+ infrastructureWorkspaceReferral: string;+ refreshLabel: string;+ planSectionTitle: string;+ planSectionDescription: string;+ usageSectionTitle: string;+}++export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentation = {+ shellTitle: 'Pulse Pro',+ shellDescription:+ 'Manage self-hosted billing, monitored-system limits, and Pulse Pro license status.',+ infrastructureRouteReferral: 'Billing and monitored-system limits live in Pulse Pro.',+ infrastructureWorkspaceReferral:+ 'Billing, monitored-system limits, and Pulse Pro license status live in Pulse Pro, not here.',+ refreshLabel: 'Refresh',+ planSectionTitle: 'Plan',+ planSectionDescription: 'Review your active plan, expiry, included limits, and paid capabilities.',+ usageSectionTitle: 'Usage',+};diff --git a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts b/frontend-modern/src/components/Settings/settingsHeaderMeta.tsindex 5cf1330810..9dcf88ad4a 100644--- a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts+++ b/frontend-modern/src/components/Settings/settingsHeaderMeta.ts@@ -1,5 +1,5 @@import type { SettingsHeaderMetaMap } from './settingsNavigationModel';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from './selfHostedBillingPresentation';export const SETTINGS_HEADER_META: SettingsHeaderMetaMap = {proxmox: {diff --git a/frontend-modern/src/components/Settings/settingsNavCatalog.ts b/frontend-modern/src/components/Settings/settingsNavCatalog.tsindex 7565d68a48..c236b1d12e 100644--- a/frontend-modern/src/components/Settings/settingsNavCatalog.ts+++ b/frontend-modern/src/components/Settings/settingsNavCatalog.ts@@ -17,7 +17,7 @@ import Building2 from 'lucide-solid/icons/building-2';import Share2 from 'lucide-solid/icons/share-2';import CreditCard from 'lucide-solid/icons/credit-card';import { PulseLogoIcon } from '@/components/icons/PulseLogoIcon';-import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from './selfHostedBillingPresentation';import type {SettingsNavGroup,SettingsNavItem,diff --git a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts b/frontend-modern/src/utils/__tests__/licensePresentation.test.tsindex 17497789b3..f45b9a4b55 100644--- a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts+++ b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts@@ -19,8 +19,8 @@ import {getTrialActivationNotice,isDisplayableLicenseFeature,SELF_HOSTED_ACTIVATION_PRESENTATION,- SELF_HOSTED_PRO_BILLING_PRESENTATION,} from '@/utils/licensePresentation';+import { SELF_HOSTED_PRO_BILLING_PRESENTATION } from '@/components/Settings/selfHostedBillingPresentation';describe('licensePresentation', () => {it('returns canonical tier labels', () => {diff --git a/frontend-modern/src/utils/licensePresentation.ts b/frontend-modern/src/utils/licensePresentation.tsindex 0421829eac..a11495aa44 100644--- a/frontend-modern/src/utils/licensePresentation.ts+++ b/frontend-modern/src/utils/licensePresentation.ts@@ -102,17 +102,6 @@ export interface SelfHostedActivationPresentation {trial: SelfHostedActivationTrialCopy;}-export interface SelfHostedProBillingPresentation {- shellTitle: string;- shellDescription: string;- infrastructureRouteReferral: string;- infrastructureWorkspaceReferral: string;- refreshLabel: string;- planSectionTitle: string;- planSectionDescription: string;- usageSectionTitle: string;-}-const GRANDFATHERED_V5_PLAN_LABELS: Record<string, string> = {v5_lifetime_grandfathered: 'V5 Lifetime Grandfathered',v5_pro_monthly_grandfathered: 'V5 Pro Monthly (Grandfathered)',@@ -373,20 +362,6 @@ export const SELF_HOSTED_ACTIVATION_PRESENTATION: SelfHostedActivationPresentati},};-export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentation = {- shellTitle: 'Pulse Pro',- shellDescription:- 'Manage self-hosted billing, monitored-system limits, and Pulse Pro license status.',- infrastructureRouteReferral: 'Billing and monitored-system limits live in Pulse Pro.',- infrastructureWorkspaceReferral:- 'Billing, monitored-system limits, and Pulse Pro license status live in Pulse Pro, not here.',- refreshLabel: 'Refresh',- planSectionTitle: 'Plan',- planSectionDescription:- 'Review your active plan, expiry, included limits, and paid capabilities.',- usageSectionTitle: 'Usage',-};-export const getOrganizationBillingLicenseStatusLabel = (status?: Pick<LicenseStatus, 'valid' | 'in_grace_period'> | null,): string => {