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.

Canonicalize product table card headers

rcourtman58c96b268154
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index b247b9f5b7..3ca3c97040 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -133,10 +133,11 @@ work extends shared components instead of creating new local variants.
107. `frontend-modern/src/components/shared/summaryInteractionA11y.ts`
108. `frontend-modern/src/components/shared/SummaryRowActionButton.tsx`
109. `frontend-modern/src/hooks/createNonSuspendingQuery.ts`
-110. `frontend-modern/src/components/shared/SummaryTableCardHeader.tsx`
-111. `frontend-modern/src/components/shared/UpgradeLink.tsx`
-112. `frontend-modern/src/components/shared/useUpgradeNavigation.ts`
-113. `frontend-modern/src/utils/upgradeNavigation.ts`
+110. `frontend-modern/src/components/shared/TableCardHeader.tsx`
+111. `frontend-modern/src/components/shared/SummaryTableCardHeader.tsx`
+112. `frontend-modern/src/components/shared/UpgradeLink.tsx`
+113. `frontend-modern/src/components/shared/useUpgradeNavigation.ts`
+114. `frontend-modern/src/utils/upgradeNavigation.ts`
115. `frontend-modern/src/components/DemoBanner.tsx`
116. `frontend-modern/src/components/Login.tsx`
117. `frontend-modern/src/stores/demoMode.ts`
@@ -168,12 +169,13 @@ work extends shared components instead of creating new local variants.
## Extension Points
1. Add shared primitives in `frontend-modern/src/components/shared/`
- Framed product table surfaces must consume the shared
- `TableCard` primitive instead of composing page-local `Card` border,
- background, and overflow classes. Feature owners may own the table data,
- filters, columns, and row behavior, but the outer product-table frame and
- its light/dark border treatment belong to frontend primitives so
- Infrastructure, Workloads, Storage, and Recovery do not drift visually.
+ Framed product table surfaces must consume the shared `TableCard` frame and
+ `TableCardHeader` title/action band instead of composing page-local `Card`
+ border, background, overflow, or table-title chrome. Feature owners may own
+ the table data, filters, columns, and row behavior, but the outer
+ product-table frame, section header band, and light/dark border treatment
+ belong to frontend primitives so Infrastructure, Workloads, Storage, and
+ Recovery do not drift visually.
Shared monitored-system warning primitives under that path must stay compact
app-shell pointers into the owned Pulse Pro billing surface. The shared
banner may announce posture and route to the relevant billing tab, but
diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
index c93e991de4..37839a1e45 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -226,10 +226,11 @@ regression protection.
rather than local `bg-surface-alt` or hover-fill variants that drift between
pages.
Framed product-table cards on the same hot-path surfaces must consume the
- frontend-primitives-owned `TableCard` wrapper so Workloads,
- Infrastructure, Storage, and Recovery keep one border/background/overflow
- frame instead of introducing page-local table shells with different
- light/dark contrast.
+ frontend-primitives-owned `TableCard` wrapper and `TableCardHeader`
+ title/action band so Workloads, Infrastructure, Storage, and Recovery keep
+ one border/background/overflow frame and table-section header treatment
+ instead of introducing page-local table shells with different light/dark
+ contrast.
Infrastructure table responsive behavior belongs to that same hot-path
owner. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts`
must derive column visibility from the measured table surface width, with
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index e180550620..2a85dae7bd 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -69,10 +69,11 @@ querying, and the operator-facing storage health presentation layer.
1. Add or change recovery-point persistence, rollups, or series derivation through `internal/recovery/`
2. Add or change recovery page UX through `frontend-modern/src/components/Recovery/` and keep canonical route/query/filter state ownership in `frontend-modern/src/features/recovery/useRecoverySurfaceState.ts`
Recovery table surfaces must consume the frontend-primitives-owned
- `TableCard` frame for protected-item, recovery-event, and adjacent
- table-fallback chrome. Storage/recovery may own table content, filters,
- columns, and rows, but it must not fork border/background/overflow table
- shells or reintroduce lighter open-sided Recovery table frames.
+ `TableCard` frame and `TableCardHeader` header band for protected-item,
+ recovery-event, and adjacent table-fallback chrome. Storage/recovery may own
+ table content, filters, columns, and rows, but it must not fork
+ border/background/overflow table shells, page-local table-title bands, or
+ lighter open-sided Recovery table frames.
Recovery inventory protection posture and recovery-event outcome filtering
must stay separate in that owner: protected inventory uses the route-backed
`state` query for health, stale, failed, warning, running, unknown, and
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 054b933e3b..06b0dcf01e 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -143,6 +143,10 @@ cross-source deduplication.
accessible group label, while Proxmox, Kubernetes, and other platform
clusters stay reserved for actual resource identity, filters, and detail
surfaces.
+ Infrastructure host and service table cards must consume the
+ frontend-primitives-owned `TableCard` frame and `TableCardHeader` header
+ band; unified resources owns the resource identity, rows, grouping, and
+ detail presentation, not page-local table-shell chrome.
Resource detail mappers now reuse the shared
`frontend-modern/src/utils/textPresentation.ts` title-case helper for sensor
diff --git a/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx b/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx
index a4f676ceb4..d942ebb07b 100644
--- a/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx
+++ b/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx
@@ -1,7 +1,7 @@
import { For } from 'solid-js';
import { ComponentErrorBoundary } from '@/components/ErrorBoundary';
-import { SummaryTableCardHeader } from '@/components/shared/SummaryTableCardHeader';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import { Table } from '@/components/shared/Table';
import { TableCard } from '@/components/shared/TableCard';
@@ -66,7 +66,7 @@ export function DashboardWorkloadTable(props: DashboardWorkloadTableProps) {
data-summary-clear-surface
data-testid="workloads-table-surface"
>
- <SummaryTableCardHeader
+ <TableCardHeader
title="Workloads"
showClearAction={showClearSelection()}
onClear={props.clearPinnedSummaryScope}
diff --git a/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx b/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx
index e8ad80ac95..1b28403428 100644
--- a/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx
+++ b/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx
@@ -795,7 +795,7 @@ describe('Dashboard performance contract', () => {
expect(dashboardWorkloadTableSource).toContain('data-summary-clear-surface');
expect(dashboardWorkloadTableSource).toContain('data-testid="workloads-table-surface"');
expect(dashboardWorkloadTableSource).toContain('TableCard');
- expect(dashboardWorkloadTableSource).toContain('SummaryTableCardHeader');
+ expect(dashboardWorkloadTableSource).toContain('TableCardHeader');
expect(dashboardWorkloadTableSource).toContain('showClearSelection');
expect(dashboardWorkloadTableSource).toContain('clearPinnedSummaryScope');
expect(dashboardFilterSource).not.toContain('const [filtersOpen, setFiltersOpen] =');
diff --git a/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx b/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
index dfabb92bb3..3877cf9c57 100644
--- a/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
+++ b/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
@@ -4,7 +4,7 @@ import type { Disk } from '@/types/api';
import { formatBytes, formatSpeed, formatUptime, normalizeDiskArray } from '@/utils/format';
import { formatTemperature } from '@/utils/temperature';
import { getInteractiveGroupedTableRowClass } from '@/components/shared/groupedTableRowPresentation';
-import { SummaryTableCardHeader } from '@/components/shared/SummaryTableCardHeader';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import { TableCard } from '@/components/shared/TableCard';
import {
Table,
@@ -64,7 +64,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
return (
<Show when={table.showHostTable()}>
<TableCard class="mb-0">
- <SummaryTableCardHeader
+ <TableCardHeader
title="Agent Infrastructure"
showClearAction={table.showHostClearAction()}
onClear={tableProps.clearPinnedSummaryScope}
diff --git a/frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx b/frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx
index fda0038974..c1a479867b 100644
--- a/frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx
+++ b/frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx
@@ -1,6 +1,6 @@
import { Show } from 'solid-js';
import type { Component } from 'solid-js';
-import { SummaryTableCardHeader } from '@/components/shared/SummaryTableCardHeader';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import { TableCard } from '@/components/shared/TableCard';
import {
type UnifiedResourceTableProps,
@@ -22,7 +22,7 @@ export const UnifiedResourceServiceInfrastructureCard: Component<
return (
<Show when={table.sortedPBSResources().length > 0 || table.sortedPMGResources().length > 0}>
<TableCard class="mb-0">
- <SummaryTableCardHeader
+ <TableCardHeader
title="Service Infrastructure"
showClearAction={table.showServiceClearAction()}
onClear={tableProps.clearPinnedSummaryScope}
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx
index 11adc58ce9..a8a83fac04 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx
@@ -518,12 +518,12 @@ describe('UnifiedResourceTable performance contract', () => {
expect(unifiedResourceHostTableCardSource).toContain('getInteractiveGroupedTableRowClass');
expect(unifiedResourceHostTableCardSource).not.toContain('cursor-pointer bg-surface-alt');
expect(unifiedResourceHostTableCardSource).toContain('TableCard');
- expect(unifiedResourceHostTableCardSource).toContain('SummaryTableCardHeader');
+ expect(unifiedResourceHostTableCardSource).toContain('TableCardHeader');
expect(unifiedResourceHostTableCardSource).toContain(
'onClear={tableProps.clearPinnedSummaryScope}',
);
expect(unifiedResourceServiceInfrastructureCardSource).toContain('TableCard');
- expect(unifiedResourceServiceInfrastructureCardSource).toContain('SummaryTableCardHeader');
+ expect(unifiedResourceServiceInfrastructureCardSource).toContain('TableCardHeader');
expect(unifiedResourceServiceInfrastructureCardSource).toContain('showClearAction');
expect(unifiedResourceServiceInfrastructureCardSource).toContain(
'onClear={tableProps.clearPinnedSummaryScope}',
diff --git a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx
index 6a3fba8e3f..476bf91e7c 100644
--- a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx
@@ -13,6 +13,7 @@ import {
import { PageControls } from '@/components/shared/PageControls';
import { SearchInput } from '@/components/shared/SearchInput';
import { TableCard } from '@/components/shared/TableCard';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import type { ColumnDef } from '@/hooks/useColumnVisibility';
import { STORAGE_KEYS } from '@/utils/localStorage';
import type { RecoveryOutcome, RecoveryPoint } from '@/types/recovery';
@@ -472,6 +473,7 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (p
</Show>
<TableCard>
+ <TableCardHeader title="Recovery events" />
<RecoveryHistoryTable
clearSelectedPoint={clearSelectedPoint}
currentPage={props.currentPage}
diff --git a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
index c773f2d863..d329b04fb2 100644
--- a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
@@ -17,6 +17,7 @@ import {
TableRow,
} from '@/components/shared/Table';
import { TableCard } from '@/components/shared/TableCard';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import { STORAGE_KEYS } from '@/utils/localStorage';
import { formatAbsoluteTime, formatRelativeTime } from '@/utils/format';
import type { ProtectionRollup } from '@/types/recovery';
@@ -359,12 +360,13 @@ export const RecoveryProtectedInventorySection: Component<
</Show>
<TableCard>
+ <TableCardHeader title="Protected items" />
<Show when={props.loading() && props.filteredRollups().length === 0}>
<div
data-testid="recovery-protected-loading"
class="animate-pulse pointer-events-none select-none"
>
- <div class="border-b border-border bg-surface-alt/80 px-3 py-2 text-[11px] font-medium uppercase tracking-wide text-muted">
+ <div class="px-4 py-3 text-sm text-muted">
{getRecoveryProtectedItemsLoadingState().text}
</div>
<div class="space-y-3 px-4 py-4">
diff --git a/frontend-modern/src/components/Storage/StorageContentCard.tsx b/frontend-modern/src/components/Storage/StorageContentCard.tsx
index c0112ae037..57f2ea611b 100644
--- a/frontend-modern/src/components/Storage/StorageContentCard.tsx
+++ b/frontend-modern/src/components/Storage/StorageContentCard.tsx
@@ -1,5 +1,5 @@
import { Component, Show } from 'solid-js';
-import { SummaryTableCardHeader } from '@/components/shared/SummaryTableCardHeader';
+import { TableCardHeader } from '@/components/shared/TableCardHeader';
import { TableCard } from '@/components/shared/TableCard';
import { DiskList } from '@/components/Storage/DiskList';
import StoragePoolsTable from '@/components/Storage/StoragePoolsTable';
@@ -64,7 +64,7 @@ export const StorageContentCard: Component<StorageContentCardProps> = (props) =>
data-summary-clear-surface
data-testid="storage-content-surface"
>
- <SummaryTableCardHeader
+ <TableCardHeader
title={model.heading()}
showClearAction={showClearSelection()}
onClear={props.clearPinnedSummaryScope}
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index 4e208185a0..e4485b1573 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -62,6 +62,7 @@ import summaryCardInteractionSource from '@/components/shared/summaryCardInterac
import summaryJumpToRowButtonSource from '@/components/shared/SummaryJumpToRowButton.tsx?raw';
import summaryRowActionButtonSource from '@/components/shared/SummaryRowActionButton.tsx?raw';
import summaryInteractionA11ySource from '@/components/shared/summaryInteractionA11y.ts?raw';
+import tableCardHeaderSource from '@/components/shared/TableCardHeader.tsx?raw';
import summaryTableCardHeaderSource from '@/components/shared/SummaryTableCardHeader.tsx?raw';
import summaryTableFocusSource from '@/components/shared/summaryTableFocus.ts?raw';
import tableCardSource from '@/components/shared/TableCard.tsx?raw';
@@ -272,15 +273,27 @@ describe('shared primitive guardrails', () => {
expect(interactiveSparklineSource).not.toContain("'background-color': 'rgb(15, 23, 42)'");
});
- it('keeps shared summary table chrome on one canonical header owner', () => {
- expect(summaryTableCardHeaderSource).toContain('Clear selection');
- expect(summaryTableCardHeaderSource).toContain("props.clearLabel ?? 'Clear'");
- expect(summaryTableCardHeaderSource).toContain('props.clearAriaLabel ??');
- expect(summaryTableCardHeaderSource).toContain('event.stopPropagation()');
- expect(summaryTableCardHeaderSource).not.toContain('Pinned to');
- expect(summaryTableCardHeaderSource).not.toContain('Scoped to');
- expect(dashboardWorkloadTableSource).toContain('SummaryTableCardHeader');
- expect(unifiedResourceHostTableCardSource).toContain('SummaryTableCardHeader');
+ it('keeps shared table card chrome on one canonical header owner', () => {
+ expect(tableCardHeaderSource).toContain('Clear selection');
+ expect(tableCardHeaderSource).toContain("props.clearLabel ?? 'Clear'");
+ expect(tableCardHeaderSource).toContain('props.clearAriaLabel ??');
+ expect(tableCardHeaderSource).toContain('event.stopPropagation()');
+ expect(tableCardHeaderSource).toContain('TABLE_CARD_HEADER_CLASS');
+ expect(tableCardHeaderSource).not.toContain('Pinned to');
+ expect(tableCardHeaderSource).not.toContain('Scoped to');
+ expect(summaryTableCardHeaderSource).toContain("from './TableCardHeader'");
+ expect(summaryTableCardHeaderSource).not.toContain('border-b border-border bg-surface-hover');
+ for (const source of [
+ dashboardWorkloadTableSource,
+ unifiedResourceHostTableCardSource,
+ unifiedResourceServiceInfrastructureCardSource,
+ storageContentCardSource,
+ recoveryHistorySectionSource,
+ recoveryProtectedInventorySectionSource,
+ ]) {
+ expect(source).toContain('TableCardHeader');
+ expect(source).not.toContain('SummaryTableCardHeader');
+ }
expect(storagePoolRowSource).not.toContain('Clear selection');
});
diff --git a/frontend-modern/src/components/shared/SummaryTableCardHeader.tsx b/frontend-modern/src/components/shared/SummaryTableCardHeader.tsx
index dd4bba5006..cacb3d627f 100644
--- a/frontend-modern/src/components/shared/SummaryTableCardHeader.tsx
+++ b/frontend-modern/src/components/shared/SummaryTableCardHeader.tsx
@@ -1,43 +1,5 @@
-import { Show, type Component, type JSX } from 'solid-js';
-
-type SummaryTableCardHeaderProps = {
- title: JSX.Element;
- showClearAction?: boolean;
- clearLabel?: string;
- clearAriaLabel?: string;
- onClear?: () => void;
-};
-
-const HEADER_CLASS =
- 'flex items-center gap-3 border-b border-border bg-surface-hover px-3 py-2 text-[11px] font-semibold uppercase tracking-wide text-muted';
-
-const CLEAR_BUTTON_CLASS = [
- 'ml-auto inline-flex items-center rounded-sm text-[11px] font-medium normal-case tracking-normal text-muted transition-colors',
- 'hover:text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-1',
-].join(' ');
-
-export const SummaryTableCardHeader: Component<SummaryTableCardHeaderProps> = (props) => {
- const clearLabel = () => props.clearLabel ?? 'Clear';
- const clearAriaLabel = () => props.clearAriaLabel ?? 'Clear selection';
-
- return (
- <div class={HEADER_CLASS}>
- <span>{props.title}</span>
- <Show when={props.showClearAction && props.onClear}>
- <button
- type="button"
- class={CLEAR_BUTTON_CLASS}
- aria-label={clearAriaLabel()}
- onClick={(event) => {
- event.stopPropagation();
- props.onClear?.();
- }}
- >
- {clearLabel()}
- </button>
- </Show>
- </div>
- );
-};
-
-export default SummaryTableCardHeader;
+export {
+ TableCardHeader as SummaryTableCardHeader,
+ type TableCardHeaderProps as SummaryTableCardHeaderProps,
+} from './TableCardHeader';
+export { default } from './TableCardHeader';
diff --git a/frontend-modern/src/components/shared/TableCardHeader.tsx b/frontend-modern/src/components/shared/TableCardHeader.tsx
new file mode 100644
index 0000000000..237353d5b9
--- /dev/null
+++ b/frontend-modern/src/components/shared/TableCardHeader.tsx
@@ -0,0 +1,43 @@
+import { Show, type Component, type JSX } from 'solid-js';
+
+export type TableCardHeaderProps = {
+ title: JSX.Element;
+ showClearAction?: boolean;
+ clearLabel?: string;
+ clearAriaLabel?: string;
+ onClear?: () => void;
+};
+
+export const TABLE_CARD_HEADER_CLASS =
+ 'flex items-center gap-3 border-b border-border bg-surface-hover px-3 py-2 text-[11px] font-semibold uppercase tracking-wide text-muted';
+
+export const TABLE_CARD_HEADER_CLEAR_BUTTON_CLASS = [
+ 'ml-auto inline-flex items-center rounded-sm text-[11px] font-medium normal-case tracking-normal text-muted transition-colors',
+ 'hover:text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-1',
+].join(' ');
+
+export const TableCardHeader: Component<TableCardHeaderProps> = (props) => {
+ const clearLabel = () => props.clearLabel ?? 'Clear';
+ const clearAriaLabel = () => props.clearAriaLabel ?? 'Clear selection';
+
+ return (
+ <div class={TABLE_CARD_HEADER_CLASS}>
+ <span>{props.title}</span>
+ <Show when={props.showClearAction && props.onClear}>
+ <button
+ type="button"
+ class={TABLE_CARD_HEADER_CLEAR_BUTTON_CLASS}
+ aria-label={clearAriaLabel()}
+ onClick={(event) => {
+ event.stopPropagation();
+ props.onClear?.();
+ }}
+ >
+ {clearLabel()}
+ </button>
+ </Show>
+ </div>
+ );
+};
+
+export default TableCardHeader;
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index 0b38201d4e..be513916e1 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -2060,7 +2060,7 @@ describe('frontend resource type boundaries', () => {
expect(storageContentCardSource).toContain('DiskList');
expect(storageContentCardSource).toContain('StoragePoolsTable');
expect(storageContentCardSource).toContain('TableCard');
- expect(storageContentCardSource).toContain('SummaryTableCardHeader');
+ expect(storageContentCardSource).toContain('TableCardHeader');
expect(storageContentCardSource).toContain('STORAGE_CONTENT_CARD_BODY_CLASS');
expect(storageContentCardSource).not.toContain(
"props.selectedNodeId() === 'all' ? null : props.selectedNodeId()",