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.

Reduce default self-hosted activation framing

rcourtman3ae9521349ad
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 92cf1b7212..b03bef5601 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -307,7 +307,7 @@ rather than legacy Community limit enforcement.
tier-specific extras, with no standing Usage subtab, finite
policy banner, monitored-system limit row, or pause-new-admissions copy from
stale volume metadata. Retired `max_monitored_systems` pricing handoffs
- must land on the neutral Plans & Activation surface, not the usage ledger.
+ must land on the neutral self-hosted plan surface, not the usage ledger.
Any genuinely bounded monitored-system support context outside those
recognized plan labels may still land on the explicit usage-focused billing
state (`/settings/system/billing/usage?details=counting-rules`) so the
@@ -528,8 +528,8 @@ rather than legacy Community limit enforcement.
hosted mode, direct intent, activation/recovery state, or active entitlement
makes them relevant. The authenticated app shell must also skip background
`/api/license/commercial-posture` bootstrap while `presentationPolicy.hideUpgrade`
- is true; explicit Plans/Activation and hosted or prompt-allowed flows may
- still refresh the shared posture store.
+ is true; explicit self-hosted plan, activation/recovery, and hosted or
+ prompt-allowed flows may still refresh the shared posture store.
17. Keep hosted and trial billing construction separate from retired hosted-AI
quickstart inventory: `pkg/licensing/trial_start.go` and hosted
entitlement refresh paths may preserve historical billing fields for old
@@ -562,7 +562,7 @@ Retired trial-acquisition intents such as `trial_expired` must not be owned
pricing handoff destinations; no ordinary self-hosted runtime path should emit
them as an upgrade reason or plan-page CTA.
Legacy browser arrivals carrying that stale feature may land on the neutral
-Plans & Activation surface, but must not preserve `trial_expired` into a Pulse
+self-hosted plan surface, but must not preserve `trial_expired` into a Pulse
Account purchase-start handoff or trial-shaped checkout feature. The shared
upgrade-action fallback must therefore return no action for retired trial keys,
while the legacy `/pricing?feature=trial_expired` browser route may strip the
@@ -989,7 +989,7 @@ For self-hosted upgrades, that browser-facing feature metadata is now
canonically `self_hosted_plan`. Pulse Account may continue normalizing the
legacy `max_monitored_systems` alias only for already-created checkout records,
but in-product browser links and fallback helpers must route that alias to the
-neutral Plans & Activation surface instead of the monitored-system
+neutral self-hosted plan surface instead of the monitored-system
usage/counting-rules surface. The portal proxy contract, checked-in embedded
bundle, and rendered upgrade copy must treat self-hosted commerce as plan
selection and paid extras rather than monitored-system-cap expansion. Shared
@@ -1257,28 +1257,28 @@ callback. Pulse product routes
keep ownership of license status, usage, and activation state; `Pulse Account`
owns the commerce flow itself. That same self-hosted settings surface is
plan-owned rather than tier-owned: the navigation label is `Plans`, the
-surface title is `Plans & Activation`, and the canonical plan state must make
-the current unlocked tier plus capabilities immediately obvious so existing
-paid upgrades can confirm what their new key enabled without hunting through
-generic billing details. That entitlement-first summary must stay tier-
-specific and continuity-aware: Relay and Pulse Pro should describe the actual
-paid capabilities unlocked on this instance, while grandfathered pricing must
-make existing-price protection explicit without reviving finite monitored-
-system continuity copy for normalized no-cap self-hosted plans.
+surface title is `Self-hosted plan`, and the canonical plan state must make
+the current tier plus capabilities immediately obvious so existing paid
+upgrades can confirm what their new key enabled without hunting through
+generic billing details. That capability-first summary must stay tier-specific
+and continuity-aware: Relay and Pulse Pro should describe the actual paid
+capabilities available on this instance, while grandfathered pricing must make
+existing-price protection explicit without reviving finite monitored-system
+continuity copy for normalized no-cap self-hosted plans.
That top card is plan-owned, not raw subscription-state-owned: Community copy
should describe what is included on this instance in plain language, and the
current-plan badge must not present the fallback Community state as `Expired`
just because a prior paid subscription or trial ended.
Upsell on the self-hosted Plans surface must stay contextual and subordinate
-to entitlement clarity. The top card confirms the current unlocked tier first;
-only below that may Pulse show a factual comparison section for the next higher
+to current-plan clarity. The top card confirms the current tier first; only
+below that may Pulse show a factual comparison section for the next higher
tiers. Community may compare Relay and Pulse Pro, Relay may compare Pulse Pro,
and active Pulse Pro should not show a promotional higher-tier block on this
surface.
Fresh activation is part of that same governed plan state. After a checkout
return, trial handoff, or pasted-key activation succeeds, the owned plan
-surface must show an explicit success summary that names the unlocked tier
-and the marquee capabilities now available on this instance, rather than
+surface must show an explicit success summary that names the active tier and
+the marquee capabilities now available on this instance, rather than
falling back to a generic "activated" banner that leaves the user to infer
what changed from the steady-state billing card alone.
That same router-owned billing contract now also includes recovery as a plan
@@ -1519,10 +1519,10 @@ 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, v5-era "No Pro license" language, or `unlocked`
-entitlement phrasing before the operator opens an explicit comparison,
-checkout, activation, or recovery path.
+must describe the instance as ready to use rather than as missing an activation
+key, and 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 3db9bef3c9..5d59fbe3c5 100644
--- a/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ProLicensePanel.test.tsx
@@ -192,7 +192,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 & Activation')).not.toBeInTheDocument();
+ expect(screen.queryByText('Self-hosted plan')).not.toBeInTheDocument();
expect(screen.queryByText('Monitored Systems')).not.toBeInTheDocument();
expect(
screen.queryByRole('button', { name: /start 14-day pro trial/i }),
@@ -206,7 +206,7 @@ describe('ProLicensePanel', () => {
expect(loadLicenseEntitlementsMock).toHaveBeenCalled();
});
- expect(screen.getByText('Plans & Activation')).toBeInTheDocument();
+ expect(screen.getByText('Self-hosted plan')).toBeInTheDocument();
expect(screen.getByText('Current plan: Community')).toBeInTheDocument();
expect(screen.queryByRole('tab', { name: 'Usage' })).not.toBeInTheDocument();
expect(
@@ -371,7 +371,7 @@ describe('ProLicensePanel', () => {
expect(screen.getByText('V5 Lifetime Grandfathered')).toBeInTheDocument();
expect(
screen.getByText(
- 'See which self-hosted tier this instance is using, which capabilities are available, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using and which capabilities are available on this install.',
),
).toBeInTheDocument();
expect(screen.queryByText('Included Monitored Systems')).not.toBeInTheDocument();
@@ -490,7 +490,7 @@ describe('ProLicensePanel', () => {
expect(screen.queryByRole('tab', { name: 'Usage' })).not.toBeInTheDocument();
});
- it('shows Relay entitlement summaries from the paid capabilities unlocked on this instance', async () => {
+ it('shows Relay entitlement summaries from the paid capabilities available on this instance', async () => {
mockEntitlements = {
capabilities: ['relay', 'mobile_app', 'push_notifications'],
limits: [],
@@ -770,7 +770,7 @@ describe('ProLicensePanel', () => {
it('shows migration guidance when the pasted key looks like a legacy v5 license', async () => {
renderPanel();
- fireEvent.click(screen.getByText('Redeem existing key'));
+ fireEvent.click(screen.getByText('Use existing key'));
fireEvent.input(screen.getByLabelText(/license or activation key/i), {
target: { value: 'header.payload.signature' },
@@ -910,7 +910,7 @@ describe('ProLicensePanel', () => {
renderPanel();
- const recoveryDisclosure = screen.getAllByText('Redeem existing key')[0]?.closest('details');
+ const recoveryDisclosure = screen.getAllByText('Use existing key')[0]?.closest('details');
expect(recoveryDisclosure).toHaveAttribute('open');
});
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index b38ab4dd58..0a8b531362 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -108,13 +108,13 @@ describe('settings architecture guardrails', () => {
it('keeps self-hosted commercial settings plan-owned under one shared presentation model', () => {
expect(selfHostedBillingPresentationSource).toContain("navLabel: 'Plans'");
- expect(selfHostedBillingPresentationSource).toContain("shellTitle: 'Plans & Activation'");
+ expect(selfHostedBillingPresentationSource).toContain("shellTitle: 'Self-hosted plan'");
expect(selfHostedBillingPresentationSource).toContain(
- "shellDescription:\n 'Review your current self-hosted plan, activation status, and available capabilities.'",
+ "shellDescription:\n 'Review the plan this instance is using and the optional capabilities connected to it.'",
);
expect(selfHostedBillingPresentationSource).toContain("planSectionTitle: 'Current plan'");
expect(selfHostedBillingPresentationSource).toContain(
- "recoverySectionTitle: 'Activation & Recovery'",
+ "recoverySectionTitle: 'Existing purchases'",
);
expect(settingsNavCatalogSource).toContain(
diff --git a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
index 293d5862ec..56c0be92c6 100644
--- a/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
+++ b/frontend-modern/src/components/Settings/selfHostedBillingPresentation.ts
@@ -33,19 +33,19 @@ export interface SelfHostedProBillingPresentation {
export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentation = {
navLabel: 'Plans',
- shellTitle: 'Plans & Activation',
+ shellTitle: 'Self-hosted plan',
shellDescription:
- 'Review your current self-hosted plan, activation status, and available capabilities.',
+ 'Review the plan this instance is using and the optional capabilities connected to it.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, activation status, and available capabilities live in Plans, not here.',
+ 'Self-hosted plan status, optional activation, 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 is using, which capabilities are available, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using and which capabilities are available on this install.',
planComparisonSectionTitle: 'Optional extras',
planComparisonActionLabel: 'See all plans',
usageSectionTitle: 'Usage',
@@ -66,7 +66,7 @@ export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentat
purchaseExpiredActionLabel: 'Compare plans',
purchaseFailedActionLabel: 'Open recovery',
purchaseUnavailableActionLabel: 'Try again',
- recoverySectionTitle: 'Activation & Recovery',
+ recoverySectionTitle: 'Existing purchases',
recoverySectionDescription:
- 'Activate a purchased key, recover a previous self-hosted purchase, or clear a local key from this instance.',
+ 'Add an activation key you already have, recover a previous self-hosted purchase, or clear a local key from this instance.',
};
diff --git a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
index c2b2f497e7..760eb64f75 100644
--- a/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/licensePresentation.test.ts
@@ -46,32 +46,32 @@ describe('licensePresentation', () => {
text: 'Loading license status...',
});
expect(getNoActiveSelfHostedActivationState()).toEqual({
- text: 'No activation key is active on this instance.',
+ text: 'Community is ready to use on this instance.',
});
expect(SELF_HOSTED_RECOVERY_PRESENTATION).toMatchObject({
- disclosureLabel: 'Redeem existing key',
+ disclosureLabel: 'Use existing key',
fieldLabel: 'License or Activation Key',
- activateIdleLabel: 'Activate License',
- clearIdleLabel: 'Clear License',
+ activateIdleLabel: 'Activate Key',
+ clearIdleLabel: 'Clear Key',
legacyNotice: {
title: 'Legacy v5 license detected',
},
});
expect(SELF_HOSTED_PRO_BILLING_PRESENTATION).toEqual({
navLabel: 'Plans',
- shellTitle: 'Plans & Activation',
+ shellTitle: 'Self-hosted plan',
shellDescription:
- 'Review your current self-hosted plan, activation status, and available capabilities.',
+ 'Review the plan this instance is using and the optional capabilities connected to it.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans.',
infrastructureWorkspaceReferral:
- 'Billing, self-hosted plan changes, activation status, and available capabilities live in Plans, not here.',
+ 'Self-hosted plan status, optional activation, 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 is using, which capabilities are available, and how plan status or continuity affects this install.',
+ 'See which self-hosted tier this instance is using and which capabilities are available on this install.',
planComparisonSectionTitle: 'Optional extras',
planComparisonActionLabel: 'See all plans',
usageSectionTitle: 'Usage',
@@ -92,9 +92,9 @@ describe('licensePresentation', () => {
purchaseExpiredActionLabel: 'Compare plans',
purchaseFailedActionLabel: 'Open recovery',
purchaseUnavailableActionLabel: 'Try again',
- recoverySectionTitle: 'Activation & Recovery',
+ recoverySectionTitle: 'Existing purchases',
recoverySectionDescription:
- 'Activate a purchased key, recover a previous self-hosted purchase, or clear a local key from this instance.',
+ 'Add an activation key you already have, recover a previous self-hosted purchase, or clear a local key from this instance.',
});
});
diff --git a/frontend-modern/src/utils/licensePresentation.ts b/frontend-modern/src/utils/licensePresentation.ts
index 17fa3c6ed2..2cf451a3f4 100644
--- a/frontend-modern/src/utils/licensePresentation.ts
+++ b/frontend-modern/src/utils/licensePresentation.ts
@@ -803,22 +803,22 @@ export const getLicenseStatusLoadingState = (): LicenseLoadingStateCopy => ({
});
export const getNoActiveSelfHostedActivationState = (): LicenseLoadingStateCopy => ({
- text: 'No activation key is active on this instance.',
+ text: 'Community is ready to use on this instance.',
});
export const SELF_HOSTED_RECOVERY_PRESENTATION: SelfHostedRecoveryPresentation = {
- disclosureLabel: 'Redeem existing key',
+ disclosureLabel: 'Use existing key',
disclosureDescription:
- 'Use this only if you already have an activation key or need to recover a legacy self-hosted purchase on this instance.',
+ 'Use this only if you already have an activation key or need to recover a legacy self-hosted purchase.',
fieldLabel: 'License or Activation Key',
fieldPlaceholder: 'Paste your license key or activation key',
helpTextBeforeTerms:
'Paste the Pulse v6 activation key shown on the hosted checkout success page. A backup copy is also sent by email, but the hosted success page is the primary handoff. You can also paste a legacy Pulse v5 Pro/Lifetime license key and Pulse will exchange it automatically during activation when migration is available. By activating a license, you agree to the',
helpTextAfterTerms: '.',
termsLabel: 'Terms of Service',
- activateIdleLabel: 'Activate License',
+ activateIdleLabel: 'Activate Key',
activatePendingLabel: 'Activating...',
- clearIdleLabel: 'Clear License',
+ clearIdleLabel: 'Clear Key',
clearPendingLabel: 'Clearing...',
legacyNotice: {
title: 'Legacy v5 license detected',