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.

Use sentences in the protection refresh warning

pulse-triage[bot]5b4eebbb2e41
diff --git a/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx b/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx
index 45d899e7af..28a20816de 100644
--- a/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx
+++ b/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx
@@ -431,7 +431,7 @@ export const TrueNASProtectionTable: Component<{
<InlineNotice role="alert" tone="warning" aria-label="Protection refresh failed">
<p class="font-medium">Could not refresh TrueNAS protection.</p>
<p>
- Showing previously loaded events. Outcomes and counts may be out of date; newer
+ Showing previously loaded events. Outcomes and counts may be out of date. Newer
activity may be missing.
</p>
<Show when={props.onRefresh}>
diff --git a/frontend-modern/src/features/truenas/__tests__/TrueNASProtectionTable.refresh.test.tsx b/frontend-modern/src/features/truenas/__tests__/TrueNASProtectionTable.refresh.test.tsx
index 726691ed9f..afc3bc42b7 100644
--- a/frontend-modern/src/features/truenas/__tests__/TrueNASProtectionTable.refresh.test.tsx
+++ b/frontend-modern/src/features/truenas/__tests__/TrueNASProtectionTable.refresh.test.tsx
@@ -85,8 +85,9 @@ describe('TrueNAS protection refresh evidence', () => {
expect(notice()).toHaveTextContent('Could not refresh TrueNAS protection.');
expect(notice()).toHaveTextContent('Showing previously loaded events.');
- expect(notice()).toHaveTextContent('Outcomes and counts may be out of date;');
- expect(notice()).toHaveTextContent('newer activity may be missing.');
+ expect(notice()).toHaveTextContent(
+ 'Outcomes and counts may be out of date. Newer activity may be missing.',
+ );
expect(document.body).not.toHaveTextContent('private-host');
expect(row('apps')).toHaveAttribute('data-truenas-protection-outcome', 'success');
expect(row('archive')).toHaveAttribute('data-truenas-protection-outcome', 'failed');