Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Restore Pulse Pro settings framing

rcourtmanf6f8a4f6bc65
diff --git a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
index 2d8b963483..51978a00f7 100644
--- a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
@@ -188,7 +188,7 @@ describe('ProLicensePanel', () => {
expect(loadCommercialPostureMock).not.toHaveBeenCalled();
expect(screen.getByText('License and billing details are hidden')).toBeInTheDocument();
expect(screen.getByText(/instead of creating a demo license/i)).toBeInTheDocument();
- expect(screen.queryByText('Plans & Billing')).not.toBeInTheDocument();
+ expect(screen.queryByText('Pulse Pro')).not.toBeInTheDocument();
expect(screen.queryByText('Monitored Systems')).not.toBeInTheDocument();
expect(
screen.queryByRole('button', { name: /start 14-day pro trial/i }),
@@ -202,7 +202,7 @@ describe('ProLicensePanel', () => {
expect(loadLicenseEntitlementsMock).toHaveBeenCalled();
});
- expect(screen.getByText('Plans & Billing')).toBeInTheDocument();
+ expect(screen.getByText('Pulse Pro')).toBeInTheDocument();
expect(screen.queryByRole('tab', { name: 'Usage' })).not.toBeInTheDocument();
expect(
screen.queryByRole('button', { name: /start 14-day pro trial/i }),
diff --git a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
index d948cd2dd5..75dcd0ffd8 100644
--- a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
+++ b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
@@ -33,13 +33,13 @@ export interface SelfHostedProBillingPresentation {
}
export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentation = {
- shellTitle: 'Plans & Billing',
+ shellTitle: 'Pulse Pro',
shellDescription:
'Manage self-hosted plans, activation, and how Pulse helps when something breaks.',
- infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans & Billing.',
+ infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Pulse Pro.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, and activation status live in Plans & Billing, not here.',
- sectionSelectorAriaLabel: 'Self-hosted billing section',
+ 'Billing, self-hosted plan changes, and activation status live in Pulse Pro, not here.',
+ sectionSelectorAriaLabel: 'Pulse Pro billing section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
diff --git a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
index 4c3b71654d..b7ecd5bdcf 100644
--- a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
@@ -63,13 +63,13 @@ describe('licensePresentation', () => {
},
});
expect(SELF_HOSTED_PRO_BILLING_PRESENTATION).toEqual({
- shellTitle: 'Plans & Billing',
+ shellTitle: 'Pulse Pro',
shellDescription:
'Manage self-hosted plans, activation, and how Pulse helps when something breaks.',
- infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans & Billing.',
+ infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Pulse Pro.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, and activation status live in Plans & Billing, not here.',
- sectionSelectorAriaLabel: 'Self-hosted billing section',
+ 'Billing, self-hosted plan changes, and activation status live in Pulse Pro, not here.',
+ sectionSelectorAriaLabel: 'Pulse Pro billing section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
@@ -295,7 +295,7 @@ describe('licensePresentation', () => {
});
expect(getTrialActivationNotice('invalid')).toMatchObject({
title: 'Activation link invalid',
- body: expect.stringContaining('Return to Plans & Billing'),
+ body: expect.stringContaining('Return to Pulse Pro'),
});
expect(getTrialActivationNotice('unavailable')).toMatchObject({
title: 'Activation unavailable',
diff --git a/frontend-modern/src/utils/licensePresentation.ts b/frontend-modern/src/utils/licensePresentation.ts
index 0c6f11f8df..9314322c58 100644
--- a/frontend-modern/src/utils/licensePresentation.ts
+++ b/frontend-modern/src/utils/licensePresentation.ts
@@ -323,7 +323,7 @@ export const getTrialActivationNotice = (result?: string | null): LicenseInlineN
return {
tone: 'border-red-200 dark:border-red-900 bg-red-50 dark:bg-red-900 text-red-900 dark:text-red-100',
title: 'Activation link invalid',
- body: 'That activation handoff is invalid or expired. Return to Plans & Billing on this instance and start a fresh secure trial handoff.',
+ body: 'That activation handoff is invalid or expired. Return to Pulse Pro on this instance and start a fresh secure trial handoff.',
};
case 'replayed':
return {