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
fix(ui): complete responsive table layouts
rcourtman207779529bf9
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 72c8b1a2ae..447022edda 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,79 +1,72 @@{"version": 1,- "base_sha": "4f2efaec987d32e7b889990bf290e279455195b1",- "verified_at": "2026-08-04T16:32:07Z",+ "base_sha": "aed20ba7bcb299c404b8ffafca6ee79641c34c00",+ "verified_at": "2026-08-04T17:11:18Z","result": "passed","changed_paths": [- "frontend-modern/src/components/Alerts/ResourceTable.tsx",- "frontend-modern/src/components/Docker/SwarmServicesDrawer.tsx",- "frontend-modern/src/components/Kubernetes/K8sDeploymentsDrawer.tsx",- "frontend-modern/src/components/Kubernetes/K8sNamespacesDrawer.tsx",- "frontend-modern/src/components/Settings/InfrastructureAgentDoctorPage.tsx",- "frontend-modern/src/components/Settings/ReportingPanel.tsx",- "frontend-modern/src/components/Settings/UpdateHistorySection.tsx",- "frontend-modern/src/components/Storage/StoragePoolDetail.tsx",- "frontend-modern/src/features/alerts/AlertHistoryItemActions.tsx",- "frontend-modern/src/features/alerts/AlertHistoryMobileList.tsx",- "frontend-modern/src/features/alerts/AlertHistoryTableAlertRow.tsx",- "frontend-modern/src/features/alerts/AlertHistoryTableGroupRow.tsx",- "frontend-modern/src/features/alerts/AlertHistoryTableSection.tsx",+ "frontend-modern/src/components/AI/AICostDashboard.tsx",+ "frontend-modern/src/components/shared/WebInterfaceUrlField.tsx",+ "frontend-modern/src/features/docker/DockerPageSurface.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx","frontend-modern/src/index.css"],"content_sha256": {- "frontend-modern/src/components/Alerts/ResourceTable.tsx": "e6940ca649aed4634516428b19e9820133e37831c0948153b59e3a055d1063f7",- "frontend-modern/src/components/Docker/SwarmServicesDrawer.tsx": "c96645048577e92abc45ac0004701464015cfa911d302a8582b1a34d234243a2",- "frontend-modern/src/components/Kubernetes/K8sDeploymentsDrawer.tsx": "b945d48523aa09a8a7ef51627879b1d5bb4b9f3a2bf120ae59c1699b0faf49d9",- "frontend-modern/src/components/Kubernetes/K8sNamespacesDrawer.tsx": "d5e58f2d553dab251c9ca2515bc2298bef760bcf81ff091a7a50aa16fc0d6b21",- "frontend-modern/src/components/Settings/InfrastructureAgentDoctorPage.tsx": "2582b69e4ede3feaf2a7912645034c5b0a5a1b00d30ba45538651bc188c681ac",- "frontend-modern/src/components/Settings/ReportingPanel.tsx": "7c8b322a6a42f00f53d72493c104b27e22dfcbe7265500037814a86ee85cf513",- "frontend-modern/src/components/Settings/UpdateHistorySection.tsx": "ea401483b8141822bb2f68aa5bf19635acd3a9f357a98034c87e1be3b9d7e757",- "frontend-modern/src/components/Storage/StoragePoolDetail.tsx": "facfddb199d1030939ccb37c9ac7a6f364254ec026d0c13c9bb5e28e5f73b8b6",- "frontend-modern/src/features/alerts/AlertHistoryItemActions.tsx": "b91275a071e211e0c82710861aaa05cfaff3df65a0fa1648f5227f6994e2e303",- "frontend-modern/src/features/alerts/AlertHistoryMobileList.tsx": "724df36aaff5e1850c0ed7b76d5c9e75e64dc322786875f08980ffc53ba9efd8",- "frontend-modern/src/features/alerts/AlertHistoryTableAlertRow.tsx": "042af5a38ce54af3388a51b4668059d49a2f3dfb0ffbaaebb989878b3cca2aa1",- "frontend-modern/src/features/alerts/AlertHistoryTableGroupRow.tsx": "2261f572a0b4923a493aa3f48897b9105621cf9884e8ad18d5eee6e20ee43ad5",- "frontend-modern/src/features/alerts/AlertHistoryTableSection.tsx": "927de809988a5c9f5e001943f3da9e6990373d18950716afb069eb13d53a78ee",- "frontend-modern/src/index.css": "2e4016eb83b6d2d8ebac6f8dd6e4422e5754ac25ceafc912181a1acd6edce61c"+ "frontend-modern/src/components/AI/AICostDashboard.tsx": "661472f1e4d209cb24d4e3694ec36f7b661c996bb367b1d2da51435ca4485ef1",+ "frontend-modern/src/components/shared/WebInterfaceUrlField.tsx": "c37017f1ccfee314984fada4724146bfe016c09ca9743fcc45c67e10284f5d15",+ "frontend-modern/src/features/docker/DockerPageSurface.tsx": "24c312008f491ac4f434a05485702467bd1dc8c55237eb57c70524b35366ecad",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx": "ce87a80fa27d9318101d6c9fb425e6c4546f58f354efb93f5fb8365d6aa88501",+ "frontend-modern/src/index.css": "fb58633b35b0649ac9ba533148938ec576f5947a3a1e3781177e848e3cf9dde7"},"routes": [+ "/proxmox/overview",+ "/proxmox/storage",+ "/proxmox/replication",+ "/proxmox/backups?view=coverage",+ "/proxmox/ceph",+ "/proxmox/mail",+ "/docker/overview",+ "/docker/images",+ "/docker/storage",+ "/docker/networks",+ "/docker/swarm",+ "/kubernetes/overview",+ "/truenas/overview",+ "/vmware/overview",+ "/standalone",+ "/alerts/overview","/alerts/history","/alerts/thresholds",- "/kubernetes/overview",- "/docker/swarm",- "/settings/infrastructure/agent-doctor",- "/settings/reporting",- "/settings/updates",- "/proxmox/storage?tab=pools&source=proxmox-all"+ "/alerts/notifications",+ "/alerts/schedule",+ "/actions",+ "/patrol",+ "/settings/infrastructure",+ "/settings/pulse-intelligence/provider"],"viewports": [- { "width": 375, "height": 812 },+ { "width": 375, "height": 900 },{ "width": 540, "height": 900 },{ "width": 640, "height": 900 },{ "width": 768, "height": 900 },{ "width": 1024, "height": 900 },- { "width": 1280, "height": 900 },- { "width": 1440, "height": 900 },- { "width": 1680, "height": 1050 },- { "width": 1920, "height": 1080 }+ { "width": 1440, "height": 900 }],"states": [- "Mock-data alert history grouped cards on phone and progressively disclosed tablet and desktop columns",- "Expanded alert incident timeline and resource incident action state at phone width",- "Alert thresholds resource editors in card and table modes based on actual content-pane width",- "Kubernetes cluster inline drawer with Deployments and Namespaces tabs at phone, tablet, and desktop widths",- "Infrastructure Agent Doctor summary table and expanded critical-agent details",- "Proxmox storage pool detail expanded at phone width",- "Reporting, update history, and diagnostics system-page responsive matrix including empty mock states",- "Docker Swarm route empty mock state; responsive service drawer implementation covered by component tests"+ "Rendered mock-data table matrices for every Proxmox, Docker, Kubernetes, TrueNAS, and vSphere workflow at phone, tablet, laptop, and desktop widths",+ "Rendered Machines, Alerts overview and history, every platform threshold table, notifications, schedules, Actions, and Patrol at six widths",+ "Verified settings source-manager card/table transitions and feature-gated empty settings routes",+ "Verified AI provider cost history with Provider, Model, and spend prioritized before token detail according to the actual content-pane width",+ "Verified Docker Swarm host-only fallback and full manager inventory with services, tasks, nodes, secrets, and configs",+ "Verified expanded Proxmox Mail Gateway cluster-node detail and the conditional top-domain table priority rules",+ "Verified expanded Docker host details and wrapped missing-web-interface guidance inside the inline table drawer"],"interactions": [- "Opened alert history Timeline, Resource, and Patrol actions and checked expanded content geometry",- "Compared alert-history visible columns at 375, 640, 768, 1024, 1280, 1440, and 1680 pixels",- "Expanded the Production EU Kubernetes cluster and switched between Deployments and Namespaces",- "Confirmed Kubernetes deployment and namespace actions remain reachable without horizontal scrolling",- "Expanded the critical Agent Doctor row and inspected the full detail state",- "Expanded west-c-service-pool on Proxmox storage and checked the narrow detail layout",- "Ran 48 route-and-viewport system-page overflow checks and a dedicated thresholds matrix through 1920 pixels",- "Checked table, page, drawer, and expanded-card client widths against scroll widths after each interaction"+ "Compared rendered table and page client widths against scroll widths across more than 230 route-and-viewport states",+ "Expanded mail-gateway-eu and confirmed the nested Node, Queue, and Oldest table fits at 375 pixels before progressively revealing Role, Uptime, and Load",+ "Expanded the Ops Services 01 Swarm host drawer and checked descendant overflow and helper-copy wrapping at 375 pixels",+ "Regenerated the small mock Docker estate and confirmed real Swarm service, task, node, secret, and config rows render",+ "Compared visible Swarm columns at 375, 540, 640, 768, 1024, and 1440 pixels with zero page or table overflow",+ "Compared AI cost columns at 375, 540, 640, 768, 1024, and 1440 pixels, including the narrower settings content pane at 1024 pixels",+ "Inspected mobile pixels for AI cost history, the full Swarm workflow, and expanded Mail Gateway details after the final changes"]}diff --git a/frontend-modern/src/components/AI/AICostDashboard.tsx b/frontend-modern/src/components/AI/AICostDashboard.tsxindex 0461483f72..834f0fd3ac 100644--- a/frontend-modern/src/components/AI/AICostDashboard.tsx+++ b/frontend-modern/src/components/AI/AICostDashboard.tsx@@ -507,11 +507,11 @@ export const AICostDashboard: Component = () => {</Show></div>- <div class="flex items-center justify-between gap-3">+ <div class="flex flex-col items-stretch gap-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-xs text-muted">History retention: {data().retention_days} days</div>- <div class="flex items-center gap-2">+ <div class="grid grid-cols-3 gap-2 sm:flex sm:items-center"><buttontype="button"disabled={loading()}@@ -539,28 +539,34 @@ export const AICostDashboard: Component = () => {</div></div>- <Table class="min-w-full text-sm">+ <Table class="min-w-0 table-fixed text-sm"><TableHeader class="text-xs text-muted uppercase tracking-wide"><TableRow class="border-b border-border">- <TableHead class="text-left py-2 pr-4">Provider</TableHead>- <TableHead class="text-left py-2 pr-4">Model</TableHead>- <TableHead class="text-right py-2 px-2">Est. USD</TableHead>- <TableHead class="text-right py-2 px-2">Input</TableHead>- <TableHead class="text-right py-2 px-2">Output</TableHead>- <TableHead class="text-right py-2 px-2">Total</TableHead>+ <TableHead class="py-2 pr-2 text-left">Provider</TableHead>+ <TableHead class="py-2 pr-2 text-left">Model</TableHead>+ <TableHead class="px-1 py-2 text-right whitespace-nowrap">Est. USD</TableHead>+ <TableHead class="ai-cost-detail-column px-2 py-2 text-right">Input</TableHead>+ <TableHead class="ai-cost-detail-column px-2 py-2 text-right">Output</TableHead>+ <TableHead class="hidden px-2 py-2 text-right sm:table-cell">Total</TableHead></TableRow></TableHeader><TableBody><For each={visibleProviderModels()}>{(pm) => (<TableRow class="border-b border-border-subtle">- <TableCell class="py-2 pr-4 font-medium text-base-content">+ <TableCell+ class="truncate py-2 pr-2 font-medium text-base-content"+ title={getAIProviderDisplayName(pm.provider) || pm.provider}+ >{getAIProviderDisplayName(pm.provider) || pm.provider}</TableCell>- <TableCell class="py-2 pr-4 text-base-content font-mono text-xs">+ <TableCell+ class="truncate py-2 pr-2 font-mono text-xs text-base-content"+ title={pm.model}+ >{pm.model}</TableCell>- <TableCell class="py-2 px-2 text-right text-base-content">+ <TableCell class="px-1 py-2 text-right text-base-content whitespace-nowrap"><Showwhen={pm.pricing_known}fallback={@@ -572,13 +578,13 @@ export const AICostDashboard: Component = () => {{formatUSD(pm.estimated_usd ?? 0)}</Show></TableCell>- <TableCell class="py-2 px-2 text-right text-base-content">+ <TableCell class="ai-cost-detail-column px-2 py-2 text-right text-base-content">{formatNumber(pm.input_tokens)}</TableCell>- <TableCell class="py-2 px-2 text-right text-base-content">+ <TableCell class="ai-cost-detail-column px-2 py-2 text-right text-base-content">{formatNumber(pm.output_tokens)}</TableCell>- <TableCell class="py-2 px-2 text-right text-base-content">+ <TableCell class="hidden px-2 py-2 text-right text-base-content sm:table-cell">{formatNumber(pm.total_tokens)}</TableCell></TableRow>diff --git a/frontend-modern/src/components/AI/__tests__/AICostDashboard.test.tsx b/frontend-modern/src/components/AI/__tests__/AICostDashboard.test.tsxindex 77a9247e5e..96e5d052fe 100644--- a/frontend-modern/src/components/AI/__tests__/AICostDashboard.test.tsx+++ b/frontend-modern/src/components/AI/__tests__/AICostDashboard.test.tsx@@ -226,6 +226,23 @@ describe('AICostDashboard', () => {expect(screen.getByText('10,000')).toBeInTheDocument(); // output tokens});+ it('prioritizes identity and spend before token detail in narrow containers', async () => {+ renderDashboard();+ await waitFor(() => {+ expect(screen.getByText('Anthropic')).toBeInTheDocument();+ });++ const providerHeader = screen.getByRole('columnheader', { name: 'Provider' });+ const inputHeader = screen.getByRole('columnheader', { name: 'Input' });+ const outputHeader = screen.getByRole('columnheader', { name: 'Output' });+ const totalHeader = screen.getByRole('columnheader', { name: 'Total' });++ expect(providerHeader.closest('table')).toHaveClass('min-w-0', 'table-fixed');+ expect(inputHeader).toHaveClass('ai-cost-detail-column');+ expect(outputHeader).toHaveClass('ai-cost-detail-column');+ expect(totalHeader).toHaveClass('hidden', 'sm:table-cell');+ });+// ---- range buttons ----it('switches range to 7 days when clicking 7d button', async () => {diff --git a/frontend-modern/src/components/shared/WebInterfaceUrlField.tsx b/frontend-modern/src/components/shared/WebInterfaceUrlField.tsxindex 1f81325c50..a0f1c8a41d 100644--- a/frontend-modern/src/components/shared/WebInterfaceUrlField.tsx+++ b/frontend-modern/src/components/shared/WebInterfaceUrlField.tsx@@ -168,7 +168,7 @@ export const WebInterfaceUrlField: Component<WebInterfaceUrlFieldProps> = (props</div></Show>- <p class="mt-1.5 text-[10px] text-muted">+ <p class="mt-1.5 whitespace-normal text-[10px] text-muted">Add a URL to quickly access this {state.targetLabel()}'s web interface from Pulse.</p></div>diff --git a/frontend-modern/src/components/shared/__tests__/WebInterfaceUrlField.test.tsx b/frontend-modern/src/components/shared/__tests__/WebInterfaceUrlField.test.tsxindex b6a0b64c1c..0768f67db0 100644--- a/frontend-modern/src/components/shared/__tests__/WebInterfaceUrlField.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/WebInterfaceUrlField.test.tsx@@ -223,7 +223,7 @@ describe('WebInterfaceUrlField', () => {await screen.findByText("Add a URL to quickly access this workload's web interface from Pulse.",),- ).toBeInTheDocument();+ ).toHaveClass('whitespace-normal');});it('uses the canonical discovery fallback copy for missing suggested urls', async () => {diff --git a/frontend-modern/src/features/docker/DockerPageSurface.tsx b/frontend-modern/src/features/docker/DockerPageSurface.tsxindex 32f501e723..6390ef0a28 100644--- a/frontend-modern/src/features/docker/DockerPageSurface.tsx+++ b/frontend-modern/src/features/docker/DockerPageSurface.tsx@@ -30,6 +30,7 @@ import {getDockerPageTabSpecs,hasDockerEngineStorageUsage,hasDockerStorageInventory,+ hasDockerSwarmEvidence,hasDockerSwarmInventory,resolveDockerPageTabId,type DockerPageModel,@@ -269,6 +270,15 @@ function DockerStorage(props: { model: DockerPageModel }) {function DockerSwarm(props: { model: DockerPageModel }) {const hasSwarmInventory = createMemo(() => hasDockerSwarmInventory(props.model));+ const swarmHosts = createMemo(() => props.model.hosts.filter(hasDockerSwarmEvidence));+ const hasManagerInventory = createMemo(+ () =>+ props.model.services.length > 0 ||+ props.model.tasks.length > 0 ||+ props.model.nodes.length > 0 ||+ props.model.secrets.length > 0 ||+ props.model.configs.length > 0,+ );return (<Show@@ -282,6 +292,21 @@ function DockerSwarm(props: { model: DockerPageModel }) {}><div class="space-y-4">+ <DockerHostsTable+ resources={swarmHosts()}+ sourceCount={swarmHosts().length}+ emptyIcon={dockerIcon()}+ emptyTitle="No Swarm hosts"+ emptyDescription="Hosts appear here when an active Docker Swarm node reports its cluster membership."+ title="Swarm hosts"+ />+ <Show when={!hasManagerInventory()}>+ <PlatformTableEmptyState+ icon={dockerIcon()}+ title="No Swarm manager inventory"+ description="Pulse can see active Swarm hosts, but no manager has reported services, tasks, nodes, secrets, or configs. Check manager connectivity and enable Swarm inventory collection."+ />+ </Show><Show when={props.model.services.length > 0}><DockerServicesTableresources={props.model.services}diff --git a/frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsx b/frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsxindex 940b034ea8..de3a4b4882 100644--- a/frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsx+++ b/frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsx@@ -486,6 +486,36 @@ describe('DockerPageSurface', () => {);});+ it('keeps the Swarm route useful when only host membership is available', () => {+ mocks.pathname = '/docker/swarm';+ mocks.useUnifiedResources.mockReturnValue({+ error: () => null,+ loading: () => false,+ refetch: vi.fn(),+ resources: () => [+ makeDockerHost({+ docker: {+ runtime: 'docker',+ swarm: {+ nodeId: 'node-1',+ nodeRole: 'manager',+ localState: 'active',+ },+ } as NonNullable<Resource['docker']>,+ }),+ ],+ });++ render(() => <DockerPageSurface />);++ expect(screen.getByTestId('docker-section-tabs')).toHaveAttribute('data-active', 'swarm');+ expect(screen.getByTestId('docker-hosts-table')).toHaveAttribute('data-resource-count', '1');+ expect(screen.getByTestId('platform-table-empty-state')).toHaveAttribute(+ 'data-title',+ 'No Swarm manager inventory',+ );+ });+it('falls back to Overview when the Swarm route is requested without Swarm evidence', () => {mocks.pathname = '/docker/swarm';diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.tsindex 0757b8b49c..f800c7ee5d 100644--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts@@ -250,6 +250,25 @@ describe('platform overview layout guardrails', () => {}});+ it('keeps Mail Gateway drawer tables prioritized for narrow inline details', () => {+ expect(proxmoxMailGatewayDrawerSource).toContain('min-w-0 table-fixed text-xs');+ expect(proxmoxMailGatewayDrawerSource).toMatch(+ /hidden sm:table-cell[^>]*>\s*Role\s*<\/TableHead>/,+ );+ expect(proxmoxMailGatewayDrawerSource).toMatch(+ /hidden sm:table-cell[^>]*>\s*Uptime\s*<\/TableHead>/,+ );+ expect(proxmoxMailGatewayDrawerSource).toMatch(+ /hidden sm:table-cell[^>]*>\s*Load\s*<\/TableHead>/,+ );+ expect(proxmoxMailGatewayDrawerSource).toMatch(+ /hidden sm:table-cell[^>]*>\s*Virus\s*<\/TableHead>/,+ );+ expect(proxmoxMailGatewayDrawerSource).toMatch(+ /hidden sm:table-cell[^>]*>\s*Bytes\s*<\/TableHead>/,+ );+ });+it('keeps Docker host optional Swarm column wide enough for its header', () => {expect(dockerHostsTableSource).toContain('Swarm role');expect(dockerHostsTableSource).toContain('md:w-[10%]');diff --git a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsxindex bd2d69a6a4..25253fb885 100644--- a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx@@ -470,15 +470,23 @@ export const ProxmoxMailGatewayDrawer: Component<{when={nodes().length > 0}fallback={<p class="text-xs text-muted">No cluster nodes reported.</p>}>- <Table class="text-xs">+ <Table class="min-w-0 table-fixed text-xs"><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}><TableHead class={getPlatformTableHeadClassForKind('name')}>Node</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('text')}>Role</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} hidden sm:table-cell`}+ >+ Role+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ >Uptime</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ >Load</TableHead><TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>@@ -510,17 +518,17 @@ export const ProxmoxMailGatewayDrawer: Component<{</div></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content text-[11px]`}+ class={`${getPlatformTableCellClassForKind('text')} hidden text-[11px] text-base-content sm:table-cell`}>{asTrimmedString(node.role) || '—'}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content sm:table-cell`}>{formatPlatformTableUptimeValue(node.uptime)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content tabular-nums text-[11px]`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-[11px] text-base-content tabular-nums sm:table-cell`}>{asTrimmedString(node.loadAvg) || '—'}</TableCell>@@ -569,7 +577,7 @@ export const ProxmoxMailGatewayDrawer: Component<{when={topDomains().length > 0}fallback={<p class="text-xs text-muted">No domain stats reported.</p>}>- <Table class="text-xs">+ <Table class="min-w-0 table-fixed text-xs"><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}><TableHead class={getPlatformTableHeadClassForKind('name')}>Domain</TableHead>@@ -579,10 +587,14 @@ export const ProxmoxMailGatewayDrawer: Component<{<TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>Spam</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ >Virus</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ >Bytes</TableHead></TableRow>@@ -615,7 +627,7 @@ export const ProxmoxMailGatewayDrawer: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content sm:table-cell`}><PlatformTableNumberValuevalue={domain.virusCount}@@ -623,7 +635,7 @@ export const ProxmoxMailGatewayDrawer: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-muted tabular-nums`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-muted tabular-nums sm:table-cell`}>{domain.bytes && domain.bytes > 0 ? formatBytes(domain.bytes) : '—'}</TableCell>diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.cssindex 0e8938c56c..9d5e4629a8 100644--- a/frontend-modern/src/index.css+++ b/frontend-modern/src/index.css@@ -264,6 +264,10 @@display: none;}+ .table-scroll-shell :is(th, td).ai-cost-detail-column {+ display: none;+ }+.table-scroll-shell :is(th, td).report-schedule-detail-column,.table-scroll-shell :is(th, td).storage-dataset-referenced-column {display: none;@@ -290,6 +294,10 @@display: table-cell;}+ .table-scroll-shell :is(th, td).ai-cost-detail-column {+ display: table-cell;+ }+.table-scroll-shell :is(th, td).report-schedule-detail-column,.table-scroll-shell :is(th, td).storage-dataset-referenced-column {display: table-cell;diff --git a/internal/mock/generator.go b/internal/mock/generator.goindex 6a0325ada7..a84f44a68e 100644--- a/internal/mock/generator.go+++ b/internal/mock/generator.go@@ -2476,7 +2476,11 @@ func generateDockerHosts(config MockConfig) []models.DockerHost {Scope: "node",}- if i%2 == 0 {+ // The smallest useful mock estates often have one Podman host and+ // one Docker host. Make the first Docker host a manager regardless+ // of its absolute index so those estates still exercise the Swarm+ // services, tasks, nodes, secrets, and configs surfaces.+ if !swarmLeaderAssigned || i%2 == 0 {swarmInfo.NodeRole = "manager"}// Cluster-scoped Swarm objects (services, tasks, secrets,diff --git a/internal/mock/generator_test.go b/internal/mock/generator_test.goindex 54e60e7ab4..d1a6aa61bd 100644--- a/internal/mock/generator_test.go+++ b/internal/mock/generator_test.go@@ -82,7 +82,9 @@ func TestBuildFixtureStateWithZeroGuestBaselinesDoesNotPanic(t *testing.T) {func TestBuildFixtureStateIncludesSwarmServices(t *testing.T) {cfg := DefaultConfig- cfg.DockerHostCount = 4+ // Two hosts is the smallest mixed Docker/Podman estate generated by the+ // mock runtime and must still include a Docker manager inventory.+ cfg.DockerHostCount = 2cfg.DockerContainersPerHost = 6cfg.RandomMetrics = false