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
Fit TrueNAS protection table to overview width
rcourtman64a3fbc07eed
diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.tsindex 712ffd3372..1965ca6f7b 100644--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts@@ -175,6 +175,8 @@ describe('platform overview layout guardrails', () => {expect(truenasPageSurfaceSource).not.toContain('<StorageSurface');expect(truenasPageSurfaceSource).not.toContain('<WorkloadsSurface');expect(truenasPageSurfaceSource).not.toContain('<TrueNASDisksTable');+ expect(truenasProtectionTableSource).not.toContain('Signal');+ expect(truenasProtectionTableSource).toContain('md:min-w-[960px]');expect(vmwarePageSurfaceSource).toContain('<VsphereHostsTable');expect(vmwarePageSurfaceSource).toContain('<WorkloadsSurface');expect(vmwarePageSurfaceSource).toContain('<StorageSurface');diff --git a/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx b/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsxindex 6ac17d4c1a..5a3579baa5 100644--- a/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx@@ -157,14 +157,6 @@ const targetSecondaryLabel = (point: RecoveryPoint): string => {return [direction, state].filter(Boolean).join(' / ');};-const signalLabel = (point: RecoveryPoint): string => {- const lastError = detailString(point, 'lastError');- if (lastError) return lastError;- const state = detailString(point, 'lastState');- if (state) return state;- return getRecoveryOutcomeLabel(normalizeRecoveryOutcome(point.outcome));-};-const formatPointTime = (point: RecoveryPoint): string => {const raw = asTrimmedString(point.completedAt) || asTrimmedString(point.startedAt);if (!raw) return '-';@@ -288,17 +280,17 @@ export const TrueNASProtectionTable: Component<{</span>}/>- <Table class="min-w-full table-fixed text-xs md:min-w-[1180px]">+ <Table class="min-w-full table-fixed text-xs md:min-w-[960px]"><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}>- <TableHead class={`${getPlatformTableHeadClassForKind('name')} md:w-[21%]`}>+ <TableHead class={`${getPlatformTableHeadClassForKind('name')} md:w-[22%]`}>Dataset</TableHead>- <TableHead class={`${getPlatformTableHeadClassForKind('text')} md:w-[24%]`}>+ <TableHead class={`${getPlatformTableHeadClassForKind('text')} md:w-[25%]`}>Artifact</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} hidden md:table-cell md:w-[17%]`}+ class={`${getPlatformTableHeadClassForKind('text')} hidden md:table-cell md:w-[23%]`}>Target</TableHead>@@ -312,11 +304,6 @@ export const TrueNASProtectionTable: Component<{>Size</TableHead>- <TableHead- class={`${getPlatformTableHeadClassForKind('text')} hidden xl:table-cell md:w-[9%]`}- >- Signal- </TableHead><TableHead class={`${getPlatformTableHeadClassForKind('badge')} md:w-[9%]`}>Outcome</TableHead>@@ -330,7 +317,6 @@ export const TrueNASProtectionTable: Component<{const artifactSecondary = () => artifactSecondaryLabel(point);const target = () => targetLabel(point);const targetSecondary = () => targetSecondaryLabel(point);- const signal = () => signalLabel(point);return (<TableRowclass="text-[11px] sm:text-xs"@@ -379,13 +365,6 @@ export const TrueNASProtectionTable: Component<{>{sizeLabel(point)}</TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden xl:table-cell`}- >- <span class="block truncate text-muted" title={signal()}>- {signal()}- </span>- </TableCell><TableCell class={getPlatformTableCellClassForKind('badge')}><span class={getRecoveryOutcomeBadgeClass(outcome())}>{getRecoveryOutcomeLabel(outcome())}