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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Drop last stale interactiveSparklineModel + state ?raw imports
rcourtman74d4770d6104
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex 0a544f8064..baddeb3a7c 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -46,7 +46,6 @@ import tooltipSource from '@/components/shared/Tooltip.tsx?raw';import tooltipPortalSource from '@/components/shared/TooltipPortal.tsx?raw';import tooltipModelSource from '@/components/shared/tooltipModel.ts?raw';import upgradeLinkSource from '@/components/shared/UpgradeLink.tsx?raw';-import interactiveSparklineModelSource from '@/components/shared/interactiveSparklineModel.ts?raw';import contextualFocusSource from '@/components/shared/contextualFocus.ts?raw';import summaryCardInteractionSource from '@/components/shared/summaryCardInteraction.ts?raw';import summaryRowActionButtonSource from '@/components/shared/SummaryRowActionButton.tsx?raw';@@ -85,7 +84,6 @@ import toggleStateSource from '@/components/shared/useToggleState.ts?raw';import searchTipsPopoverStateSource from '@/components/shared/useSearchTipsPopoverState.ts?raw';import tooltipStateSource from '@/components/shared/useTooltipState.ts?raw';import upgradeNavigationHookSource from '@/components/shared/useUpgradeNavigation.ts?raw';-import interactiveSparklineStateSource from '@/components/shared/useInteractiveSparklineState.ts?raw';import selectionCardGroupStateSource from '@/components/shared/useSelectionCardGroupState.ts?raw';import webInterfaceUrlFieldSource from '@/components/shared/WebInterfaceUrlField.tsx?raw';import webInterfaceUrlFieldModelSource from '@/components/shared/webInterfaceUrlFieldModel.ts?raw';@@ -353,7 +351,6 @@ describe('shared primitive guardrails', () => {expect(summaryCardInteractionSource).toContain('resolveSummaryGroupScope');expect(summaryCardInteractionSource).toContain('resolveSummaryGroupMemberInteractionState');expect(summaryCardInteractionSource).toContain('resolveSummaryScopeState');- expect(interactiveSparklineModelSource).toContain('onHoverSyncChange');expect(workloadSelectionStateSource).toContain('preserveScrollableAncestorVerticalOffset');expect(workloadSelectionStateSource).toContain('hoveredWorkloadGroupScope');@@ -387,9 +384,6 @@ describe('shared primitive guardrails', () => {it('keeps synchronized summary values on one shared card/readout contract', () => {- expect(interactiveSparklineModelSource).toContain(- 'buildInteractiveSparklineSynchronizedReadout',- );});@@ -758,29 +752,7 @@ describe('shared primitive guardrails', () => {it('keeps interactive sparkline on shell, runtime, and model owners', () => {- expect(interactiveSparklineStateSource).toContain(- 'export function useInteractiveSparklineState',- );- expect(interactiveSparklineStateSource).toContain('activeSeriesDisplay');- expect(interactiveSparklineStateSource).toContain('shouldRenderSeries');- expect(interactiveSparklineStateSource).toContain('renderedSeriesCount');- expect(interactiveSparklineStateSource).toContain('createSignal');- expect(interactiveSparklineStateSource).toContain('scheduleSparkline');- expect(interactiveSparklineStateSource).toContain('computeInteractiveSparklineHoverState');- expect(interactiveSparklineStateSource).toContain('const localHover = hoveredState();');- expect(interactiveSparklineStateSource).toContain('return localHover.x;');- expect(interactiveSparklineStateSource).toContain('timestamp: synchronizedHoverTimestamp()');- expect(interactiveSparklineStateSource).not.toContain('timestamp: activeHoverTimestamp()');-- expect(interactiveSparklineModelSource).toContain('buildInteractiveSparklineChartData');- expect(interactiveSparklineModelSource).toContain('computeInteractiveSparklineHoverState');- expect(interactiveSparklineModelSource).toContain('getInteractiveSparklineCursorXForTimestamp');- expect(interactiveSparklineModelSource).toContain('getInteractiveSparklineTooltipSideX');- expect(interactiveSparklineModelSource).toContain(- 'const tooltipY = chartRect.top + mouseY - 6;',- );- expect(interactiveSparklineModelSource).toContain('downsampleLTTB');- expect(interactiveSparklineModelSource).toContain('findNearestMetricPoint');+});it('keeps dialog on shell, runtime, and model owners', () => {diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex 0ee6e59cba..ae616e620d 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -47,7 +47,6 @@ import searchTipsPopoverModelSource from '@/components/shared/searchTipsPopoverMimport tooltipSource from '@/components/shared/Tooltip.tsx?raw';import tooltipModelSource from '@/components/shared/tooltipModel.ts?raw';import upgradeLinkSource from '@/components/shared/UpgradeLink.tsx?raw';-import interactiveSparklineModelSource from '@/components/shared/interactiveSparklineModel.ts?raw';import selectionCardGroupSource from '@/components/shared/SelectionCardGroup.tsx?raw';import selectionCardGroupModelSource from '@/components/shared/selectionCardGroupModel.ts?raw';import commandPaletteStateSource from '@/components/shared/useCommandPaletteState.ts?raw';@@ -68,7 +67,6 @@ import toggleStateSource from '@/components/shared/useToggleState.ts?raw';import searchTipsPopoverStateSource from '@/components/shared/useSearchTipsPopoverState.ts?raw';import tooltipStateSource from '@/components/shared/useTooltipState.ts?raw';import upgradeNavigationHookSource from '@/components/shared/useUpgradeNavigation.ts?raw';-import interactiveSparklineStateSource from '@/components/shared/useInteractiveSparklineState.ts?raw';import selectionCardGroupStateSource from '@/components/shared/useSelectionCardGroupState.ts?raw';import resourceBadgePresentationSource from '@/utils/resourceBadgePresentation.ts?raw';import workloadTypeBadgesSource from '@/components/shared/workloadTypeBadges.ts?raw';@@ -2379,10 +2377,6 @@ describe('frontend resource type boundaries', () => {expect(dialogModelSource).toContain('getDialogViewportClass');expect(dialogModelSource).toContain('getDialogAlignmentClass');expect(dialogModelSource).toContain('getDialogPanelClass');- expect(interactiveSparklineStateSource).toContain('scheduleSparkline');- expect(interactiveSparklineStateSource).toContain('createSignal');- expect(interactiveSparklineModelSource).toContain('buildInteractiveSparklineChartData');- expect(interactiveSparklineModelSource).toContain('computeInteractiveSparklineHoverState');expect(historyChartSource).toContain('useHistoryChartState');expect(historyChartSource).toContain('HistoryChartHeader');expect(historyChartSource).toContain('HistoryChartOverlay');