mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
Replace semicolon in TrueNAS Protection stale-readings banner copy
Split the stale-readings banner sentence in TrueNASProtectionTable.tsx at the period instead of using a semicolon so frontend copy-style lint (npm run lint:copy) passes, update the matching unit test assertion, and refresh the paired browser verification receipt. Contract-Neutral: Copy punctuation fix in TrueNASProtectionTable.tsx and its unit test with no API, schema, routing, or behavioral contract changes. Change-source: pulse-maintainer
This commit is contained in:
@@ -446,7 +446,7 @@ export const TrueNASProtectionTable: Component<{
|
||||
data-testid="truenas-protection-stale-banner"
|
||||
>
|
||||
<strong>Some TrueNAS protection readings are stale.</strong> Affected snapshot and
|
||||
replication outcomes reflect the last successful TrueNAS poll; newer runs or
|
||||
replication outcomes reflect the last successful TrueNAS poll. Newer runs or
|
||||
failures may be missing.
|
||||
</InlineNotice>
|
||||
</Show>
|
||||
|
||||
@@ -528,7 +528,7 @@ describe('TrueNASProtectionTable stale-reading UI', () => {
|
||||
expect(banner).toHaveAttribute('role', 'status');
|
||||
expect(banner).toHaveTextContent('Some TrueNAS protection readings are stale.');
|
||||
expect(banner).toHaveTextContent(
|
||||
'Affected snapshot and replication outcomes reflect the last successful TrueNAS poll; newer runs or failures may be missing.',
|
||||
'Affected snapshot and replication outcomes reflect the last successful TrueNAS poll. Newer runs or failures may be missing.',
|
||||
);
|
||||
|
||||
// Narrowing to Healthy (current-only) hides the banner
|
||||
|
||||
Reference in New Issue
Block a user