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.

Polish monitored-system ledger disclosure copy

rcourtmanb670cf234103
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 49688c7945..15df27cb49 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -205,6 +205,10 @@ That billing support surface must also remain readable while mixed-version
clients and servers roll forward: missing explanation payloads may degrade to a
safe generic explanation, but the monitored-system ledger must never fail the
page or hide counted systems because the nested support details are absent.
+That same disclosure copy must stay professional and customer-facing. The
+settings ledger may expose counting details and included collection paths, but
+it must avoid informal debug-style labels or ad hoc wording that makes the
+commercial usage surface feel provisional.
Frontend billing/admin surfaces must not synthesize `plan_version` from
subscription lifecycle state. When a hosted billing record lacks a plan label,
the UI must preserve that absence instead of fabricating values like `active`
diff --git a/frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx b/frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx
index ea08bb9116..2a9c59b079 100644
--- a/frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx
+++ b/frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx
@@ -157,7 +157,7 @@ export function MonitoredSystemLedgerPanel(props: MonitoredSystemLedgerPanelProp
aria-controls={explanationID}
onClick={() => toggleSystemExplanation(key)}
>
- {expanded() ? 'Hide count details' : 'Why this counts'}
+ {expanded() ? 'Hide counting details' : 'View counting details'}
</button>
<Show when={expanded()}>
<div
@@ -176,7 +176,7 @@ export function MonitoredSystemLedgerPanel(props: MonitoredSystemLedgerPanelProp
</Show>
<Show when={explanation.surfaces.length > 0}>
<div class="space-y-1">
- <p class="font-medium text-base-content">Included views</p>
+ <p class="font-medium text-base-content">Included collection paths</p>
<ul class="space-y-1 whitespace-normal">
<For each={explanation.surfaces}>
{(surface) => (
diff --git a/frontend-modern/src/components/Settings/__tests__/MonitoredSystemLedgerPanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/MonitoredSystemLedgerPanel.test.tsx
index 9179814a34..2c65e237d0 100644
--- a/frontend-modern/src/components/Settings/__tests__/MonitoredSystemLedgerPanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/MonitoredSystemLedgerPanel.test.tsx
@@ -198,14 +198,14 @@ describe('MonitoredSystemLedgerPanel', () => {
).toBeInTheDocument();
expect(screen.getByText('server-b')).toBeInTheDocument();
expect(screen.getByText('2 / 10')).toBeInTheDocument();
- expect(screen.getAllByRole('button', { name: 'Why this counts' })).toHaveLength(2);
- fireEvent.click(screen.getAllByRole('button', { name: 'Why this counts' })[1]!);
+ expect(screen.getAllByRole('button', { name: 'View counting details' })).toHaveLength(2);
+ fireEvent.click(screen.getAllByRole('button', { name: 'View counting details' })[1]!);
expect(
screen.getByText(
'Counts as one monitored system because Pulse merged 2 top-level views into one canonical system using shared machine identity.',
),
).toBeInTheDocument();
- expect(screen.getByText('Included views')).toBeInTheDocument();
+ expect(screen.getByText('Included collection paths')).toBeInTheDocument();
expect(screen.getByText('server-b host (host, agent)')).toBeInTheDocument();
expect(screen.queryByText('Failed to load monitored system ledger.')).not.toBeInTheDocument();
});
@@ -231,11 +231,11 @@ describe('MonitoredSystemLedgerPanel', () => {
expect(screen.getByText('server-a')).toBeInTheDocument();
});
- fireEvent.click(screen.getByRole('button', { name: 'Why this counts' }));
+ fireEvent.click(screen.getByRole('button', { name: 'View counting details' }));
expect(
screen.getByText('Pulse counts this top-level collection path as one monitored system.'),
).toBeInTheDocument();
- expect(screen.queryByText('Included views')).not.toBeInTheDocument();
+ expect(screen.queryByText('Included collection paths')).not.toBeInTheDocument();
});
});