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.

Neutralize self-hosted plan capability copy

rcourtman967056b9c7ab
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 707db88c67..92cf1b7212 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -1518,11 +1518,11 @@ opens the explicit self-hosted comparison surface, the shared presentation
helpers must show Pro's operations, admin, and reporting extras together while
still framing Community, Relay, and Pro as core monitoring included in every
self-hosted tier rather than monitored-system capacity tiers. The same factual
-plan surface must keep
-inactive-state copy neutral: default Community installs may say no activation
-key is active, but they must not foreground paid self-hosted activation or
-v5-era "No Pro license" language before the operator opens an explicit
-comparison, checkout, activation, or recovery path.
+plan surface must keep inactive-state copy neutral: default Community installs
+may say no activation key is active, but they must not foreground paid
+self-hosted activation, v5-era "No Pro license" language, or `unlocked`
+entitlement phrasing before the operator opens an explicit comparison,
+checkout, activation, or recovery path.
The shared license presentation owner also holds self-hosted Pro settings
trial-ended notice copy for `ProLicensePlanSection.tsx`; that surface must
consume canonical helper notices instead of carrying inline upgrade copy or
diff --git a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
index 1d35c9a825..3db9bef3c9 100644
--- a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
@@ -371,7 +371,7 @@ describe('ProLicensePanel', () => {
expect(screen.getByText('V5 Lifetime Grandfathered')).toBeInTheDocument();
expect(
screen.getByText(
- 'See which self-hosted tier this instance unlocked, what capabilities are active, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using, which capabilities are available, and how plan status or continuity affects this install.',
),
).toBeInTheDocument();
expect(screen.queryByText('Included Monitored Systems')).not.toBeInTheDocument();
@@ -473,7 +473,7 @@ describe('ProLicensePanel', () => {
expect(screen.getByText('Current plan: Pulse Pro')).toBeInTheDocument();
expect(
screen.getByText(
- 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
),
).toBeInTheDocument();
expect(screen.getByText('Primary capabilities')).toBeInTheDocument();
@@ -510,7 +510,7 @@ describe('ProLicensePanel', () => {
expect(
screen.getByText(
- 'Relay is active on this instance. Remote access, mobile, push, and longer history are unlocked right now.',
+ 'Relay is active on this instance. Remote access, mobile, push, and longer history are available right now.',
),
).toBeInTheDocument();
expect(screen.queryByText('Optional extras')).not.toBeInTheDocument();
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 9c93a04e5c..b38ab4dd58 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -110,7 +110,7 @@ describe('settings architecture guardrails', () => {
expect(selfHostedBillingPresentationSource).toContain("navLabel: 'Plans'");
expect(selfHostedBillingPresentationSource).toContain("shellTitle: 'Plans & Activation'");
expect(selfHostedBillingPresentationSource).toContain(
- "shellDescription:\n 'Review your current self-hosted plan, activation status, and unlocked capabilities.'",
+ "shellDescription:\n 'Review your current self-hosted plan, activation status, and available capabilities.'",
);
expect(selfHostedBillingPresentationSource).toContain("planSectionTitle: 'Current plan'");
expect(selfHostedBillingPresentationSource).toContain(
diff --git a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
index a770bf2da7..293d5862ec 100644
--- a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
+++ b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
@@ -35,17 +35,17 @@ export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentat
navLabel: 'Plans',
shellTitle: 'Plans & Activation',
shellDescription:
- 'Review your current self-hosted plan, activation status, and unlocked capabilities.',
+ 'Review your current self-hosted plan, activation status, and available capabilities.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, activation status, and unlocked capabilities live in Plans, not here.',
+ 'Billing, self-hosted plan changes, activation status, and available capabilities live in Plans, not here.',
sectionSelectorAriaLabel: 'Self-hosted plans section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
planSectionTitle: 'Current plan',
planSectionDescription:
- 'See which self-hosted tier this instance unlocked, what capabilities are active, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using, which capabilities are available, and how plan status or continuity affects this install.',
planComparisonSectionTitle: 'Optional extras',
planComparisonActionLabel: 'See all plans',
usageSectionTitle: 'Usage',
diff --git a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
index 3b6b664d0e..c2b2f497e7 100644
--- a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
@@ -61,17 +61,17 @@ describe('licensePresentation', () => {
navLabel: 'Plans',
shellTitle: 'Plans & Activation',
shellDescription:
- 'Review your current self-hosted plan, activation status, and unlocked capabilities.',
+ 'Review your current self-hosted plan, activation status, and available capabilities.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, activation status, and unlocked capabilities live in Plans, not here.',
+ 'Billing, self-hosted plan changes, activation status, and available capabilities live in Plans, not here.',
sectionSelectorAriaLabel: 'Self-hosted plans section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
planSectionTitle: 'Current plan',
planSectionDescription:
- 'See which self-hosted tier this instance unlocked, what capabilities are active, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using, which capabilities are available, and how plan status or continuity affects this install.',
planComparisonSectionTitle: 'Optional extras',
planComparisonActionLabel: 'See all plans',
usageSectionTitle: 'Usage',
@@ -274,7 +274,7 @@ describe('licensePresentation', () => {
}),
).toMatchObject({
title: 'Current plan: Pulse Pro',
- body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
supplementalBadges: [],
supplementalSummary: '',
});
@@ -296,7 +296,7 @@ describe('licensePresentation', () => {
}),
).toEqual({
title: 'Current plan: Pulse Pro',
- body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
unlockedFeaturesLabel: 'Primary capabilities',
unlockedFeatures: [
'Alert Root-Cause Analysis',
@@ -328,7 +328,7 @@ describe('licensePresentation', () => {
}),
).toMatchObject({
title: 'Current plan: Legacy Pulse Pro+',
- body: 'Legacy Pulse Pro+ is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ body: 'Legacy Pulse Pro+ is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
unlockedFeaturesLabel: 'Primary capabilities',
unlockedFeatures: [
'Alert Root-Cause Analysis',
@@ -357,7 +357,7 @@ describe('licensePresentation', () => {
}),
).toEqual({
title: 'Current plan: Pulse Pro',
- body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ body: 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
unlockedFeaturesLabel: 'Primary capabilities',
unlockedFeatures: [
'Alert Root-Cause Analysis',
diff --git a/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts b/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
index 1ddf38a97b..b68be7877e 100644
--- a/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
+++ b/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
@@ -97,7 +97,7 @@ describe('selfHostedPlans', () => {
'Remote access, mobile, and push',
);
expect(SELF_HOSTED_PLAN_BY_TIER.relay.entitlementSummary).toContain(
- 'Remote access, mobile, push, and longer history are unlocked right now.',
+ 'Remote access, mobile, push, and longer history are available right now.',
);
expect(SELF_HOSTED_PLAN_BY_TIER.relay.comparisonSummary).toContain(
'Reach this Pulse instance securely from anywhere',
@@ -113,7 +113,7 @@ describe('selfHostedPlans', () => {
'Analysis, remediation, and admin controls',
);
expect(SELF_HOSTED_PLAN_BY_TIER.pro.entitlementSummary).toContain(
- 'Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ 'Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
);
expect(SELF_HOSTED_PLAN_BY_TIER.pro.comparisonSummary).toContain(
'safe remediation workflows, 90-day history',
diff --git a/frontend-modern/src/utils/licensePresentation.ts b/frontend-modern/src/utils/licensePresentation.ts
index 693e7ef5cf..17fa3c6ed2 100644
--- a/frontend-modern/src/utils/licensePresentation.ts
+++ b/frontend-modern/src/utils/licensePresentation.ts
@@ -421,9 +421,9 @@ const getSelfHostedActivePlanSummary = (
case 'community':
return `${planLabel} is active on this instance. It includes self-hosted monitoring, 7-day metric history, Pulse Patrol (BYOK), and update alerts.`;
case 'relay':
- return `${planLabel} is active on this instance. Remote access, mobile, push, and longer history are unlocked right now.`;
+ return `${planLabel} is active on this instance. Remote access, mobile, push, and longer history are available right now.`;
case 'pro':
- return `${planLabel} is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.`;
+ return `${planLabel} is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.`;
default:
return null;
}
@@ -470,8 +470,8 @@ export const getSelfHostedCurrentPlanPresentation = ({
if (!current) {
return {
title: 'Current plan: Unknown',
- body: 'Pulse is still loading the current self-hosted entitlement for this instance.',
- unlockedFeaturesLabel: 'Unlocked on this instance',
+ body: 'Pulse is still loading the current self-hosted plan state for this instance.',
+ unlockedFeaturesLabel: 'Available on this instance',
unlockedFeatures: [],
includedExtras: [],
supplementalBadges: [],
@@ -575,7 +575,7 @@ export const getSelfHostedCurrentPlanPresentation = ({
title: `Current plan: ${planLabel}`,
body:
getSelfHostedActivePlanSummary(planLabel, planDefinition) ||
- `${planLabel} is active on this instance. These capabilities are unlocked right now.`,
+ `${planLabel} is active on this instance. These capabilities are available right now.`,
unlockedFeaturesLabel,
unlockedFeatures,
includedExtrasLabel: includedExtras.length > 0 ? 'Included extras' : undefined,
@@ -587,8 +587,8 @@ export const getSelfHostedCurrentPlanPresentation = ({
return {
title: `Current plan: ${planLabel}`,
- body: 'Review the plan details below to confirm what this key unlocks on this instance.',
- unlockedFeaturesLabel: 'Unlocked on this instance',
+ body: 'Review the plan details below to confirm what this key enables on this instance.',
+ unlockedFeaturesLabel: 'Available on this instance',
unlockedFeatures,
includedExtras,
supplementalBadges,
diff --git a/frontend-modern/src/utils/selfHostedPlans.ts b/frontend-modern/src/utils/selfHostedPlans.ts
index 906e625b30..2dd372b1db 100644
--- a/frontend-modern/src/utils/selfHostedPlans.ts
+++ b/frontend-modern/src/utils/selfHostedPlans.ts
@@ -113,7 +113,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
metricHistoryDays: 14,
billingExtrasSummary: 'Remote access, mobile, and push',
entitlementSummary:
- 'Relay is active on this instance. Remote access, mobile, push, and longer history are unlocked right now.',
+ 'Relay is active on this instance. Remote access, mobile, push, and longer history are available right now.',
entitlementHighlights: getTierEntitlementHighlights('relay', 14),
includedExtras: [],
comparisonSummary:
@@ -135,7 +135,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
metricHistoryDays: 90,
billingExtrasSummary: 'Analysis, remediation, and admin controls',
entitlementSummary:
- 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are unlocked right now.',
+ 'Pulse Pro is active on this instance. Root-cause analysis, safe remediation workflows, 90-day history, and admin/reporting extras are available right now.',
entitlementHighlights: getTierEntitlementHighlights('pro', 90),
includedExtras: getTierIncludedExtras('pro'),
comparisonSummary: