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.

Align History guardrails and record valid UTC browser proof

pulse-triage[bot]df18123e7da3
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index f9f7e62f7e..bd379e2ebb 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,7 +1,7 @@
{
"version": 1,
- "base_sha": "65a36dd4e7a83e682b9dadc4bb624d79fcb10546",
- "verified_at": "2026-10-02T15:52:23.739120+00:00",
+ "base_sha": "c6edeee869a11f9206390e855fc63da744fb394a",
+ "verified_at": "2026-10-02T15:53:54.725571Z",
"result": "passed",
"changed_paths": [
"frontend-modern/src/components/shared/HistoryChart.tsx",
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index 1325a4260f..95c9485247 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -5283,7 +5283,8 @@ describe('shared primitive guardrails', () => {
expect(historyChartHeaderSource).not.toContain('ChartsAPI.getMetricsHistory');
expect(historyChartHeaderSource).not.toContain('setupCanvasDPR');
- expect(historyChartOverlaySource).toContain('Collecting data... History will appear here.');
+ expect(historyChartOverlaySource).toContain('No history samples in this time range.');
+ expect(historyChartOverlaySource).not.toContain('History will appear here.');
expect(historyChartOverlaySource).toContain(
'Historical data beyond {props.chart.lockDays()} days requires a higher license plan.',
);
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index 35e2debb92..9dfa485452 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -2452,7 +2452,8 @@ describe('frontend resource type boundaries', () => {
expect(historyChartModelSource).toContain('HISTORY_CHART_RANGES');
expect(historyChartModelSource).toContain('getHistoryChartScale');
expect(historyChartHeaderSource).toContain('formatHistoryChartTooltipValue');
- expect(historyChartOverlaySource).toContain('Collecting data... History will appear here.');
+ expect(historyChartOverlaySource).toContain('No history samples in this time range.');
+ expect(historyChartOverlaySource).not.toContain('History will appear here.');
expect(historyChartOverlaySource).not.toContain('presentationPolicyHidesUpgradePrompts');
expect(historyChartOverlaySource).not.toContain(
'Unlock {props.chart.lockTierLabel()} Features',