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.

Retire inactive Pro upsell helper

rcourtman8a32b9be2ca9
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 455fcc50ed..d292b80cad 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -1452,8 +1452,9 @@ That same plan-section boundary also owns the rule that Community (non-paid)
users must not be funneled through upgrade CTAs inside Settings -> Plan.
`ProLicensePlanSection.tsx` must not render the monitored-system upgrade
arrival banner, the trial-start CTA, or the inactive-Pro upsell notice to
-users without paid features, and the capacity-section `Upgrade plan` button
-must be gated on `hasPaidFeatures`. Self-hosted Pro marketing lives at
+users without paid features, `licensePresentation.ts` must not retain a dead
+inactive-Pro upsell helper for that surface, and the capacity-section `Upgrade
+plan` button must be gated on `hasPaidFeatures`. Self-hosted Pro marketing lives at
`pulserelay.pro/pricing`; the Settings plan surface must show factual
license state for Community users and leave discovery of paid tiers to
surfaces outside the plan page.
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index cf9854fd39..16c9861d54 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -2520,7 +2520,7 @@ describe('frontend resource type boundaries', () => {
expect(licensePresentationSource).toContain('export const getLicenseStatusLoadingState');
expect(licensePresentationSource).toContain('export const getNoActiveProLicenseState');
expect(licensePresentationSource).not.toContain('export const getTrialEndedProLicenseNotice');
- expect(licensePresentationSource).toContain('export const getInactiveProUpsellNotice');
+ expect(licensePresentationSource).not.toContain('export const getInactiveProUpsellNotice');
expect(licensePresentationSource).toContain(
'export const getOrganizationBillingLicenseStatusLabel',
);
diff --git a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
index c259371d79..e542006b4c 100644
--- a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
@@ -21,7 +21,6 @@ import {
getMonitoredSystemContinuityNotice,
getNoActiveProLicenseState,
getOrganizationBillingLicenseStatusLabel,
- getInactiveProUpsellNotice,
getPurchaseActivationNotice,
isDisplayableLicenseFeature,
isGrandfatheredRecurringV5PlanVersion,
@@ -49,12 +48,6 @@ describe('licensePresentation', () => {
expect(getNoActiveProLicenseState()).toEqual({
text: 'No Pro license is active.',
});
- expect(getInactiveProUpsellNotice()).toEqual({
- tone: 'border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-900 text-amber-800 dark:text-amber-200',
- title: 'Pro options available',
- body: 'Pro adds root-cause analysis, safe remediation workflows, and 90-day history without changing the free self-hosted monitoring scope.',
- actionLabel: 'View Pro plans',
- });
expect(SELF_HOSTED_RECOVERY_PRESENTATION).toMatchObject({
disclosureLabel: 'Redeem existing key',
fieldLabel: 'License or Activation Key',
diff --git a/frontend-modern/src/utils/licensePresentation.ts b/frontend-modern/src/utils/licensePresentation.ts
index 199ec58dc2..ea35f3b410 100644
--- a/frontend-modern/src/utils/licensePresentation.ts
+++ b/frontend-modern/src/utils/licensePresentation.ts
@@ -779,13 +779,6 @@ export const getNoActiveProLicenseState = (): LicenseLoadingStateCopy => ({
text: 'No Pro license is active.',
});
-export const getInactiveProUpsellNotice = (): LicenseActionNotice => ({
- tone: 'border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-900 text-amber-800 dark:text-amber-200',
- title: 'Pro options available',
- body: 'Pro adds root-cause analysis, safe remediation workflows, and 90-day history without changing the free self-hosted monitoring scope.',
- actionLabel: 'View Pro plans',
-});
-
export const SELF_HOSTED_RECOVERY_PRESENTATION: SelfHostedRecoveryPresentation = {
disclosureLabel: 'Redeem existing key',
disclosureDescription: