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(frontend): standardize mobile table readability
rcourtman4f61cc3bfeec
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 058c902e31..9a504d4ea4 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -1100,7 +1100,12 @@ not a replacement status card, CTA band, or page-local nested card.and desktop presentation. Below a 360-pixel content width, the shared narrowlayout must retain five high-value columns, promote identity to 40 percent,and remove the lowest-priority context columns rather than shrinking names- and metric values into illegible fragments. `PlatformTableShell` marks every+ and metric values into illegible fragments. Consumers mark only that+ source-specific demotion with `platform-table-narrow-hidden`; the shared+ container rule then applies the same 40-percent identity/five-column stage+ across provider tables, direct Storage tables, and nested provider detail+ tables without a global reveal or page-local media-query exception.+ `PlatformTableShell` marks everyowned table with the shared `platform-table` class; direct Workloads andStorage consumers and nested provider detail tables must apply that samemarker so the phone contract cannot vary by rendering path. Text-only@@ -3768,6 +3773,14 @@ must preserve the owner split:frontend-primitives owns the repeated `PlatformTableShell` frame and guardrailregistry, while platform and unified-resource consumers own the source-specificrow fields, drawers, and resource semantics.+The rendered phone contract now applies consistently to Proxmox, Docker,+Kubernetes, TrueNAS, vSphere, Standalone, and direct Storage data tables. At+less than 360 pixels of content width, the shared `platform-table` container+rule gives identity 40 percent and hides only consumer-marked+`platform-table-narrow-hidden` cells; ordinary phone widths retain the richer+five-to-seven-column projection. Summary rows remain single-line, and any+value that must truncate is backed by a touch- and keyboard-operable inline+detail row that exposes the complete value.Standalone Pulse Agent and Availability consumers may compose one compactstatus summary directly above that shared table frame. The consumer owns thealready-loaded resource counts, freshness-aware attention ordering, anddiff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex f83544791c..6d73a6d1e3 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -1913,6 +1913,12 @@ must not treat starterresulting incident context, but must not define storage-local approvalargument keys or bypass the shared `internal/agentcapabilities` helper.5. Keep recovery history table width budgeting derived from the canonical column specs in `frontend-modern/src/utils/recoveryTablePresentation.ts`, not from raw visible-column counts, so normalized subject labels and optional column sets cannot drift the right-edge badges and controls off-screen. Storage-pool, physical-disk, backup-server, coverage, and recoverable-artifact compact models must follow the same source-owned budgeting rule: expose the five to seven highest-value phone fields when the source provides them, fix identity at the shared 30-percent track, use compact labels for narrow evidence fields, and normalize the selected tracks to the container without a horizontal rail. Desktop column sets and storage/recovery evidence semantics must remain unchanged.+ Below 360 pixels of content width, those models must retain five fields,+ promote identity to 40 percent, and demote the lowest-priority field through+ the shared `platform-table-narrow-hidden`/source-owned layout contract.+ Summary rows remain single-line; any truncated backup, datastore, workload,+ or topology value must be recoverable through a touch- and+ keyboard-operable inline detail rather than a hover-only title.6. Keep at least one browser-level desktop recovery proof in the governed `recovery-product-surface` policy so right-edge column visibility and wrapper-fit regressions are caught at rendered layout time instead of only through unit-level width math7. Keep the retired dashboard route from becoming a passive no-resourcescompatibility shell. First-session handoff now belongs to Infrastructure@@ -3206,6 +3212,15 @@ must likewise come from `frontend-modern/src/features/storageBackups/diskPresentstorage pages must not reintroduce local `All Roles`, `All Groups`, or`NVME Disk` strings that drift away from the shared filter-label and hardwareacronym presentation contract.+The direct Storage pool and physical-disk projections now join the same native+platform phone contract as Proxmox recovery tables. Their source-owned+presentation models enter a dedicated `narrow` layout below 360 pixels, retain+five operational fields, promote identity to 40 percent, and leave the normal+phone and desktop evidence sets unchanged. Proxmox backup-server, coverage,+recoverable, Ceph, and Mail Gateway tables use the same five-field narrow stage+and inline full-value disclosure, so recovery semantics no longer vary by+whether the table is reached through a provider page or the direct Storage+surface.That same storage ownership also includes the physical-disk detail identitycontract in `frontend-modern/src/components/Storage/` and`frontend-modern/src/features/storageBackups/`: historical disk charts mustdiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex e78e769367..5fe851b0af 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -362,7 +362,12 @@ inside the available container without a horizontal rail. Each unified-resourceconsumer selects five to seven high-value source fields when they exist, fixesidentity at 30 percent of the width, and uses shared compact-label and phonewidth classes so the remaining tracks stay readable. No global reveal rule may-override those source-specific priorities.+override those source-specific priorities. Below 360 pixels of content width,+consumers use `platform-table-narrow-hidden` to demote only their lowest-value+field while the shared shell promotes identity to 40 percent and retains five+readable fields. Provider tables must keep summary rows single-line and may+truncate a value only when the row exposes its complete source value through a+touch- and keyboard-operable inline detail disclosure.Future platform tables must keep that split: row data and platform semanticsstay in the unified-resource consumer, and the repeated table shell stays in theshared frontend primitive.@@ -3224,6 +3229,16 @@ column weights must sum to the available table width, retain the prioritizedidentity and operational set, and avoid both local and document-levelhorizontal scrolling. This is a phone projection only; wider stages keep theestablished desktop distribution.+The native provider rollout now applies the same projection to Proxmox backup,+coverage, recoverable, Ceph, Mail Gateway, and replication rows; Docker native+and Swarm inventories; Kubernetes native inventories; TrueNAS systems and+workflows; vSphere hosts and workflows; and Standalone machines. The shared+`platform-table-narrow-hidden` marker keeps the less-than-360-pixel stage at+five source-selected fields with a 40-percent identity track, while the normal+phone stage retains five to seven fields. Docker rows whose full timestamps,+labels, image references, or placement values cannot fit now expose those+values in the same touch- and keyboard-operable inline detail pattern used by+the other platform tables rather than relying on hover titles.That same unified-resource consumer contract now also owns CSP-safe tablepresentation for infrastructure rows. Host, PBS, and PMG table sections mustconsume the shared column presentation owner and render canonical table sizingdiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex f94cdea888..7f2d9e53c2 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,21 +1,114 @@{"version": 1,"result": "passed",- "verified_at": "2026-08-18T20:07:40Z",- "base_sha": "c68be0041285192fbb726de06d770834a914df5c",+ "verified_at": "2026-08-18T20:48:56Z",+ "base_sha": "7575e049c3aa935a62bb84c664d2796acc68b5ec","changed_paths": [- "frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx"+ "frontend-modern/src/features/docker/DockerAlertsTable.tsx",+ "frontend-modern/src/features/docker/DockerConfigsTable.tsx",+ "frontend-modern/src/features/docker/DockerHostsTable.tsx",+ "frontend-modern/src/features/docker/DockerImagesTable.tsx",+ "frontend-modern/src/features/docker/DockerNativeTableShared.tsx",+ "frontend-modern/src/features/docker/DockerSecretsTable.tsx",+ "frontend-modern/src/features/docker/DockerServicesTable.tsx",+ "frontend-modern/src/features/docker/DockerStorageUsageTable.tsx",+ "frontend-modern/src/features/docker/DockerSwarmNodesTable.tsx",+ "frontend-modern/src/features/docker/DockerTasksTable.tsx",+ "frontend-modern/src/features/docker/DockerVolumesTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsx",+ "frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx",+ "frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx",+ "frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.ts",+ "frontend-modern/src/features/standalone/AgentsMachinesTable.tsx",+ "frontend-modern/src/features/storageBackups/diskPresentation.ts",+ "frontend-modern/src/features/storageBackups/storagePagePresentation.ts",+ "frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx",+ "frontend-modern/src/features/truenas/TrueNASAppsTable.tsx",+ "frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx",+ "frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsx",+ "frontend-modern/src/features/truenas/TrueNASSystemsTable.tsx",+ "frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsx",+ "frontend-modern/src/features/vmware/VsphereAlertsTable.tsx",+ "frontend-modern/src/features/vmware/VsphereDatastoresTable.tsx",+ "frontend-modern/src/features/vmware/VsphereHostsTable.tsx",+ "frontend-modern/src/features/vmware/VsphereNetworksTable.tsx",+ "frontend-modern/src/index.css"],"content_sha256": {- "frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx": "c5444bd33145c7b06dcfd5767b055c747f24a7c0c582bd38c835c49c0116139e"+ "frontend-modern/src/features/docker/DockerAlertsTable.tsx": "f7020eda8f9d7a02ff68a7721cea328fd59654d59bcd94257259aeff07511eff",+ "frontend-modern/src/features/docker/DockerConfigsTable.tsx": "a0a7492e6e8b7e165cca4d1cfff456ac7387aaa87762fb84dc152f7a79e276de",+ "frontend-modern/src/features/docker/DockerHostsTable.tsx": "a146062eadacaa277b1c586490a0ed0ed4126747036d4ef9729c8cd4fbcdf8e1",+ "frontend-modern/src/features/docker/DockerImagesTable.tsx": "1f320b1d298115dbf25fa956d9eebdf38393d5fbb53b4d95918945b57eddff10",+ "frontend-modern/src/features/docker/DockerNativeTableShared.tsx": "35972180e7f8760514bef9927ceabf928a7d9e7dec1d20cd05ad8573f8b3c4cd",+ "frontend-modern/src/features/docker/DockerSecretsTable.tsx": "d4caa64dc33a96768b8de18487b042a5f060c72c34d46a2357bf834495ac8fc2",+ "frontend-modern/src/features/docker/DockerServicesTable.tsx": "1dc3e36cbd9f897cc435ea66abc2f9df9d1db5058ab181eedeade64fcb0376b1",+ "frontend-modern/src/features/docker/DockerStorageUsageTable.tsx": "06606431e915bd8645a44b428aff3422a9a12d672b9036b2601971baad097372",+ "frontend-modern/src/features/docker/DockerSwarmNodesTable.tsx": "0ff53f67f1879ad58d7c3af274103a1de3f50ee7055dd005881e2a4623e621fc",+ "frontend-modern/src/features/docker/DockerTasksTable.tsx": "96ad98f7d98848b8cbd08233cb452a34d7849ce48d748adfb9a01adddb77cf1f",+ "frontend-modern/src/features/docker/DockerVolumesTable.tsx": "0ee674f86902a7cd954c091e52923e95bf208abf604d824492509cb485412578",+ "frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsx": "435740537189fd69c654f01bd29f9289a5a1bb77bab873f6221360275a0e8ac3",+ "frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsx": "ea9ce8a89167fdc8105d15296ee19594fc94ad024a69f62b962f29a66a5def2c",+ "frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx": "c71cba7c8673c3d1ef23de2c4c32f17fe681047fad60303cb5ba2508ef71efd6",+ "frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx": "c5188b4146c99da8ef190c1425c9d27ad6688e489b4f1fca116b24e5f4021e28",+ "frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsx": "adf72b244afd2a1182342ad957f5aec943c95715307287a7e1ca03d4cbe03f70",+ "frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsx": "241d168f0eb6a0dcb94d6dd924a3e39548c475f7ddf4d2a250b5aeb51d2255e9",+ "frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx": "2d1edf4bee4e23a790f27f107398b179f5143092f9430f11c05940511991e43f",+ "frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsx": "9121932583463e78d077a2f5f12602d1a1cdb8d9fd00b6625a9078c6a2ac4371",+ "frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsx": "46f612ff4e7663f3f6b589c34032841bc737c715bb3de0bbd1f3135e7cd1eb40",+ "frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx": "aa1d5435b6acb88c41c8913acf1788f7f866fd6978679f94d9abe17cbe7cb6a6",+ "frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsx": "5f508bc2617bbe5c93306825c4e19eda96755a68ae6e70a37f027ca43febc828",+ "frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx": "201655a91cc4e7d33eae82e1ec024d4c1913ed74067c997b027eddf4dd9e0587",+ "frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx": "9186a8022f9ba04e575eac0dcd5dd5b5110bcc9b121bb9e19b029ee8f3db05ab",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx": "3b7aaad0f99c20a2d8ba4329bfe4cb7cf1a58027fac38d66cec5ff30bda38625",+ "frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx": "94950c122c9c3e8f91ec1146ca7a1f55b692a6dc1f0ad806529d11038b4cc1a6",+ "frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx": "60c6c08af41f4c8c8f5245e2f1b62ce9687449c1e1352c5f81246c7eb1b6ae48",+ "frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx": "605a6119ed68c63c99e9d0e4a8464a359f39f3e6d2914812e062f1e7dd9d327b",+ "frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.ts": "b9ff536462b6147d056c38236265f269f8b1454770cef3e93ceafd8a46b5db6c",+ "frontend-modern/src/features/standalone/AgentsMachinesTable.tsx": "c80037ea2c6f4e8e5cebada045e24c2dcdf3ae58daa715f739ce504fd4283463",+ "frontend-modern/src/features/storageBackups/diskPresentation.ts": "1f8e73c85e51649808c0fa1248f700a3c07fb06ba2931e13260e8ceca0b48329",+ "frontend-modern/src/features/storageBackups/storagePagePresentation.ts": "04cd38bf04515326d5ff09726f3cfc8b65683385690e61ecf0155d126fd42aff",+ "frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx": "2cd5f7ac9df0422d8c4073f748b5b908e13152041dc735a4ca4ce62395a84837",+ "frontend-modern/src/features/truenas/TrueNASAppsTable.tsx": "b3efa5c5f462989cca55471955b8720f151790ade5221f69af8e013f0ba5e2bd",+ "frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx": "ffb657210082be57dbe9039cd321c8fe6ba058e1254ea7c34b74840e5d066936",+ "frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsx": "1d4feed4d10d3dc42991756d04b1e5c6c92a533b287e2732386c44bb50e4d5fa",+ "frontend-modern/src/features/truenas/TrueNASSystemsTable.tsx": "4b4bf0f7bdb91a7ac2044e2ee987b7079f6635997fb936b00516b4002dd40ce8",+ "frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsx": "1103d35766db43e7cc5334df53561325b84492db820d58c05b6dbc7751314a45",+ "frontend-modern/src/features/vmware/VsphereAlertsTable.tsx": "47976d772c3721aa4b9b8eec93a1c50866e95d566e503a1ec146f2c518869457",+ "frontend-modern/src/features/vmware/VsphereDatastoresTable.tsx": "af760d5305cba96cb97424b07f2f181d86da2e3f483c7725bea4e4ba80aea7d4",+ "frontend-modern/src/features/vmware/VsphereHostsTable.tsx": "f884c960c489c89b77c48e6c31af8d952e1befe1cf8ee4986280ae34e7a5287f",+ "frontend-modern/src/features/vmware/VsphereNetworksTable.tsx": "c64ab40246730500016c961a232ef064eb52291affb30deff4adbc7596235f61",+ "frontend-modern/src/index.css": "e350b4d16d0de7d6e48d94351affb79ffe625a58f0a082eaf0e6b3777f5f728d"},"routes": [- "/proxmox/replication"+ "/proxmox/storage?source=proxmox-all",+ "/proxmox/backups",+ "/proxmox/replication",+ "/proxmox/ceph",+ "/proxmox/mail",+ "/docker/swarm",+ "/kubernetes/nodes",+ "/truenas/apps",+ "/vmware/health",+ "/standalone/machines"],"viewports": [{"width": 1440,- "height": 1000+ "height": 900},{"width": 390,@@ -27,14 +120,17 @@}],"states": [- "Replication retains its full desktop column set",- "Replication uses five single-line priority columns across phone widths",- "Guest, State, Route, Ago, and Next headers render without clipping at 320 and 390 pixels",- "Two-digit minute values in Ago and signed overdue values in Next render without horizontal overflow"+ "Representative Proxmox, Docker, Kubernetes, TrueNAS, vSphere, Standalone, and direct Storage tables retain five readable high-value columns at 320 pixels",+ "Ordinary 390-pixel phone layouts retain five to seven source-prioritized columns without a horizontal table rail",+ "Summary rows remain single-line at 320 pixels, including Replication, Ceph, Docker native resources, Kubernetes nodes, TrueNAS apps, vSphere health, and Standalone machines",+ "Desktop layouts retain their full column sets and established breakpoint widths",+ "Truncated source values are paired with a visible row disclosure while non-expandable nested service values remain unclipped"],"interactions": [- "expanded and collapsed a replication row to confirm full guest, job, and route detail remains touch-accessible",- "measured every compact header and first-row cell and confirmed clientWidth equals scrollWidth at 320 pixels",- "repeated compact header fit measurements at 390 pixels"+ "expanded a Docker config row by touch and confirmed its complete timestamp, labels, and host values in the inline detail",+ "closed the same Docker config detail with Enter to verify keyboard activation",+ "expanded and collapsed representative provider rows while measuring visible columns, row heights, and table-shell overflow",+ "verified Proxmox Ceph pool rows expose a touch- and keyboard-operable inline full-value detail",+ "measured representative tables at 320, 390, and 1440 pixels and confirmed each table shell stayed within its container"]}diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex f0482c8c8e..bae7415bb4 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -217,6 +217,17 @@ describe('App architecture', () => {);});+ it('keeps narrow platform tables readable through the global app-shell contract', () => {+ expect(appStylesSource).toContain('@container (max-width: 22.499rem)');+ expect(appStylesSource).toContain(+ '.table-scroll-shell > .table-fixed.platform-table th.platform-table-name-column',+ );+ expect(appStylesSource).toContain('width: 40%;');+ expect(appStylesSource).toContain(':is(th, td).platform-table-narrow-hidden');+ expect(appStylesSource).toContain('display: none;');+ expect(appStylesSource).not.toContain('white-space: normal;\n -webkit-box-orient');+ });+it('keeps native form and browser autofill paint on semantic theme tokens', () => {expect(appStylesSource).toContain('color-scheme: light');expect(appStylesSource).toContain('color-scheme: dark');diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex d03d814a81..e0368474a1 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -1318,6 +1318,9 @@ describe('shared primitive guardrails', () => {expect(frontendIndexCssSource).toContain('.table-scroll-shell > .table-fixed.platform-table th.platform-table-name-column',);+ expect(frontendIndexCssSource).toContain('@container (max-width: 22.499rem)');+ expect(frontendIndexCssSource).toContain('platform-table-narrow-hidden');+ expect(frontendIndexCssSource).not.toContain('white-space: normal;\n -webkit-box-orient');expect(frontendIndexCssSource).toContain('th.truenas-app-name-column');expect(frontendIndexCssSource).toContain('th.truenas-app-containers-column');expect(frontendIndexCssSource).toContain('th.truenas-app-updates-column');diff --git a/frontend-modern/src/features/docker/DockerAlertsTable.tsx b/frontend-modern/src/features/docker/DockerAlertsTable.tsxindex 3035b39af0..02b0fbfee1 100644--- a/frontend-modern/src/features/docker/DockerAlertsTable.tsx+++ b/frontend-modern/src/features/docker/DockerAlertsTable.tsx@@ -165,25 +165,27 @@ export const DockerAlertsTable: Component<{Resource</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('badge')} w-[14%] md:w-[10%]`}+ class={`${getPlatformTableHeadClassForKind('badge')} platform-table-mobile-w-15 w-[15%] md:w-[10%]`}>Severity</TableHead>- <TableHead class={`${getPlatformTableHeadClassForKind('text')} w-[30%] md:w-[34%]`}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-20 w-[25%] md:w-[34%]`}+ >Alert</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} w-[16%] sm:hidden md:table-cell md:w-[14%]`}+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 w-[15%] md:w-[14%]`}>Host</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} w-[12%] sm:hidden lg:table-cell md:w-[10%]`}+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-10 w-[15%] md:w-[10%]`}>Started</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} hidden xl:table-cell md:w-[10%]`}+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-narrow-hidden hidden xl:table-cell md:w-[10%]`}>Action</TableHead>@@ -250,9 +252,7 @@ export const DockerAlertsTable: Component<{{incident.label}</span></TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden md:table-cell`}- >+ <TableCell class={`${getPlatformTableCellClassForKind('text')}`}><spanclass="block truncate text-base-content"title={docker()?.hostname || docker()?.swarm?.clusterName}@@ -265,12 +265,12 @@ export const DockerAlertsTable: Component<{</span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden text-base-content lg:table-cell`}+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}>{formatPlatformAlertStartedAt(incident.startedAt)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content xl:table-cell`}+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden hidden text-base-content xl:table-cell`}><span class="block truncate" title={incident.action}>{incident.action}diff --git a/frontend-modern/src/features/docker/DockerConfigsTable.tsx b/frontend-modern/src/features/docker/DockerConfigsTable.tsxindex 523c56aa3a..6e556bdeb6 100644--- a/frontend-modern/src/features/docker/DockerConfigsTable.tsx+++ b/frontend-modern/src/features/docker/DockerConfigsTable.tsx@@ -1,5 +1,6 @@import { For, Show, createMemo, type Component } from 'solid-js';import { TableCell, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { asTrimmedString } from '@/utils/stringUtils';import {PLATFORM_HEALTH_FILTER_OPTIONS,@@ -14,6 +15,12 @@ import {type PlatformTableSortValue,} from '@/features/platformPage/sharedPlatformPage';import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';+import {+ DockerNativeDetailPanel,DockerResourceNameCell,dockerHostName,dockerLabelsSummary,@@ -63,6 +70,7 @@ export const DockerConfigsTable: Component<DockerNativeTableProps> = (props) =>const sortedRows = createMemo(() =>sort.sortRows(tableState.filtered(), getDockerConfigSortValue),);+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-config-detail' });return (<Show@@ -117,7 +125,7 @@ export const DockerConfigsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="template"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Template</PlatformSortableTableHead>@@ -125,14 +133,14 @@ export const DockerConfigsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="created"- class="sm:hidden md:table-cell md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Created</PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}- class="sm:hidden md:table-cell md:w-[24%]"+ class="platform-table-mobile-w-15 md:w-[24%]">Labels</PlatformSortableTableHead>@@ -140,7 +148,7 @@ export const DockerConfigsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="host"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Host</PlatformSortableTableHead>@@ -149,41 +157,82 @@ export const DockerConfigsTable: Component<DockerNativeTableProps> = (props) =>body={<><For each={sortedRows()}>- {(resource) => (- <TableRow class="text-[11px] sm:text-xs" data-docker-config-row={resource.id}>- <DockerResourceNameCell resource={resource} />- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.templatingDriver)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden text-base-content md:table-cell`}- >- <span- class="inline-block max-w-[14rem] truncate"- title={dockerTextValue(resource.docker?.objectCreatedAt)}- >- {dockerTextValue(resource.docker?.objectCreatedAt)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden text-base-content md:table-cell`}- >- <span- class="inline-block max-w-[22rem] truncate"- title={dockerLabelsSummary(resource.docker?.labels)}+ {(resource) => {+ const detailRowId = () => drawer.detailRowId(resource);+ const isExpanded = () => drawer.isExpanded(resource);+ return (+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-config-row={resource.id}+ onClick={() => drawer.toggle(resource)}+ onKeyDown={drawer.handleActivationKey(resource)}+ tabIndex={0}>- {dockerLabelsSummary(resource.docker?.labels)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerHostName(resource)}- </TableCell>- </TableRow>- )}+ <DockerResourceNameCell+ resource={resource}+ detailToggle={+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={dockerResourceName(resource)}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(resource)}+ />+ }+ />+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.templatingDriver)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ <span+ class="inline-block max-w-[14rem] truncate"+ title={dockerTextValue(resource.docker?.objectCreatedAt)}+ >+ {dockerTextValue(resource.docker?.objectCreatedAt)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ <span+ class="inline-block max-w-[22rem] truncate"+ title={dockerLabelsSummary(resource.docker?.labels)}+ >+ {dockerLabelsSummary(resource.docker?.labels)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerHostName(resource)}+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={5}+ data-inline-docker-config-detail-for={resource.id}+ >+ <DockerNativeDetailPanel+ title={dockerResourceName(resource)}+ fields={[+ ['Template', dockerTextValue(resource.docker?.templatingDriver)],+ ['Created', dockerTextValue(resource.docker?.objectCreatedAt)],+ ['Labels', dockerLabelsSummary(resource.docker?.labels)],+ ['Host', dockerHostName(resource)],+ ]}+ />+ </InlineDetailTableRow>+ </Show>+ </>+ );+ }}</For></>}diff --git a/frontend-modern/src/features/docker/DockerHostsTable.tsx b/frontend-modern/src/features/docker/DockerHostsTable.tsxindex 2c78504da4..a4c0eac8d4 100644--- a/frontend-modern/src/features/docker/DockerHostsTable.tsx+++ b/frontend-modern/src/features/docker/DockerHostsTable.tsx@@ -246,7 +246,7 @@ export const DockerHostsTable: Component<{kind="name"sort={sort}sortKey="host"- class="w-[40%] min-[360px]:w-[34%] md:w-[13%]"+ class="platform-table-mobile-w-30 md:w-[13%]">Host</PlatformSortableTableHead>@@ -278,7 +278,7 @@ export const DockerHostsTable: Component<{kind="metric-bar"sort={sort}sortKey="cpu"- class="w-[15%] min-[360px]:w-[13%] md:w-[14%]"+ class="platform-table-mobile-w-15 w-[15%] min-[360px]:w-[13%] md:w-[14%]">CPU</PlatformSortableTableHead>@@ -286,7 +286,7 @@ export const DockerHostsTable: Component<{kind="metric-bar"sort={sort}sortKey="memory"- class="w-[15%] min-[360px]:w-[13%] md:w-[14%]"+ class="platform-table-mobile-w-15 w-[15%] min-[360px]:w-[13%] md:w-[14%]"><span class="md:hidden">Mem</span><span class="hidden md:inline">Memory</span>@@ -295,7 +295,7 @@ export const DockerHostsTable: Component<{kind="metric-bar"sort={sort}sortKey="disk"- class="w-[15%] min-[360px]:w-[13%] md:w-[14%]"+ class="platform-table-mobile-w-15 w-[15%] min-[360px]:w-[13%] md:w-[14%]">Disk</PlatformSortableTableHead>@@ -303,7 +303,7 @@ export const DockerHostsTable: Component<{kind="numeric-value"sort={sort}sortKey="uptime"- class="w-[15%] min-[360px]:w-[11%] sm:hidden md:table-cell md:w-[6%]"+ class="platform-table-mobile-w-20 w-[20%] min-[360px]:w-[11%] sm:hidden md:table-cell md:w-[6%]"><PlatformResponsiveTableLabel compact="Up" full="Uptime" /></PlatformSortableTableHead>@@ -311,7 +311,7 @@ export const DockerHostsTable: Component<{kind="numeric-value"sort={sort}sortKey="temp"- class="hidden min-[360px]:table-cell min-[360px]:w-[16%] md:table-cell md:w-[6%]"+ class="platform-table-narrow-hidden hidden min-[360px]:table-cell min-[360px]:w-[16%] md:table-cell md:w-[6%]"><PlatformResponsiveTableLabel compact="Temp" full="Temp" /></PlatformSortableTableHead>@@ -488,7 +488,7 @@ export const DockerHostsTable: Component<{{formatPlatformTableUptimeValue(host.uptime ?? docker()?.uptimeSeconds)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content min-[360px]:table-cell md:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} platform-table-narrow-hidden hidden text-base-content min-[360px]:table-cell md:table-cell`}><PlatformTableTemperatureValuevalue={host.temperature ?? docker()?.temperature}diff --git a/frontend-modern/src/features/docker/DockerImagesTable.tsx b/frontend-modern/src/features/docker/DockerImagesTable.tsxindex a5b33decf2..4a95229bf9 100644--- a/frontend-modern/src/features/docker/DockerImagesTable.tsx+++ b/frontend-modern/src/features/docker/DockerImagesTable.tsx@@ -146,7 +146,7 @@ export const DockerImagesTable: Component<kind="text"sort={sort}sortKey="host"- class="md:w-[18%]"+ class="platform-table-mobile-w-15 md:w-[18%]">Host</PlatformSortableTableHead>@@ -154,7 +154,7 @@ export const DockerImagesTable: Component<kind="text"sort={sort}sortKey="usedBy"- class="md:w-[24%]"+ class="platform-table-mobile-w-15 md:w-[24%]">Used by</PlatformSortableTableHead>@@ -162,7 +162,7 @@ export const DockerImagesTable: Component<kind="numeric-value"sort={sort}sortKey="size"- class="md:w-[12%]"+ class="platform-table-mobile-w-15 md:w-[12%]">Size</PlatformSortableTableHead>@@ -170,7 +170,7 @@ export const DockerImagesTable: Component<kind="badge"sort={sort}sortKey="update"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]"><PlatformResponsiveTableLabel compact="Update" full="Update check" /></PlatformSortableTableHead>diff --git a/frontend-modern/src/features/docker/DockerNativeTableShared.tsx b/frontend-modern/src/features/docker/DockerNativeTableShared.tsxindex 2e7dbde554..ec7e29a22b 100644--- a/frontend-modern/src/features/docker/DockerNativeTableShared.tsx+++ b/frontend-modern/src/features/docker/DockerNativeTableShared.tsx@@ -1,4 +1,4 @@-import { type Component, type JSX } from 'solid-js';+import { For, type Component, type JSX } from 'solid-js';import { StatusDot } from '@/components/shared/StatusDot';import { TableCell } from '@/components/shared/Table';import { ResourceNameWithWebInterfaceLink } from '@/components/shared/WebInterfaceLink';@@ -94,3 +94,20 @@ export const DockerResourceNameCell: Component<{</TableCell>);};++export const DockerNativeDetailPanel: Component<{+ title: string;+ fields: readonly (readonly [string, string])[];+}> = (props) => (+ <dl class="grid gap-x-4 gap-y-2 text-[11px] sm:grid-cols-2">+ <div class="sm:col-span-2 text-xs font-semibold text-base-content">{props.title}</div>+ <For each={props.fields}>+ {(field) => (+ <div class="min-w-0">+ <dt class="text-[10px] font-medium uppercase tracking-wide text-muted">{field[0]}</dt>+ <dd class="break-words font-mono text-base-content">{field[1] || '—'}</dd>+ </div>+ )}+ </For>+ </dl>+);diff --git a/frontend-modern/src/features/docker/DockerSecretsTable.tsx b/frontend-modern/src/features/docker/DockerSecretsTable.tsxindex e1c0608b2e..eb926b5f8f 100644--- a/frontend-modern/src/features/docker/DockerSecretsTable.tsx+++ b/frontend-modern/src/features/docker/DockerSecretsTable.tsx@@ -1,5 +1,6 @@import { For, Show, createMemo, type Component } from 'solid-js';import { TableCell, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { asTrimmedString } from '@/utils/stringUtils';import {PLATFORM_HEALTH_FILTER_OPTIONS,@@ -14,6 +15,12 @@ import {type PlatformTableSortValue,} from '@/features/platformPage/sharedPlatformPage';import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';+import {+ DockerNativeDetailPanel,DockerResourceNameCell,dockerHostName,dockerLabelsSummary,@@ -65,6 +72,7 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>const sortedRows = createMemo(() =>sort.sortRows(tableState.filtered(), getDockerSecretSortValue),);+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-secret-detail' });return (<Show@@ -119,7 +127,7 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="driver"- class="md:w-[14%]"+ class="platform-table-mobile-w-15 md:w-[14%]">Driver</PlatformSortableTableHead>@@ -127,7 +135,7 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="template"- class="sm:hidden md:table-cell md:w-[14%]"+ class="platform-table-mobile-w-15 md:w-[14%]">Template</PlatformSortableTableHead>@@ -135,14 +143,14 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="created"- class="md:w-[14%]"+ class="platform-table-mobile-w-15 md:w-[14%]">Created</PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}- class="hidden md:table-cell md:w-[18%]"+ class="platform-table-mobile-w-10 platform-table-narrow-hidden md:w-[18%]">Labels</PlatformSortableTableHead>@@ -150,7 +158,7 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="host"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Host</PlatformSortableTableHead>@@ -159,46 +167,88 @@ export const DockerSecretsTable: Component<DockerNativeTableProps> = (props) =>body={<><For each={sortedRows()}>- {(resource) => (- <TableRow class="text-[11px] sm:text-xs" data-docker-secret-row={resource.id}>- <DockerResourceNameCell resource={resource} />- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.driver)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden text-base-content md:table-cell`}- >- {dockerTextValue(resource.docker?.templatingDriver)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- <span- class="inline-block max-w-[12rem] truncate"- title={dockerTextValue(resource.docker?.objectCreatedAt)}- >- {dockerTextValue(resource.docker?.objectCreatedAt)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- <span- class="inline-block max-w-[16rem] truncate"- title={dockerLabelsSummary(resource.docker?.labels)}+ {(resource) => {+ const detailRowId = () => drawer.detailRowId(resource);+ const isExpanded = () => drawer.isExpanded(resource);+ return (+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-secret-row={resource.id}+ onClick={() => drawer.toggle(resource)}+ onKeyDown={drawer.handleActivationKey(resource)}+ tabIndex={0}>- {dockerLabelsSummary(resource.docker?.labels)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerHostName(resource)}- </TableCell>- </TableRow>- )}+ <DockerResourceNameCell+ resource={resource}+ detailToggle={+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={dockerResourceName(resource)}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(resource)}+ />+ }+ />+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.driver)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.templatingDriver)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ <span+ class="inline-block max-w-[12rem] truncate"+ title={dockerTextValue(resource.docker?.objectCreatedAt)}+ >+ {dockerTextValue(resource.docker?.objectCreatedAt)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden text-base-content`}+ >+ <span+ class="inline-block max-w-[16rem] truncate"+ title={dockerLabelsSummary(resource.docker?.labels)}+ >+ {dockerLabelsSummary(resource.docker?.labels)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerHostName(resource)}+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={6}+ data-inline-docker-secret-detail-for={resource.id}+ >+ <DockerNativeDetailPanel+ title={dockerResourceName(resource)}+ fields={[+ ['Driver', dockerTextValue(resource.docker?.driver)],+ ['Template', dockerTextValue(resource.docker?.templatingDriver)],+ ['Created', dockerTextValue(resource.docker?.objectCreatedAt)],+ ['Labels', dockerLabelsSummary(resource.docker?.labels)],+ ['Host', dockerHostName(resource)],+ ]}+ />+ </InlineDetailTableRow>+ </Show>+ </>+ );+ }}</For></>}diff --git a/frontend-modern/src/features/docker/DockerServicesTable.tsx b/frontend-modern/src/features/docker/DockerServicesTable.tsxindex 05eda93396..96ac31cad5 100644--- a/frontend-modern/src/features/docker/DockerServicesTable.tsx+++ b/frontend-modern/src/features/docker/DockerServicesTable.tsx@@ -1,6 +1,7 @@import { For, Show, createMemo, type Component, type JSX } from 'solid-js';import { StatusDot } from '@/components/shared/StatusDot';import { TableCell, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { asTrimmedString } from '@/utils/stringUtils';import {PLATFORM_HEALTH_FILTER_OPTIONS,@@ -14,6 +15,12 @@ import {PlatformTableShell,type PlatformTableSortValue,} from '@/features/platformPage/sharedPlatformPage';+import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';+import { DockerNativeDetailPanel } from './DockerNativeTableShared';import type { Resource } from '@/types/resource';import {compareDockerServices,@@ -136,6 +143,7 @@ export const DockerServicesTable: Component<{getDockerServiceSortValue,),);+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-service-detail' });const hasFilteredSourceRows = () => (props.sourceCount ?? props.resources.length) > 0;@@ -207,7 +215,7 @@ export const DockerServicesTable: Component<{kind="text"sort={sort}sortKey="stack"- class="hidden md:table-cell md:w-[9%]"+ class="platform-table-narrow-hidden hidden md:table-cell md:w-[9%]">Stack</PlatformSortableTableHead>@@ -215,7 +223,7 @@ export const DockerServicesTable: Component<{kind="text"sort={sort}sortKey="image"- class="hidden md:table-cell md:w-[19%]"+ class="platform-table-mobile-w-20 md:w-[19%]">Image</PlatformSortableTableHead>@@ -223,7 +231,7 @@ export const DockerServicesTable: Component<{kind="text"sort={sort}sortKey="mode"- class="w-[14%] md:w-[8%]"+ class="platform-table-mobile-w-10 w-[10%] md:w-[8%]">Mode</PlatformSortableTableHead>@@ -231,7 +239,7 @@ export const DockerServicesTable: Component<{kind="numeric-value"sort={sort}sortKey="desired"- class="w-[14%] md:w-[8%]"+ class="platform-table-narrow-hidden platform-table-mobile-w-10 w-[10%] md:w-[8%]">Desired</PlatformSortableTableHead>@@ -239,7 +247,7 @@ export const DockerServicesTable: Component<{kind="numeric-value"sort={sort}sortKey="running"- class="w-[14%] md:w-[8%]"+ class="platform-table-mobile-w-10 w-[10%] md:w-[8%]">Running</PlatformSortableTableHead>@@ -247,14 +255,14 @@ export const DockerServicesTable: Component<{kind="text"sort={sort}sortKey="update"- class="w-[15%] md:w-[12%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[12%]">Update</PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}- class="hidden md:table-cell md:w-[14%]"+ class="platform-table-narrow-hidden hidden md:table-cell md:w-[14%]">Ports</PlatformSortableTableHead>@@ -262,7 +270,7 @@ export const DockerServicesTable: Component<{kind="text"sort={sort}sortKey="host"- class="w-[15%] md:w-[10%]"+ class="platform-table-narrow-hidden platform-table-mobile-w-10 w-[10%] md:w-[10%]">Host</PlatformSortableTableHead>@@ -279,70 +287,112 @@ export const DockerServicesTable: Component<{const host = () => asTrimmedString(service.docker?.hostname) || '—';const indicator = () => mapDockerServiceStatus(service);const update = () => formatServiceUpdate(service.docker?.serviceUpdate);+ const detailRowId = () => drawer.detailRowId(service);+ const isExpanded = () => drawer.isExpanded(service);return (- <TableRow class="text-[11px] sm:text-xs" data-docker-service-row={service.id}>- <TableCell class={getPlatformTableCellClassForKind('name')}>- <div class="flex min-w-0 items-center gap-2">- <StatusDot- size="sm"- variant={indicator().variant}- title={indicator().label}- ariaHidden- />- <span class="truncate font-semibold text-base-content" title={name()}>- {name()}- </span>- </div>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- <span class="truncate inline-block max-w-[8rem]" title={stack()}>- {stack()}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- <span class="truncate inline-block max-w-[18rem]" title={image()}>- {image()}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {mode()}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- <PlatformTableNumberValue value={service.docker?.desiredTasks ?? 0} />- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- <PlatformTableNumberValue value={service.docker?.runningTasks ?? 0} />- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-service-row={service.id}+ onClick={() => drawer.toggle(service)}+ onKeyDown={drawer.handleActivationKey(service)}+ tabIndex={0}>- <span class="truncate inline-block max-w-[10rem]" title={update().title}>- {update().label}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- <span class="font-mono text-[11px]" title={formatPorts(service.docker)}>- {formatPorts(service.docker)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {host()}- </TableCell>- </TableRow>+ <TableCell class={getPlatformTableCellClassForKind('name')}>+ <div class="flex min-w-0 items-center gap-2">+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={name()}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(service)}+ />+ <StatusDot+ size="sm"+ variant={indicator().variant}+ title={indicator().label}+ ariaHidden+ />+ <span class="truncate font-semibold text-base-content" title={name()}>+ {name()}+ </span>+ </div>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden hidden text-base-content md:table-cell`}+ >+ <span class="truncate inline-block max-w-[8rem]" title={stack()}>+ {stack()}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content md:table-cell`}+ >+ <span class="truncate inline-block max-w-[18rem]" title={image()}>+ {image()}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {mode()}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} platform-table-narrow-hidden text-base-content`}+ >+ <PlatformTableNumberValue value={service.docker?.desiredTasks ?? 0} />+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ <PlatformTableNumberValue value={service.docker?.runningTasks ?? 0} />+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ <span+ class="truncate inline-block max-w-[10rem]"+ title={update().title}+ >+ {update().label}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden hidden text-base-content md:table-cell`}+ >+ <span class="font-mono text-[11px]" title={formatPorts(service.docker)}>+ {formatPorts(service.docker)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden text-base-content`}+ >+ {host()}+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={9}+ data-inline-docker-service-detail-for={service.id}+ >+ <DockerNativeDetailPanel+ title={name()}+ fields={[+ ['Stack', stack()],+ ['Image', image()],+ ['Mode', mode()],+ ['Desired', String(service.docker?.desiredTasks ?? 0)],+ ['Running', String(service.docker?.runningTasks ?? 0)],+ ['Update', update().title || update().label],+ ['Ports', formatPorts(service.docker)],+ ['Host', host()],+ ]}+ />+ </InlineDetailTableRow>+ </Show>+ </>);}}</For>diff --git a/frontend-modern/src/features/docker/DockerStorageUsageTable.tsx b/frontend-modern/src/features/docker/DockerStorageUsageTable.tsxindex 6b5450c26b..b70ddea882 100644--- a/frontend-modern/src/features/docker/DockerStorageUsageTable.tsx+++ b/frontend-modern/src/features/docker/DockerStorageUsageTable.tsx@@ -1,6 +1,12 @@import { For, Show, type Component, type JSX } from 'solid-js';import { StatusDot } from '@/components/shared/StatusDot';import { TableCell, TableHead, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';+import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';import { getSimpleStatusIndicator } from '@/utils/status';import { asTrimmedString } from '@/utils/stringUtils';import {@@ -29,18 +35,20 @@ const bucketValue = (bucket?: DockerStorageUsageMeta): JSX.Element => {const count = bucket?.totalCount ?? 0;const active = bucket?.activeCount ?? 0;return (- <span class="inline-flex min-w-0 flex-col items-end leading-tight">- <span class="tabular-nums text-base-content">- {formatPlatformTableBytesValue(totalSize, '0 B')}- </span>- <span class="truncate text-[10px] text-muted">- {count} total, {active} active, {formatPlatformTableBytesValue(reclaimable, '0 B')}{' '}- reclaimable- </span>+ <span+ class="block truncate tabular-nums text-base-content"+ title={`${formatPlatformTableBytesValue(totalSize, '0 B')} total · ${active}/${count} active · ${formatPlatformTableBytesValue(reclaimable, '0 B')} reclaimable`}+ >+ {formatPlatformTableBytesValue(totalSize, '0 B')} · {active}/{count}</span>);};+const bucketDetail = (bucket?: DockerStorageUsageMeta): string => {+ if (!hasDockerStorageUsageBucket(bucket)) return '—';+ return `${formatPlatformTableBytesValue(bucket?.totalSizeBytes ?? 0, '0 B')} total · ${bucket?.activeCount ?? 0}/${bucket?.totalCount ?? 0} active · ${formatPlatformTableBytesValue(bucket?.reclaimableBytes ?? 0, '0 B')} reclaimable`;+};+export const DockerStorageUsageTable: Component<{hosts: Resource[];sourceCount?: number;@@ -59,6 +67,7 @@ export const DockerStorageUsageTable: Component<{externalSearch: props.externalSearch,externalStatus: props.externalStatus,});+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-storage-detail' });const hasFilteredSourceRows = () => (props.sourceCount ?? props.hosts.length) > 0;return (@@ -114,22 +123,22 @@ export const DockerStorageUsageTable: Component<{Host</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} md:w-[19%]`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[19%]`}>Images</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} md:w-[19%]`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[19%]`}><PlatformResponsiveTableLabel compact="Ctrs" full="Containers" /></TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} sm:hidden md:table-cell md:w-[20%]`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[20%]`}><PlatformResponsiveTableLabel compact="Vols" full="Volumes" /></TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} sm:hidden md:table-cell md:w-[20%]`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[20%]`}><PlatformResponsiveTableLabel compact="Cache" full="Build Cache" /></TableHead>@@ -141,42 +150,97 @@ export const DockerStorageUsageTable: Component<{{(host) => {const name = () => asTrimmedString(host.name) || host.id;const indicator = () => getSimpleStatusIndicator(host.status);+ const detailRowId = () => drawer.detailRowId(host);+ const isExpanded = () => drawer.isExpanded(host);return (- <TableRow class="text-[11px] sm:text-xs" data-docker-storage-row={host.id}>- <TableCell class={getPlatformTableCellClassForKind('name')}>- <div class="flex min-w-0 items-center gap-2">- <StatusDot- size="sm"- variant={indicator().variant}- title={host.status || 'unknown'}- ariaHidden- />- <span class="truncate font-semibold text-base-content" title={name()}>- {name()}- </span>- </div>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- {bucketValue(host.docker?.imagesUsage)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- {bucketValue(host.docker?.containersUsage)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} sm:hidden text-base-content md:table-cell`}- >- {bucketValue(host.docker?.volumesUsage)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} sm:hidden text-base-content md:table-cell`}+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-storage-row={host.id}+ onClick={() => drawer.toggle(host)}+ onKeyDown={drawer.handleActivationKey(host)}+ tabIndex={0}>- {bucketValue(host.docker?.buildCacheUsage)}- </TableCell>- </TableRow>+ <TableCell class={getPlatformTableCellClassForKind('name')}>+ <div class="flex min-w-0 items-center gap-2">+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={name()}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(host)}+ />+ <StatusDot+ size="sm"+ variant={indicator().variant}+ title={host.status || 'unknown'}+ ariaHidden+ />+ <span class="truncate font-semibold text-base-content" title={name()}>+ {name()}+ </span>+ </div>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ {bucketValue(host.docker?.imagesUsage)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ {bucketValue(host.docker?.containersUsage)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ {bucketValue(host.docker?.volumesUsage)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ {bucketValue(host.docker?.buildCacheUsage)}+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={5}+ data-inline-docker-storage-detail-for={host.id}+ >+ <div class="grid gap-x-4 gap-y-2 text-[11px] sm:grid-cols-2">+ <div class="sm:col-span-2 text-xs font-semibold text-base-content">+ {name()}+ </div>+ <div>+ <span class="text-muted">Images</span>+ <div class="break-words font-mono text-base-content">+ {bucketDetail(host.docker?.imagesUsage)}+ </div>+ </div>+ <div>+ <span class="text-muted">Containers</span>+ <div class="break-words font-mono text-base-content">+ {bucketDetail(host.docker?.containersUsage)}+ </div>+ </div>+ <div>+ <span class="text-muted">Volumes</span>+ <div class="break-words font-mono text-base-content">+ {bucketDetail(host.docker?.volumesUsage)}+ </div>+ </div>+ <div>+ <span class="text-muted">Build cache</span>+ <div class="break-words font-mono text-base-content">+ {bucketDetail(host.docker?.buildCacheUsage)}+ </div>+ </div>+ </div>+ </InlineDetailTableRow>+ </Show>+ </>);}}</For>diff --git a/frontend-modern/src/features/docker/DockerSwarmNodesTable.tsx b/frontend-modern/src/features/docker/DockerSwarmNodesTable.tsxindex f5849f13c1..c68a6ce0bb 100644--- a/frontend-modern/src/features/docker/DockerSwarmNodesTable.tsx+++ b/frontend-modern/src/features/docker/DockerSwarmNodesTable.tsx@@ -1,5 +1,6 @@import { For, Show, createMemo, type Component } from 'solid-js';import { TableCell, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { asTrimmedString } from '@/utils/stringUtils';import {PLATFORM_HEALTH_FILTER_OPTIONS,@@ -14,6 +15,12 @@ import {type PlatformTableSortValue,} from '@/features/platformPage/sharedPlatformPage';import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';+import {+ DockerNativeDetailPanel,DockerResourceNameCell,dockerByteValue,dockerCpuValue,@@ -96,6 +103,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)getDockerSwarmNodeSortValue,),);+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-swarm-node-detail' });return (<Show@@ -150,7 +158,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)kind="text"sort={sort}sortKey="role"- class="w-[13%] md:w-[10%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[10%]">Role</PlatformSortableTableHead>@@ -158,7 +166,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)kind="text"sort={sort}sortKey="availability"- class="w-[14%] md:w-[12%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[12%]"><PlatformResponsiveTableLabel compact="Avail" full="Availability" /></PlatformSortableTableHead>@@ -166,7 +174,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)kind="text"sort={sort}sortKey="reachability"- class="w-[16%] md:w-[14%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[14%]">Reachability</PlatformSortableTableHead>@@ -182,7 +190,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)kind="numeric-value"sort={sort}sortKey="cpus"- class="w-[12%] sm:hidden md:table-cell md:w-[8%]"+ class="platform-table-narrow-hidden w-[12%] sm:hidden md:table-cell md:w-[8%]">CPUs</PlatformSortableTableHead>@@ -190,7 +198,7 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)kind="numeric-value"sort={sort}sortKey="memory"- class="w-[13%] md:w-[10%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[10%]"><PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead>@@ -213,55 +221,103 @@ export const DockerSwarmNodesTable: Component<DockerNativeTableProps> = (props)resource.docker?.leader ? 'leader' : resource.docker?.managerReachability,);+ const detailRowId = () => drawer.detailRowId(resource);+ const isExpanded = () => drawer.isExpanded(resource);return (- <TableRow- class="text-[11px] sm:text-xs"- data-docker-swarm-node-row={resource.id}- >- <DockerResourceNameCell- resource={resource}- indicator={mapDockerSwarmNodeStatus(resource)}- />- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.nodeRole)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.availability)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {managerReachability()}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- {dockerTextValue(- resource.docker?.engineVersion || resource.docker?.runtimeVersion,- )}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} sm:hidden text-base-content md:table-cell`}- >- {dockerCpuValue(resource.docker?.nanoCpus)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- {dockerByteValue(resource.docker?.memoryBytes)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content sm:table-cell`}+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-swarm-node-row={resource.id}+ onClick={() => drawer.toggle(resource)}+ onKeyDown={drawer.handleActivationKey(resource)}+ tabIndex={0}>- {dockerTextValue(- resource.docker?.address || resource.docker?.managerAddress,- )}- </TableCell>- </TableRow>+ <DockerResourceNameCell+ resource={resource}+ indicator={mapDockerSwarmNodeStatus(resource)}+ detailToggle={+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={dockerResourceName(resource)}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(resource)}+ />+ }+ />+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.nodeRole)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.availability)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {managerReachability()}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}+ >+ {dockerTextValue(+ resource.docker?.engineVersion || resource.docker?.runtimeVersion,+ )}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} platform-table-narrow-hidden sm:hidden text-base-content md:table-cell`}+ >+ {dockerCpuValue(resource.docker?.nanoCpus)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ {dockerByteValue(resource.docker?.memoryBytes)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content sm:table-cell`}+ >+ {dockerTextValue(+ resource.docker?.address || resource.docker?.managerAddress,+ )}+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={8}+ data-inline-docker-swarm-node-detail-for={resource.id}+ >+ <DockerNativeDetailPanel+ title={dockerResourceName(resource)}+ fields={[+ ['Role', dockerTextValue(resource.docker?.nodeRole)],+ ['Availability', dockerTextValue(resource.docker?.availability)],+ ['Reachability', managerReachability()],+ [+ 'Engine',+ dockerTextValue(+ resource.docker?.engineVersion ||+ resource.docker?.runtimeVersion,+ ),+ ],+ ['CPUs', dockerCpuValue(resource.docker?.nanoCpus)],+ ['Memory', dockerByteValue(resource.docker?.memoryBytes)],+ [+ 'Address',+ dockerTextValue(+ resource.docker?.address || resource.docker?.managerAddress,+ ),+ ],+ ]}+ />+ </InlineDetailTableRow>+ </Show>+ </>);}}</For>diff --git a/frontend-modern/src/features/docker/DockerTasksTable.tsx b/frontend-modern/src/features/docker/DockerTasksTable.tsxindex c21b5caf81..790ccc7f26 100644--- a/frontend-modern/src/features/docker/DockerTasksTable.tsx+++ b/frontend-modern/src/features/docker/DockerTasksTable.tsx@@ -1,5 +1,6 @@import { For, Show, createMemo, type Component } from 'solid-js';import { TableCell, TableRow } from '@/components/shared/Table';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { asTrimmedString } from '@/utils/stringUtils';import {PLATFORM_HEALTH_FILTER_OPTIONS,@@ -14,6 +15,12 @@ import {type PlatformTableSortValue,} from '@/features/platformPage/sharedPlatformPage';import {+ PlatformResourceDetailToggleButton,+ createPlatformResourceDetailState,+ getPlatformResourceDetailRowClass,+} from '@/features/platformPage/PlatformResourceDetailTableRow';+import {+ DockerNativeDetailPanel,DockerResourceNameCell,dockerNumberValue,dockerResourceName,@@ -79,6 +86,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {const sortedRows = createMemo(() =>sort.sortRows([...tableState.filtered()].sort(compareDockerTasks), getDockerTaskSortValue),);+ const drawer = createPlatformResourceDetailState({ idPrefix: 'docker-task-detail' });return (<Show@@ -133,7 +141,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="text"sort={sort}sortKey="service"- class="md:w-[18%]"+ class="platform-table-mobile-w-15 md:w-[18%]">Service</PlatformSortableTableHead>@@ -141,7 +149,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="numeric-value"sort={sort}sortKey="slot"- class="hidden md:table-cell md:w-[8%]"+ class="platform-table-narrow-hidden hidden md:table-cell md:w-[8%]">Slot</PlatformSortableTableHead>@@ -149,7 +157,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="text"sort={sort}sortKey="desired"- class="md:w-[12%]"+ class="platform-table-mobile-w-15 md:w-[12%]">Desired</PlatformSortableTableHead>@@ -157,7 +165,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="text"sort={sort}sortKey="current"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Current</PlatformSortableTableHead>@@ -165,7 +173,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="text"sort={sort}sortKey="node"- class="md:w-[16%]"+ class="platform-table-mobile-w-15 md:w-[16%]">Node</PlatformSortableTableHead>@@ -173,7 +181,7 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {kind="text"sort={sort}sortKey="started"- class="hidden md:table-cell md:w-[12%]"+ class="platform-table-narrow-hidden hidden md:table-cell md:w-[12%]">Started</PlatformSortableTableHead>@@ -182,58 +190,104 @@ export const DockerTasksTable: Component<DockerNativeTableProps> = (props) => {body={<><For each={sortedRows()}>- {(resource) => (- <TableRow class="text-[11px] sm:text-xs" data-docker-task-row={resource.id}>- <DockerResourceNameCell- resource={resource}- indicator={mapDockerTaskStatus(resource)}- />- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.serviceName)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content md:table-cell`}- >- {dockerNumberValue(resource.docker?.slot)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.desiredState)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- <span- class="inline-block max-w-[14rem] truncate"- title={dockerTextValue(- resource.docker?.error ||- resource.docker?.message ||- resource.docker?.currentState,- )}- >- {dockerTextValue(resource.docker?.currentState)}- </span>- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}- >- {dockerTextValue(resource.docker?.nodeName || resource.docker?.nodeId)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}- >- <span- class="inline-block max-w-[12rem] truncate"- title={dockerTextValue(resource.docker?.startedAt)}+ {(resource) => {+ const detailRowId = () => drawer.detailRowId(resource);+ const isExpanded = () => drawer.isExpanded(resource);+ return (+ <>+ <TableRow+ class={`${getPlatformResourceDetailRowClass(isExpanded())} text-[11px] sm:text-xs`}+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded() ? 'true' : 'false'}+ data-docker-task-row={resource.id}+ onClick={() => drawer.toggle(resource)}+ onKeyDown={drawer.handleActivationKey(resource)}+ tabIndex={0}>- {dockerTextValue(resource.docker?.startedAt)}- </span>- </TableCell>- </TableRow>- )}+ <DockerResourceNameCell+ resource={resource}+ indicator={mapDockerTaskStatus(resource)}+ detailToggle={+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={dockerResourceName(resource)}+ controlsId={detailRowId()}+ onToggle={() => drawer.toggle(resource)}+ />+ }+ />+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.serviceName)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} platform-table-narrow-hidden hidden text-base-content md:table-cell`}+ >+ {dockerNumberValue(resource.docker?.slot)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.desiredState)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ <span+ class="inline-block max-w-[14rem] truncate"+ title={dockerTextValue(+ resource.docker?.error ||+ resource.docker?.message ||+ resource.docker?.currentState,+ )}+ >+ {dockerTextValue(resource.docker?.currentState)}+ </span>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ >+ {dockerTextValue(resource.docker?.nodeName || resource.docker?.nodeId)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden hidden text-base-content md:table-cell`}+ >+ <span+ class="inline-block max-w-[12rem] truncate"+ title={dockerTextValue(resource.docker?.startedAt)}+ >+ {dockerTextValue(resource.docker?.startedAt)}+ </span>+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={7}+ data-inline-docker-task-detail-for={resource.id}+ >+ <DockerNativeDetailPanel+ title={dockerResourceName(resource)}+ fields={[+ ['Service', dockerTextValue(resource.docker?.serviceName)],+ ['Slot', String(resource.docker?.slot ?? '—')],+ ['Desired', dockerTextValue(resource.docker?.desiredState)],+ ['Current', dockerTextValue(resource.docker?.currentState)],+ [+ 'Node',+ dockerTextValue(+ resource.docker?.nodeName || resource.docker?.nodeId,+ ),+ ],+ ['Started', dockerTextValue(resource.docker?.startedAt)],+ ]}+ />+ </InlineDetailTableRow>+ </Show>+ </>+ );+ }}</For></>}diff --git a/frontend-modern/src/features/docker/DockerVolumesTable.tsx b/frontend-modern/src/features/docker/DockerVolumesTable.tsxindex 43bf8513f3..1a7416ac1a 100644--- a/frontend-modern/src/features/docker/DockerVolumesTable.tsx+++ b/frontend-modern/src/features/docker/DockerVolumesTable.tsx@@ -146,7 +146,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="driver"- class="md:w-[12%]"+ class="platform-table-mobile-w-15 md:w-[12%]">Driver</PlatformSortableTableHead>@@ -154,7 +154,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="scope"- class="hidden md:table-cell md:w-[10%]"+ class="platform-table-mobile-w-10 platform-table-narrow-hidden md:w-[10%]">Scope</PlatformSortableTableHead>@@ -162,7 +162,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>kind="numeric-value"sort={sort}sortKey="size"- class="md:w-[10%]"+ class="platform-table-mobile-w-15 md:w-[10%]">Size</PlatformSortableTableHead>@@ -170,7 +170,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>kind="numeric-value"sort={sort}sortKey="refs"- class="sm:hidden md:table-cell md:w-[8%]"+ class="platform-table-mobile-w-15 md:w-[8%]">Refs</PlatformSortableTableHead>@@ -178,7 +178,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>kind="text"sort={sort}sortKey="created"- class="sm:hidden md:table-cell md:w-[14%]"+ class="platform-table-mobile-w-15 md:w-[14%]">Created</PlatformSortableTableHead>@@ -226,12 +226,12 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>{dockerTextValue(resource.docker?.driver)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-base-content md:table-cell`}+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden hidden text-base-content md:table-cell`}>{dockerTextValue(resource.docker?.scope)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} sm:hidden text-base-content md:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>{dockerByteValue(resource.docker?.sizeBytes)}</TableCell>@@ -241,7 +241,7 @@ export const DockerVolumesTable: Component<DockerNativeTableProps> = (props) =>{dockerNumberValue(resource.docker?.refCount)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} sm:hidden text-base-content md:table-cell`}+ class={`${getPlatformTableCellClassForKind('text')} text-base-content`}><spanclass="inline-block max-w-[12rem] truncate"diff --git a/frontend-modern/src/features/docker/__tests__/DockerHostsTable.test.tsx b/frontend-modern/src/features/docker/__tests__/DockerHostsTable.test.tsxindex 165c09f17d..16becf5d6c 100644--- a/frontend-modern/src/features/docker/__tests__/DockerHostsTable.test.tsx+++ b/frontend-modern/src/features/docker/__tests__/DockerHostsTable.test.tsx@@ -129,7 +129,8 @@ afterEach(() => {describe('DockerHostsTable', () => {it('keeps five readable host fields below 360 pixels without wrapped metadata rows', () => {- expect(dockerHostsTableSource).toContain('w-[40%] min-[360px]:w-[34%]');+ expect(dockerHostsTableSource).toContain('platform-table-mobile-w-30');+ expect(dockerHostsTableSource).toContain('platform-table-narrow-hidden');expect(dockerHostsTableSource).toContain('hidden min-[360px]:table-cell min-[360px]:w-[16%]');expect(dockerHostsTableSource).toContain('class="max-[359px]:hidden"');expect(dockerHostsTableSource).not.toContain('md:hidden" title={badge().title');diff --git a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsxindex 3dbf6654b4..06bd90f031 100644--- a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx+++ b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx@@ -1474,10 +1474,8 @@ describe('Docker native tables', () => {expect(screen.getByText('Build Cache')).toBeInTheDocument();expect(screen.getByPlaceholderText('Search storage usage')).toBeInTheDocument();expect(screen.getByText('edge-01')).toBeInTheDocument();- expect(screen.getByText('2.00 GB')).toBeInTheDocument();- expect(screen.getByText('6 total, 4 active, 512 MB reclaimable')).toBeInTheDocument();- expect(screen.getByText('5.00 GB')).toBeInTheDocument();- expect(screen.getByText('4 total, 1 active, 4.00 GB reclaimable')).toBeInTheDocument();+ expect(screen.getByText('2.00 GB · 4/6')).toBeInTheDocument();+ expect(screen.getByText('5.00 GB · 1/4')).toBeInTheDocument();expect(document.querySelector('[data-docker-storage-row="host-1"]')).not.toBeNull();});@@ -1626,5 +1624,13 @@ describe('Docker native tables', () => {expect(screen.getByText('golang')).toBeInTheDocument();expect(screen.getByText('stack=edge')).toBeInTheDocument();expect(screen.getByText('manager-1')).toBeInTheDocument();++ const configRow = document.querySelector<HTMLElement>('[data-docker-config-row="config-1"]');+ expect(configRow).not.toBeNull();+ fireEvent.keyDown(configRow!, { key: 'Enter' });+ expect(configRow).toHaveAttribute('aria-expanded', 'true');+ expect(+ document.querySelector('[data-inline-docker-config-detail-for="config-1"]'),+ ).not.toBeNull();});});diff --git a/frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsxindex aec31c4ed5..258f0a1bd6 100644--- a/frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesAutoscalingTable.tsx@@ -166,7 +166,7 @@ export const KubernetesAutoscalingTable: Component<{kind="name"sort={sort}sortKey="autoscaler"- class="md:w-[20%]"+ class="platform-table-mobile-w-30 md:w-[20%]">Autoscaler</PlatformSortableTableHead>diff --git a/frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsxindex e56c3048db..62395cfc67 100644--- a/frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesClustersTable.tsx@@ -195,7 +195,7 @@ export const KubernetesClustersTable: Component<{kind="text"sort={sort}sortKey="version"- class="w-[15%] md:w-[10%]"+ class="platform-table-mobile-w-15 md:w-[10%]"><PlatformResponsiveTableLabel compact="Ver" full="Version" /></PlatformSortableTableHead>@@ -203,7 +203,7 @@ export const KubernetesClustersTable: Component<{kind="numeric-value"sort={sort}sortKey="nodes"- class="w-[12%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%]">Nodes</PlatformSortableTableHead>@@ -211,7 +211,7 @@ export const KubernetesClustersTable: Component<{kind="numeric-value"sort={sort}sortKey="pods"- class="w-[12%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%] platform-table-narrow-hidden">Pods</PlatformSortableTableHead>@@ -227,7 +227,7 @@ export const KubernetesClustersTable: Component<{kind="metric-bar"sort={sort}sortKey="cpu"- class="w-[15%] md:w-[15%]"+ class="platform-table-mobile-w-15 md:w-[15%]">CPU</PlatformSortableTableHead>@@ -235,7 +235,7 @@ export const KubernetesClustersTable: Component<{kind="metric-bar"sort={sort}sortKey="memory"- class="w-[16%] md:w-[15%]"+ class="platform-table-mobile-w-20 md:w-[15%]"><PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead>@@ -366,7 +366,7 @@ export const KubernetesClustersTable: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}><PlatformTableCountRatioValuecurrent={counts().pods.total - counts().pods.attention}diff --git a/frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsxindex 56a6885ed4..2dc293a092 100644--- a/frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx@@ -277,7 +277,7 @@ export const KubernetesControllersTable: Component<{kind="name"sort={sort}sortKey="controller"- class="md:w-[18%]"+ class="platform-table-mobile-w-30 md:w-[18%]">Controller</PlatformSortableTableHead>diff --git a/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsxindex 8c5180b9fc..5ced6ebef4 100644--- a/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx@@ -182,7 +182,7 @@ export const KubernetesDeploymentsTable: Component<{kind="text"sort={sort}sortKey="namespace"- class="w-[15%] md:w-[20%]"+ class="platform-table-mobile-w-15 md:w-[20%]">Namespace</PlatformSortableTableHead>@@ -198,7 +198,7 @@ export const KubernetesDeploymentsTable: Component<{kind="numeric-value"sort={sort}sortKey="desired"- class="w-[9%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%]"><PlatformResponsiveTableLabel compact="Des" full="Desired" /></PlatformSortableTableHead>@@ -206,7 +206,7 @@ export const KubernetesDeploymentsTable: Component<{kind="numeric-value"sort={sort}sortKey="updated"- class="w-[9%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%] platform-table-narrow-hidden"><PlatformResponsiveTableLabel compact="Upd" full="Updated" /></PlatformSortableTableHead>@@ -214,7 +214,7 @@ export const KubernetesDeploymentsTable: Component<{kind="numeric-value"sort={sort}sortKey="ready"- class="w-[13%] md:w-[7%]"+ class="platform-table-mobile-w-15 md:w-[7%]"><PlatformResponsiveTableLabel compact="Rdy" full="Ready" /></PlatformSortableTableHead>@@ -222,7 +222,7 @@ export const KubernetesDeploymentsTable: Component<{kind="numeric-value"sort={sort}sortKey="available"- class="w-[13%] md:w-[9%]"+ class="platform-table-mobile-w-10 md:w-[9%]"><PlatformResponsiveTableLabel compact="Avail" full="Available" /></PlatformSortableTableHead>@@ -230,7 +230,7 @@ export const KubernetesDeploymentsTable: Component<{kind="numeric-value"sort={sort}sortKey="age"- class="w-[11%] md:w-[6%]"+ class="platform-table-mobile-w-10 md:w-[6%] platform-table-narrow-hidden">Age</PlatformSortableTableHead>@@ -297,7 +297,7 @@ export const KubernetesDeploymentsTable: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}><PlatformTableNumberValuevalue={deployment.kubernetes?.updatedReplicas ?? 0}@@ -321,7 +321,7 @@ export const KubernetesDeploymentsTable: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}><span title={deployment.kubernetes?.createdAt || ''}><PlatformTableRelativeTimeValuediff --git a/frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsxindex 6183e80875..b0d0a09f82 100644--- a/frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesEventsTable.tsx@@ -124,7 +124,7 @@ export const KubernetesEventsTable: Component<{<TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[14%]`}>- Reason+ <PlatformResponsiveTableLabel compact="Why" full="Reason" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-20 md:w-[15%]`}@@ -132,7 +132,7 @@ export const KubernetesEventsTable: Component<{Object</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-10 md:w-[7%]`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-10 md:w-[7%] platform-table-narrow-hidden`}>Count</TableHead>@@ -225,7 +225,7 @@ export const KubernetesEventsTable: Component<{</span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}><PlatformTableNumberValue value={resource.kubernetes?.count} /></TableCell>diff --git a/frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsxindex 5057ecda09..8da3055a1b 100644--- a/frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesNetworkingTable.tsx@@ -202,7 +202,7 @@ export const KubernetesNetworkingTable: Component<{kind="name"sort={sort}sortKey="resource"- class="kubernetes-network-name-column md:w-[19%]"+ class="kubernetes-network-name-column platform-table-mobile-w-30 md:w-[19%]">Resource</PlatformSortableTableHead>@@ -228,7 +228,7 @@ export const KubernetesNetworkingTable: Component<{sortKey="typeClass"class="kubernetes-network-class-column platform-table-mobile-w-15 md:w-[12%]">- <PlatformResponsiveTableLabel compact="Class" full="Type / class" />+ <PlatformResponsiveTableLabel compact="Cls" full="Type / class" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"diff --git a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsxindex 588631a752..137d0ce166 100644--- a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx@@ -211,15 +211,15 @@ export const KubernetesNodesTable: Component<{kind="text"sort={sort}sortKey="cluster"- class="w-[14%] md:w-[10%]"+ class="platform-table-mobile-w-15 md:w-[10%]">- Cluster+ <PlatformResponsiveTableLabel compact="Clus" full="Cluster" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}sortKey="roles"- class="w-[14%] md:w-[10%]"+ class="platform-table-mobile-w-15 platform-table-narrow-hidden md:w-[10%]"><PlatformResponsiveTableLabel compact="Role" full="Roles" /></PlatformSortableTableHead>@@ -243,7 +243,7 @@ export const KubernetesNodesTable: Component<{kind="metric-bar"sort={sort}sortKey="cpu"- class="w-[14%] md:w-[11%]"+ class="platform-table-mobile-w-15 md:w-[11%]">CPU</PlatformSortableTableHead>@@ -251,7 +251,7 @@ export const KubernetesNodesTable: Component<{kind="metric-bar"sort={sort}sortKey="memory"- class="w-[14%] md:w-[11%]"+ class="platform-table-mobile-w-15 md:w-[11%]"><PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead>@@ -267,7 +267,7 @@ export const KubernetesNodesTable: Component<{kind="numeric-value"sort={sort}sortKey="capacity"- class="w-[14%] md:w-[14%]"+ class="platform-table-mobile-w-10 md:w-[14%]"><PlatformResponsiveTableLabel compact="Cap" full="Capacity" /></PlatformSortableTableHead>@@ -372,7 +372,7 @@ export const KubernetesNodesTable: Component<{{cluster()}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} text-base-content platform-table-narrow-hidden`}>{formatRoles(meta()?.roles)}</TableCell>diff --git a/frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsxindex 38442e2dfc..d409503230 100644--- a/frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesPodsTable.tsx@@ -217,7 +217,7 @@ export const KubernetesPodsTable: Component<{kind="text"sort={sort}sortKey="scope"- class="w-[15%] md:w-[13%]"+ class="platform-table-mobile-w-15 md:w-[13%]">Scope</PlatformSortableTableHead>@@ -225,7 +225,7 @@ export const KubernetesPodsTable: Component<{kind="text"sort={sort}sortKey="node"- class="w-[15%] md:w-[13%]"+ class="platform-table-mobile-w-15 md:w-[13%]">Node</PlatformSortableTableHead>@@ -233,7 +233,7 @@ export const KubernetesPodsTable: Component<{kind="text"sort={sort}sortKey="status"- class="w-[12%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%]">Status</PlatformSortableTableHead>@@ -241,7 +241,7 @@ export const KubernetesPodsTable: Component<{kind="numeric-value"sort={sort}sortKey="ready"- class="w-[10%] md:w-[7%]"+ class="platform-table-mobile-w-10 md:w-[7%]">Ready</PlatformSortableTableHead>@@ -249,7 +249,7 @@ export const KubernetesPodsTable: Component<{kind="numeric-value"sort={sort}sortKey="restarts"- class="w-[10%] md:w-[8%]"+ class="platform-table-mobile-w-10 md:w-[8%] platform-table-narrow-hidden">Restarts</PlatformSortableTableHead>@@ -273,7 +273,7 @@ export const KubernetesPodsTable: Component<{kind="text"sort={sort}sortKey="age"- class="w-[8%] md:w-[4%]"+ class="platform-table-mobile-w-10 md:w-[4%] platform-table-narrow-hidden">Age</PlatformSortableTableHead>@@ -356,7 +356,7 @@ export const KubernetesPodsTable: Component<{{readySummary(resource)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}><PlatformTableNumberValue value={restartCount(resource)} /></TableCell>@@ -375,7 +375,7 @@ export const KubernetesPodsTable: Component<{</span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} text-base-content platform-table-narrow-hidden`}>{age()}</TableCell>diff --git a/frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsxindex 8c1e352f1a..e1472b94dc 100644--- a/frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesServicesTable.tsx@@ -168,7 +168,7 @@ export const KubernetesServicesTable: Component<{kind="text"sort={sort}sortKey="scope"- class="w-[15%] md:w-[15%]"+ class="platform-table-mobile-w-15 md:w-[15%]">Scope</PlatformSortableTableHead>@@ -176,25 +176,29 @@ export const KubernetesServicesTable: Component<{kind="text"sort={sort}sortKey="type"- class="w-[15%] kubernetes-service-type-column md:w-[11%]"+ class="platform-table-mobile-w-15 kubernetes-service-type-column md:w-[11%]">- Type+ <PlatformResponsiveTableLabel compact="Typ" full="Type" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}sortKey="clusterIp"- class="w-[15%] kubernetes-service-ip-column md:w-[13%]"+ class="platform-table-mobile-w-15 kubernetes-service-ip-column md:w-[13%]"><PlatformResponsiveTableLabel compact="IP" full="Cluster IP" /></PlatformSortableTableHead>- <PlatformSortableTableHead kind="text" sort={sort} class="w-[10%] md:w-[13%]">+ <PlatformSortableTableHead+ kind="text"+ sort={sort}+ class="platform-table-mobile-w-10 md:w-[13%] platform-table-narrow-hidden"+ ><PlatformResponsiveTableLabel compact="Ext IP" full="External IPs" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}- class="w-[15%] kubernetes-service-ports-column md:w-[16%]"+ class="platform-table-mobile-w-15 kubernetes-service-ports-column md:w-[16%]">Ports</PlatformSortableTableHead>@@ -275,7 +279,7 @@ export const KubernetesServicesTable: Component<{{clusterIp()}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} text-base-content platform-table-narrow-hidden`}><spanclass="inline-block max-w-[12rem] truncate"diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsxindex 7570568e9d..5c61f63418 100644--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx@@ -73,10 +73,13 @@ describe('KubernetesNodesTable', () => {'platform-table-mobile-w-30',);expect(headers.find((header) => header.textContent?.includes('Cluster'))).toHaveClass(- 'w-[14%]',+ 'platform-table-mobile-w-15',);expect(headers.find((header) => header.textContent?.includes('Capacity'))).toHaveClass(- 'w-[14%]',+ 'platform-table-mobile-w-10',+ );+ expect(headers.find((header) => header.textContent?.includes('Role'))).toHaveClass(+ 'platform-table-narrow-hidden',);});diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPodsTable.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPodsTable.test.tsxindex 847534bfcf..a208e83c89 100644--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPodsTable.test.tsx+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPodsTable.test.tsx@@ -42,8 +42,12 @@ describe('KubernetesPodsTable', () => {expect(headers.find((header) => header.textContent?.includes('Pod'))).toHaveClass('platform-table-mobile-w-30',);- expect(headers.find((header) => header.textContent?.includes('Age'))).toHaveClass('w-[8%]');- expect(headers.find((header) => header.textContent?.includes('Scope'))).toHaveClass('w-[15%]');+ expect(headers.find((header) => header.textContent?.includes('Age'))).toHaveClass(+ 'platform-table-mobile-w-10',+ );+ expect(headers.find((header) => header.textContent?.includes('Scope'))).toHaveClass(+ 'platform-table-mobile-w-15',+ );});it('renders native Pod status, container readiness, ownership, and placement fields', () => {diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.tsindex 843a25c68c..0f701163b2 100644--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts@@ -259,22 +259,17 @@ 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).toContain('platform-table min-w-0 table-fixed text-xs');+ expect(proxmoxMailGatewayDrawerSource).toContain(+ 'platform-table-mobile-w-10 platform-table-narrow-hidden md:w-[15%]',);- expect(proxmoxMailGatewayDrawerSource).toMatch(- /hidden sm:table-cell[^>]*>\s*Uptime\s*<\/TableHead>/,+ expect(proxmoxMailGatewayDrawerSource).toContain(+ '<PlatformResponsiveTableLabel compact="Up" full="Uptime" />',);- 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>/,+ expect(proxmoxMailGatewayDrawerSource).toContain(+ '<PlatformResponsiveTableLabel compact="Ld" full="Load" />',);+ expect(proxmoxMailGatewayDrawerSource).toContain('platform-table-mobile-w-15 md:w-[30%]');});it('keeps Docker host optional Swarm column wide enough for its header', () => {@@ -298,20 +293,26 @@ describe('platform overview layout guardrails', () => {]) {expect(source).toContain('platform-table-mobile-w-30');}- expect(dockerImagesTableSource).toMatch(/sortKey="size"[\s\S]{0,120}?class="md:w-\[12%\]"/);+ expect(dockerImagesTableSource).toMatch(+ /sortKey="size"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[12%\]"/,+ );expect(dockerServicesTableSource).toMatch(- /sortKey="mode"[\s\S]{0,120}?class="w-\[14%\] md:w-\[8%\]"/,+ /sortKey="mode"[\s\S]{0,120}?class="platform-table-mobile-w-10 w-\[10%\] md:w-\[8%\]"/,);expect(dockerServicesTableSource).toMatch(- /sortKey="update"[\s\S]{0,120}?class="w-\[15%\] md:w-\[12%\]"/,+ /sortKey="update"[\s\S]{0,120}?class="platform-table-mobile-w-15 w-\[15%\] md:w-\[12%\]"/,+ );+ expect(dockerTasksTableSource).toMatch(+ /sortKey="service"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[18%\]"/,+ );+ expect(dockerTasksTableSource).toMatch(+ /sortKey="node"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[16%\]"/,);- expect(dockerTasksTableSource).toMatch(/sortKey="service"[\s\S]{0,120}?class="md:w-\[18%\]"/);- expect(dockerTasksTableSource).toMatch(/sortKey="node"[\s\S]{0,120}?class="md:w-\[16%\]"/);expect(dockerSwarmNodesTableSource).toMatch(- /sortKey="reachability"[\s\S]{0,120}?class="w-\[16%\] md:w-\[14%\]"/,+ /sortKey="reachability"[\s\S]{0,120}?class="platform-table-mobile-w-15 w-\[15%\] md:w-\[14%\]"/,);expect(dockerSwarmNodesTableSource).toMatch(- /sortKey="memory"[\s\S]{0,120}?class="w-\[13%\] md:w-\[10%\]"/,+ /sortKey="memory"[\s\S]{0,120}?class="platform-table-mobile-w-15 w-\[15%\] md:w-\[10%\]"/,);});@@ -320,22 +321,22 @@ describe('platform overview layout guardrails', () => {'-my-3 inline-flex min-h-11 items-center truncate',);expect(kubernetesNodesTableSource).toMatch(- /sortKey="roles"[\s\S]{0,120}?class="w-\[14%\] md:w-\[10%\]"/,+ /sortKey="roles"[\s\S]{0,160}?class="platform-table-mobile-w-15 platform-table-narrow-hidden md:w-\[10%\]"/,);expect(kubernetesNodesTableSource).toMatch(- /sortKey="capacity"[\s\S]{0,120}?class="w-\[14%\] md:w-\[14%\]"/,+ /sortKey="capacity"[\s\S]{0,120}?class="platform-table-mobile-w-10 md:w-\[14%\]"/,);expect(kubernetesDeploymentsTableSource).toMatch(- /sortKey="namespace"[\s\S]{0,120}?class="w-\[15%\] md:w-\[20%\]"/,+ /sortKey="namespace"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[20%\]"/,);expect(kubernetesPodsTableSource).toMatch(- /sortKey="scope"[\s\S]{0,120}?class="w-\[15%\] md:w-\[13%\]"/,+ /sortKey="scope"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[13%\]"/,);expect(kubernetesPodsTableSource).toMatch(- /sortKey="node"[\s\S]{0,120}?class="w-\[15%\] md:w-\[13%\]"/,+ /sortKey="node"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[13%\]"/,);expect(kubernetesServicesTableSource).toMatch(- /sortKey="scope"[\s\S]{0,120}?class="w-\[15%\] md:w-\[15%\]"/,+ /sortKey="scope"[\s\S]{0,120}?class="platform-table-mobile-w-15 md:w-\[15%\]"/,);expect(kubernetesNetworkingTableSource).toMatch(/sortKey="scope"[\s\S]{0,120}?class="platform-table-mobile-w-20 md:w-\[14%\]"/,@@ -559,7 +560,9 @@ describe('platform overview layout guardrails', () => {/<span class="md:hidden">\s*<PlatformTablePercentValue value={storagePercent\(\)} \/>\s*<\/span>/,);expect(vsphereHostsTableSource).toMatch(/kind="name"[\s\S]{0,200}?Host/);- expect(vsphereHostsTableSource).toMatch(/kind="numeric-value"[\s\S]{0,200}?VMs/);+ expect(vsphereHostsTableSource).toMatch(+ /kind="numeric-value"[\s\S]{0,240}?<PlatformResponsiveTableLabel compact="#" full="VMs" \/>/,+ );expect(vsphereHostsTableSource).toContain('hidden md:table-cell');// AgentsMachinesTable uses a column-config pattern: kind helpers are// applied dynamically in the table render, with labels living in thediff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsxindex a5e6b27c1e..290c7da535 100644--- a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx@@ -1,5 +1,6 @@-import { For, Show, createMemo, type Accessor, type JSX } from 'solid-js';+import { For, Show, createMemo, createSignal, type Accessor, type JSX } from 'solid-js';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { StatusDot } from '@/components/shared/StatusDot';import { TableCell, TableHead, TableRow } from '@/components/shared/Table';import {@@ -9,10 +10,12 @@ import {formatPlatformTableUptimeValue,getPlatformTableCellClassForKind,getPlatformTableHeadClassForKind,+ PlatformResponsiveTableLabel,PlatformTableNumberValue,PlatformTablePercentValue,PlatformTableShell,} from '@/features/platformPage/sharedPlatformPage';+import { PlatformResourceDetailToggleButton } from '@/features/platformPage/PlatformResourceDetailTableRow';import type { PBSBackup } from '@/types/api';import type { Resource, ResourcePBSDatastore } from '@/types/resource';import type { StatusIndicatorVariant } from '@/utils/status';@@ -162,6 +165,7 @@ export function ProxmoxBackupServersTable(props: {: 'full';});const visibleColumns = createMemo(() => getBackupServerColumns(layoutMode()));+ const [expandedKey, setExpandedKey] = createSignal<string | null>(null);const columnVisible = (column: BackupServerColumnId) =>visibleColumns().some((candidate) => candidate.id === column);@@ -188,8 +192,16 @@ export function ProxmoxBackupServersTable(props: {}header={<>- <TableHead class={getPlatformTableHeadClassForKind('name')}>Backup server</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('text')}>Status</TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[15%]`}+ >+ <PlatformResponsiveTableLabel compact="Server" full="Backup server" />+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[10%]`}+ >+ <PlatformResponsiveTableLabel compact="State" full="Status" />+ </TableHead><Show when={columnVisible('version')}><TableHead class={getPlatformTableHeadClassForKind('text')}>Version</TableHead></Show>@@ -207,16 +219,27 @@ export function ProxmoxBackupServersTable(props: {</TableHead></Show><Show when={columnVisible('datastore')}>- <TableHead class={getPlatformTableHeadClassForKind('text')}>Datastore</TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-20 md:w-[13%]`}+ >+ <PlatformResponsiveTableLabel compact="Store" full="Datastore" />+ </TableHead></Show>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>Used</TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-20 md:w-[15%]`}+ >+ Used+ </TableHead><Show when={columnVisible('backups')}><TableHead- class={getPlatformTableHeadClassForKind('numeric-value')}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[8%]`}aria-label="Backups"title="Backups">- {layoutMode() === 'full' ? 'Backups' : 'Count'}+ <PlatformResponsiveTableLabel+ compact="#"+ full={layoutMode() === 'full' ? 'Backups' : 'Count'}+ /></TableHead></Show><Show when={columnVisible('dedup')}>@@ -231,152 +254,201 @@ export function ProxmoxBackupServersTable(props: {<For each={rows()}>{(row) => {const pct = () => (row.datastore ? usagePercent(row.datastore) : undefined);+ const isExpanded = () => expandedKey() === row.key;+ const detailRowId = () => `proxmox-backup-server-detail-${row.key}`;return (- <TableRow class="hover:bg-surface-hover">- <TableCell- class={`${getPlatformTableCellClassForKind('name')} text-base-content truncate font-medium`}- >- <div class="min-w-0 truncate">{row.serverName}</div>- <Show- when={- layoutMode() === 'compact' &&- !columnVisible('datastore') &&- row.datastore- }- >- {(datastore) => (- <div class="min-w-0 truncate font-mono text-[10px] font-normal text-muted">- {datastore().name}- </div>- )}- </Show>- </TableCell>- <TableCell class={getPlatformTableCellClassForKind('text')}>- <div class="flex items-center gap-2">- <StatusDot- size="sm"- variant={row.online ? 'success' : 'danger'}- title={row.connectionLabel}- ariaHidden- />- <span class="truncate text-[11px] text-base-content">- {row.connectionLabel}- </span>- </div>- </TableCell>- <Show when={columnVisible('version')}>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-muted truncate text-[11px]`}- >- {row.version || '—'}- </TableCell>- </Show>- <Show when={columnVisible('cpu')}>+ <>+ <TableRow class="hover:bg-surface-hover"><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('name')} text-base-content truncate font-medium`}>+ <div class="flex min-w-0 items-center gap-1">+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={row.serverName}+ controlsId={detailRowId()}+ onToggle={() =>+ setExpandedKey((current) => (current === row.key ? null : row.key))+ }+ />+ <div class="min-w-0 truncate" title={row.serverName}>+ {row.serverName}+ </div>+ </div><Show- when={row.online && row.cpuPercent !== undefined}- fallback={<span class="text-muted">—</span>}+ when={+ layoutMode() === 'compact' &&+ !columnVisible('datastore') &&+ row.datastore+ }>- <PlatformTablePercentValue value={row.cpuPercent} />+ {(datastore) => (+ <div class="min-w-0 truncate font-mono text-[10px] font-normal text-muted">+ {datastore().name}+ </div>+ )}</Show></TableCell>- </Show>- <Show when={columnVisible('memory')}>- <TableCell class={getPlatformTableCellClassForKind('numeric-value')}>- <Show- when={row.online && row.memoryPercent !== undefined}- fallback={<span class="text-muted">—</span>}- >- <span- class="text-base-content"- title={- row.memoryTotal- ? `${formatPlatformTableBytesValue(row.memoryUsed, '0 B')} / ${formatPlatformTableBytesValue(row.memoryTotal)}`- : undefined- }- >- <PlatformTablePercentValue value={row.memoryPercent} />+ <TableCell class={getPlatformTableCellClassForKind('text')}>+ <div class="flex items-center gap-2">+ <StatusDot+ size="sm"+ variant={row.online ? 'success' : 'danger'}+ title={row.connectionLabel}+ ariaHidden+ />+ <span class="truncate text-[11px] text-base-content">+ {row.connectionLabel}</span>- <Show when={row.memoryTotal && layoutMode() === 'full'}>- <span class="ml-1 text-[10px] text-muted tabular-nums">- {`(${formatPlatformTableBytesValue(row.memoryUsed, '0 B')}/${formatPlatformTableBytesValue(row.memoryTotal)})`}- </span>- </Show>- </Show>+ </div></TableCell>- </Show>- <Show when={columnVisible('uptime')}>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content tabular-nums`}- >- <Show- when={row.online && (row.uptimeSeconds ?? 0) > 0}- fallback={<span class="text-muted">—</span>}+ <Show when={columnVisible('version')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-muted truncate text-[11px]`}>- {formatPlatformTableUptimeValue(row.uptimeSeconds)}- </Show>- </TableCell>- </Show>- <Show when={columnVisible('datastore')}>- <TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content truncate font-mono text-[11px]`}- >- {row.datastore?.name ?? '—'}- </TableCell>- </Show>- <TableCell class={getPlatformTableCellClassForKind('numeric-value')}>- <Show- when={row.datastore}- fallback={<span class="text-muted">No datastore data</span>}- >- {(datastore) => (- <div class="flex items-center justify-end gap-2">- <StatusDot- size="sm"- variant={usageVariant(pct())}- title={`Datastore ${formatPlatformTablePercentValue(pct())} used`}- ariaHidden- />- <span class={`tabular-nums font-medium ${usageToneClass(pct())}`}>- <PlatformTablePercentValue value={pct()} />+ {row.version || '—'}+ </TableCell>+ </Show>+ <Show when={columnVisible('cpu')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ <Show+ when={row.online && row.cpuPercent !== undefined}+ fallback={<span class="text-muted">—</span>}+ >+ <PlatformTablePercentValue value={row.cpuPercent} />+ </Show>+ </TableCell>+ </Show>+ <Show when={columnVisible('memory')}>+ <TableCell class={getPlatformTableCellClassForKind('numeric-value')}>+ <Show+ when={row.online && row.memoryPercent !== undefined}+ fallback={<span class="text-muted">—</span>}+ >+ <span+ class="text-base-content"+ title={+ row.memoryTotal+ ? `${formatPlatformTableBytesValue(row.memoryUsed, '0 B')} / ${formatPlatformTableBytesValue(row.memoryTotal)}`+ : undefined+ }+ >+ <PlatformTablePercentValue value={row.memoryPercent} /></span>- <Show when={layoutMode() !== 'compact'}>- <span class="truncate text-[10px] text-muted tabular-nums">- {formatPlatformTableBytesValue(datastore().used, '0 B')} /{' '}- {formatPlatformTableBytesValue(datastore().total)}+ <Show when={row.memoryTotal && layoutMode() === 'full'}>+ <span class="ml-1 text-[10px] text-muted tabular-nums">+ {`(${formatPlatformTableBytesValue(row.memoryUsed, '0 B')}/${formatPlatformTableBytesValue(row.memoryTotal)})`}</span></Show>- </div>- )}+ </Show>+ </TableCell></Show>- </TableCell>- <Show when={columnVisible('backups')}>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- <Show when={row.datastore} fallback={<span class="text-muted">—</span>}>- <PlatformTableNumberValue- value={row.backupCount}- format={formatPlatformTableIntegerValue}- />- </Show>- </TableCell>- </Show>- <Show when={columnVisible('dedup')}>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-muted tabular-nums text-[11px]`}- >+ <Show when={columnVisible('uptime')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content tabular-nums`}+ >+ <Show+ when={row.online && (row.uptimeSeconds ?? 0) > 0}+ fallback={<span class="text-muted">—</span>}+ >+ {formatPlatformTableUptimeValue(row.uptimeSeconds)}+ </Show>+ </TableCell>+ </Show>+ <Show when={columnVisible('datastore')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('text')} text-base-content truncate font-mono text-[11px]`}+ >+ {row.datastore?.name ?? '—'}+ </TableCell>+ </Show>+ <TableCell class={getPlatformTableCellClassForKind('numeric-value')}><Show- when={row.datastore?.deduplicationFactor}- fallback={<span class="text-muted">—</span>}+ when={row.datastore}+ fallback={<span class="text-muted">No datastore data</span>}>- {(factor) => <>{factor().toFixed(1)}×</>}+ {(datastore) => (+ <div class="flex items-center justify-end gap-2">+ <StatusDot+ size="sm"+ variant={usageVariant(pct())}+ title={`Datastore ${formatPlatformTablePercentValue(pct())} used`}+ ariaHidden+ />+ <span class={`tabular-nums font-medium ${usageToneClass(pct())}`}>+ <PlatformTablePercentValue value={pct()} />+ </span>+ <Show when={layoutMode() !== 'compact'}>+ <span class="truncate text-[10px] text-muted tabular-nums">+ {formatPlatformTableBytesValue(datastore().used, '0 B')} /{' '}+ {formatPlatformTableBytesValue(datastore().total)}+ </span>+ </Show>+ </div>+ )}</Show></TableCell>+ <Show when={columnVisible('backups')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ <Show when={row.datastore} fallback={<span class="text-muted">—</span>}>+ <PlatformTableNumberValue+ value={row.backupCount}+ format={formatPlatformTableIntegerValue}+ />+ </Show>+ </TableCell>+ </Show>+ <Show when={columnVisible('dedup')}>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-muted tabular-nums text-[11px]`}+ >+ <Show+ when={row.datastore?.deduplicationFactor}+ fallback={<span class="text-muted">—</span>}+ >+ {(factor) => <>{factor().toFixed(1)}×</>}+ </Show>+ </TableCell>+ </Show>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={visibleColumns().length}+ class="bg-surface-alt/40"+ cellClass="px-3 py-2 whitespace-normal"+ contentClass="min-w-0 whitespace-normal"+ data-inline-detail-for={row.key}+ >+ <div class="grid grid-cols-2 gap-x-3 gap-y-1 text-[11px] sm:grid-cols-4">+ <span>+ <span class="font-medium text-base-content">Server:</span>{' '}+ <span class="text-muted">{row.serverName}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Datastore:</span>{' '}+ <span class="font-mono text-muted">{row.datastore?.name || '—'}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Version:</span>{' '}+ <span class="text-muted">{row.version || '—'}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Memory:</span>{' '}+ <span class="text-muted">+ {row.memoryTotal+ ? `${formatPlatformTableBytesValue(row.memoryUsed, '0 B')} / ${formatPlatformTableBytesValue(row.memoryTotal)}`+ : '—'}+ </span>+ </span>+ </div>+ </InlineDetailTableRow></Show>- </TableRow>+ </>);}}</For>diff --git a/frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsx b/frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsxindex da7696c006..c8eda4b874 100644--- a/frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxCephClusterDrawer.tsx@@ -1,7 +1,8 @@-import { For, Show, type Component } from 'solid-js';+import { For, Show, createSignal, type Component } from 'solid-js';import XIcon from 'lucide-solid/icons/x';import { Card } from '@/components/shared/Card';import { DrawerSubjectHeading } from '@/components/shared/DrawerSubjectHeading';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { ProgressBar } from '@/components/shared/ProgressBar';import { StatusDot } from '@/components/shared/StatusDot';import {@@ -22,6 +23,7 @@ import {PlatformResponsiveTableLabel,PlatformTableNumberValue,} from '@/features/platformPage/sharedPlatformPage';+import { PlatformResourceDetailToggleButton } from '@/features/platformPage/PlatformResourceDetailTableRow';import type { StatusIndicatorVariant } from '@/utils/status';import { formatBytes } from '@/utils/format';import { getMetricColorClass } from '@/utils/metricThresholds';@@ -89,7 +91,7 @@ function PoolUsageBar(props: { percent: number }) {return (<ProgressBarvalue={clamped}- class="h-4 w-full min-w-[3.5rem] max-w-32"+ class="h-4 w-full min-w-0 max-w-32 md:min-w-[3.5rem]"fillClass={capacityToneFor(clamped)}label={<span class="absolute inset-0 flex items-center justify-center text-[10px] font-semibold text-base-content leading-none tabular-nums">@@ -113,6 +115,7 @@ export const ProxmoxCephClusterDrawer: Component<{const usagePercent = () => props.cluster.disk?.current ?? 0;const fsid = () => asTrimmedString(meta()?.fsid) || '—';const headingId = () => `proxmox-ceph-cluster-drawer-heading-${props.cluster.id}`;+ const [expandedPoolKey, setExpandedPoolKey] = createSignal<string | null>(null);return (<section class="space-y-3" aria-labelledby={headingId()}>@@ -163,59 +166,143 @@ export const ProxmoxCephClusterDrawer: Component<{<Table class="platform-table min-w-0 table-fixed text-xs"><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}>- <TableHead class={getPlatformTableHeadClassForKind('name')}>Pool</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- Objects+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[24%]`}+ >+ Pool</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[16%]`}>- Stored+ <PlatformResponsiveTableLabel compact="Obj" full="Objects" /></TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-20 md:w-[20%]`}>- Avail+ <PlatformResponsiveTableLabel compact="Store" full="Stored" /></TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-20 md:w-[20%]`}+ >+ <PlatformResponsiveTableLabel compact="Avail" full="Available" />+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[20%]`}+ >Used</TableHead></TableRow></TableHeader><TableBody class={PLATFORM_TABLE_BODY_CLASS}><For each={pools()}>- {(pool) => (- <TableRow>- <TableCell- class={`${getPlatformTableCellClassForKind('name')} font-medium text-base-content`}- >- {pool.name || '—'}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}- >- <PlatformTableNumberValue- value={pool.objects}- format={formatPlatformTableIntegerValue}- />- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content tabular-nums sm:table-cell`}- >- {formatBytes(pool.storedBytes)}- </TableCell>- <TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-muted tabular-nums sm:table-cell`}- >- {formatBytes(pool.availableBytes)}- </TableCell>- <TableCell class={getPlatformTableCellClassForKind('numeric-value')}>- <div class="flex items-center justify-end">- <PoolUsageBar percent={pool.percentUsed} />- </div>- </TableCell>- </TableRow>- )}+ {(pool, index) => {+ const poolKey = () => pool.name || `pool-${index()}`;+ const isExpanded = () => expandedPoolKey() === poolKey();+ const detailRowId = () =>+ `proxmox-ceph-pool-detail-${props.cluster.id}-${index()}`;+ const toggle = () =>+ setExpandedPoolKey((current) => (current === poolKey() ? null : poolKey()));+ return (+ <>+ <TableRow+ class="cursor-pointer"+ aria-controls={isExpanded() ? detailRowId() : undefined}+ aria-expanded={isExpanded()}+ onClick={toggle}+ onKeyDown={(event) => {+ if (event.key !== 'Enter' && event.key !== ' ') return;+ event.preventDefault();+ toggle();+ }}+ tabIndex={0}+ >+ <TableCell+ class={`${getPlatformTableCellClassForKind('name')} font-medium text-base-content`}+ >+ <div class="flex min-w-0 items-center gap-1">+ <PlatformResourceDetailToggleButton+ expanded={isExpanded()}+ resourceLabel={pool.name || 'pool'}+ controlsId={detailRowId()}+ onToggle={toggle}+ />+ <span class="truncate" title={pool.name || '—'}>+ {pool.name || '—'}+ </span>+ </div>+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ >+ <PlatformTableNumberValue+ value={pool.objects}+ format={formatPlatformTableIntegerValue}+ />+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content tabular-nums`}+ >+ {formatBytes(pool.storedBytes)}+ </TableCell>+ <TableCell+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-muted tabular-nums`}+ >+ {formatBytes(pool.availableBytes)}+ </TableCell>+ <TableCell class={getPlatformTableCellClassForKind('numeric-value')}>+ <div class="flex items-center justify-end">+ <PoolUsageBar percent={pool.percentUsed} />+ </div>+ </TableCell>+ </TableRow>+ <Show when={isExpanded()}>+ <InlineDetailTableRow+ cellId={detailRowId()}+ colspan={5}+ data-inline-proxmox-ceph-pool-detail-for={poolKey()}+ >+ <dl class="grid gap-x-4 gap-y-2 text-[11px] sm:grid-cols-2">+ <div class="sm:col-span-2 text-xs font-semibold text-base-content">+ {pool.name || 'Pool'}+ </div>+ <div>+ <dt class="text-[10px] font-medium uppercase tracking-wide text-muted">+ Objects+ </dt>+ <dd class="font-mono text-base-content">+ {formatPlatformTableIntegerValue(pool.objects)}+ </dd>+ </div>+ <div>+ <dt class="text-[10px] font-medium uppercase tracking-wide text-muted">+ Stored+ </dt>+ <dd class="font-mono text-base-content">+ {formatBytes(pool.storedBytes)}+ </dd>+ </div>+ <div>+ <dt class="text-[10px] font-medium uppercase tracking-wide text-muted">+ Available+ </dt>+ <dd class="font-mono text-base-content">+ {formatBytes(pool.availableBytes)}+ </dd>+ </div>+ <div>+ <dt class="text-[10px] font-medium uppercase tracking-wide text-muted">+ Used+ </dt>+ <dd class="font-mono text-base-content">+ {formatPlatformTablePercentValue(pool.percentUsed)}+ </dd>+ </div>+ </dl>+ </InlineDetailTableRow>+ </Show>+ </>+ );+ }}</For></TableBody></Table>diff --git a/frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCephTable.tsxindex d0832a15fb..7b975c5ead 100644--- a/frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx@@ -20,6 +20,7 @@ import {getPlatformTableCellClassForKind,getPlatformTableContainerLayout,getPlatformTableHeadClassForKind,+ PlatformResponsiveTableLabel,type PlatformTableFilterOption,PlatformTableEmptyState,PlatformTableShell,@@ -53,6 +54,14 @@ export const CEPH_PHONE_COLUMNS: readonly CephPhoneColumn[] = ['capacity',];+export const CEPH_NARROW_COLUMNS: readonly CephPhoneColumn[] = [+ 'cluster',+ 'health',+ 'osds',+ 'pools',+ 'capacity',+];+export const CEPH_PHONE_COLUMN_WIDTHS: Readonly<Record<CephPhoneColumn, number>> = {cluster: 30,health: 15,@@ -62,6 +71,15 @@ export const CEPH_PHONE_COLUMN_WIDTHS: Readonly<Record<CephPhoneColumn, number>>capacity: 14,};+export const CEPH_NARROW_COLUMN_WIDTHS: Readonly<Record<CephPhoneColumn, number>> = {+ cluster: 40,+ health: 15,+ quorum: 0,+ osds: 15,+ pools: 15,+ capacity: 15,+};+const STATUS_FILTER_OPTIONS: PlatformTableFilterOption<CephStatusFilter>[] = [{ value: 'all', label: 'All' },{@@ -246,15 +264,21 @@ export const ProxmoxCephTable: Component<{const layout = createMemo(() =>getPlatformTableContainerLayout(observedWidth.width() ?? 1920, [520, 720, 960, 1200]),);+ const isNarrowPhone = createMemo(() => {+ const width = observedWidth.width();+ return typeof width === 'number' && width > 0 && width < 360;+ });// Quorum and pool count are high-value health context even on phones.- const showQuorumAndPools = createMemo(() => true);+ const showQuorum = createMemo(() => !isNarrowPhone());+ const showPools = createMemo(() => true);const showOperational = createMemo(() => ['operational', 'expanded', 'full'].includes(layout()));const showDetail = createMemo(() => ['expanded', 'full'].includes(layout()));const showFsid = createMemo(() => layout() === 'full');const visibleColumnCount = createMemo(() =>4 +- Number(showQuorumAndPools()) * 2 ++ Number(showQuorum()) ++ Number(showPools()) +Number(showOperational()) * 2 +Number(showDetail()) +Number(showFsid()),@@ -299,10 +323,16 @@ export const ProxmoxCephTable: Component<{colgroup={<Show when={layout() === 'compact'}><colgroup>- <For each={CEPH_PHONE_COLUMNS}>+ <For each={isNarrowPhone() ? CEPH_NARROW_COLUMNS : CEPH_PHONE_COLUMNS}>{(column) => (<col- style={{ width: `${CEPH_PHONE_COLUMN_WIDTHS[column]}%` }}+ style={{+ width: `${+ (isNarrowPhone()+ ? CEPH_NARROW_COLUMN_WIDTHS+ : CEPH_PHONE_COLUMN_WIDTHS)[column]+ }%`,+ }}data-proxmox-ceph-column={column}/>)}@@ -312,17 +342,29 @@ export const ProxmoxCephTable: Component<{}header={<>- <TableHead class={getPlatformTableHeadClassForKind('name')}>Cluster</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('text')}>Health</TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[18%]`}+ >+ Cluster+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[12%]`}+ >+ Health+ </TableHead><Show when={showFsid()}><TableHead class={getPlatformTableHeadClassForKind('text')}>FSID</TableHead></Show>- <Show when={showQuorumAndPools()}>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- {layout() === 'compact' ? 'Qrm' : 'Quorum'}+ <Show when={showQuorum()}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-10 md:w-[13%] platform-table-narrow-hidden`}+ >+ <PlatformResponsiveTableLabel compact="Qrm" full="Quorum" /></TableHead></Show>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[13%]`}+ >OSDs</TableHead><Show when={showOperational()}>@@ -330,12 +372,16 @@ export const ProxmoxCephTable: Component<{PGs</TableHead></Show>- <Show when={showQuorumAndPools()}>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <Show when={showPools()}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >Pools</TableHead></Show>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >Capacity</TableHead><Show when={showOperational()}>@@ -362,8 +408,14 @@ export const ProxmoxCephTable: Component<{isOpen() ? 'bg-surface-hover' : ''}`}onClick={() => toggleSelected(cluster.id)}+ onKeyDown={(event) => {+ if (event.key !== 'Enter' && event.key !== ' ') return;+ event.preventDefault();+ toggleSelected(cluster.id);+ }}aria-controls={isOpen() ? detailRowId() : undefined}aria-expanded={isOpen()}+ tabIndex={0}><TableCell class={getPlatformTableCellClassForKind('name')}><div class="flex items-center gap-2 min-w-0">@@ -379,7 +431,7 @@ export const ProxmoxCephTable: Component<{</div><Show when={cluster.platformId}><div- class="text-[10px] text-muted font-mono truncate"+ class="hidden text-[10px] text-muted font-mono truncate md:block"title={cluster.platformId}>{cluster.platformId}@@ -397,7 +449,7 @@ export const ProxmoxCephTable: Component<{<span class={`text-[11px] font-medium ${ind.tone}`}>{ind.label}</span></div><Show when={!!cluster.ceph?.healthStatus}>- <div class="text-[10px] text-muted font-mono">+ <div class="hidden text-[10px] text-muted font-mono md:block">{cluster.ceph?.healthStatus}</div></Show>@@ -411,9 +463,9 @@ export const ProxmoxCephTable: Component<{</span></TableCell></Show>- <Show when={showQuorumAndPools()}>+ <Show when={showQuorum()}><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content platform-table-narrow-hidden`}>{quorumLabel(cluster.ceph)}</TableCell>@@ -435,7 +487,7 @@ export const ProxmoxCephTable: Component<{</Show></TableCell></Show>- <Show when={showQuorumAndPools()}>+ <Show when={showPools()}><TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>diff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsxindex 2196a57195..4b4ed0b803 100644--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx@@ -33,7 +33,6 @@ import {getCoverageColumns,getCoverageColumnWidthStyle,getCoverageLayoutForContainer,- isCompactBackupIdentityLayout,isCoverageEvidenceColumnVisible,type CoverageColumnId,} from './proxmoxBackupsTablePresentation';@@ -59,6 +58,23 @@ const statusWordToneClass = (variant: StatusIndicatorVariant): string => {return 'text-base-content';};+const compactPostureLabel = (posture: WorkloadCoverageRow['posture']): string => {+ switch (posture) {+ case 'protected':+ return 'Prot.';+ case 'attention':+ return 'Attn.';+ case 'unprotected':+ return 'Unprot.';+ case 'checking':+ return 'Check';+ case 'not-evaluated':+ return 'N/A';+ default:+ return 'Unknown';+ }+};+const taskWordVariant = (label: string): StatusIndicatorVariant => {if (label === 'Failed') return 'danger';if (label === 'OK') return 'success';@@ -178,7 +194,7 @@ export function ProxmoxCoverageTable(props: {direction={props.sortDirection}onSort={props.onSort}align="left"- headClass={getPlatformTableHeadClassForKind('name')}+ headClass={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30`}/><Show when={columnVisible('type')}><TableHead class={getPlatformTableHeadClassForKind('text')}>Type</TableHead>@@ -290,15 +306,6 @@ export function ProxmoxCoverageTable(props: {<div class="truncate font-semibold">{row.workload.name || row.workload.label}</div>- <Show when={isCompactBackupIdentityLayout(layoutMode())}>- <div class="truncate text-[10px] font-normal text-muted">- {row.workload.typeLabel}- <Show when={row.workload.vmid}> {row.workload.vmid}</Show>- <Show when={layoutMode() === 'compact' && row.workload.node}>- {(node) => <> · {node()}</>}- </Show>- </div>- </Show></div></div></TableCell>@@ -349,7 +356,12 @@ export function ProxmoxCoverageTable(props: {coveragePostureVariant(row.posture),)}`}>- {getWorkloadRecoveryPostureLabel(row.posture)}+ <Show+ when={layoutMode() === 'compact'}+ fallback={getWorkloadRecoveryPostureLabel(row.posture)}+ >+ {compactPostureLabel(row.posture)}+ </Show></span></div></TableCell>@@ -469,6 +481,24 @@ export function ProxmoxCoverageTable(props: {colspan={columnCount()}data-inline-detail-for={row.key}>+ <div class="mb-2 grid grid-cols-2 gap-x-3 gap-y-1 rounded-md border border-border-subtle bg-surface px-2 py-1.5 text-[11px] sm:grid-cols-4">+ <span>+ <span class="font-medium text-base-content">Type:</span>{' '}+ <span class="text-muted">{row.workload.typeLabel}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Target:</span>{' '}+ <span class="font-mono text-muted">{row.workload.vmid || '—'}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Node:</span>{' '}+ <span class="text-muted">{row.workload.node || '—'}</span>+ </span>+ <span>+ <span class="font-medium text-base-content">Workload:</span>{' '}+ <span class="text-muted">{row.workload.label}</span>+ </span>+ </div><div class="mb-2 rounded-md border border-border-subtle bg-surface px-2 py-1.5 text-[11px] text-base-content"><span class="font-medium">{getWorkloadRecoveryPostureLabel(row.posture)}:diff --git a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsxindex 25253fb885..4855e47353 100644--- a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayDrawer.tsx@@ -19,6 +19,7 @@ import {formatPlatformTableUptimeValue,getPlatformTableCellClassForKind,getPlatformTableHeadClassForKind,+ PlatformResponsiveTableLabel,PlatformTableNumberValue,} from '@/features/platformPage/sharedPlatformPage';import type { StatusIndicatorVariant } from '@/utils/status';@@ -470,30 +471,38 @@ export const ProxmoxMailGatewayDrawer: Component<{when={nodes().length > 0}fallback={<p class="text-xs text-muted">No cluster nodes reported.</p>}>- <Table class="min-w-0 table-fixed text-xs">+ <Table class="platform-table 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')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[24%]`}+ >+ Node+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[14%]`}>Role</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[16%]`}>- Uptime+ <PlatformResponsiveTableLabel compact="Up" full="Uptime" /></TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[16%]`}>- Load+ <PlatformResponsiveTableLabel compact="Ld" full="Load" /></TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- Queue+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[15%]`}+ >+ <PlatformResponsiveTableLabel compact="Q" full="Queue" /></TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- Oldest+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-10 platform-table-narrow-hidden md:w-[15%]`}+ >+ <PlatformResponsiveTableLabel compact="Old" full="Oldest" /></TableHead></TableRow></TableHeader>@@ -518,17 +527,17 @@ export const ProxmoxMailGatewayDrawer: Component<{</div></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} hidden text-[11px] text-base-content sm:table-cell`}+ class={`${getPlatformTableCellClassForKind('text')} text-[11px] text-base-content`}>{asTrimmedString(node.role) || '—'}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content sm:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>{formatPlatformTableUptimeValue(node.uptime)}</TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-[11px] text-base-content tabular-nums sm:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-[11px] text-base-content tabular-nums`}>{asTrimmedString(node.loadAvg) || '—'}</TableCell>@@ -549,7 +558,7 @@ export const ProxmoxMailGatewayDrawer: Component<{</span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} platform-table-narrow-hidden text-base-content`}>{node.queueStatus?.oldestAge? formatAge(node.queueStatus.oldestAge)@@ -577,23 +586,31 @@ export const ProxmoxMailGatewayDrawer: Component<{when={topDomains().length > 0}fallback={<p class="text-xs text-muted">No domain stats reported.</p>}>- <Table class="min-w-0 table-fixed text-xs">+ <Table class="platform-table min-w-0 table-fixed text-xs"><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}>- <TableHead class={getPlatformTableHeadClassForKind('name')}>Domain</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[28%]`}+ >+ Domain+ </TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ ></TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >Spam</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}>Virus</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('numeric-value')} hidden sm:table-cell`}+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[30%]`}>Bytes</TableHead>@@ -627,7 +644,7 @@ export const ProxmoxMailGatewayDrawer: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-base-content sm:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}><PlatformTableNumberValuevalue={domain.virusCount}@@ -635,7 +652,7 @@ export const ProxmoxMailGatewayDrawer: Component<{/></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('numeric-value')} hidden text-muted tabular-nums sm:table-cell`}+ class={`${getPlatformTableCellClassForKind('numeric-value')} text-muted tabular-nums`}>{domain.bytes && domain.bytes > 0 ? formatBytes(domain.bytes) : '—'}</TableCell>diff --git a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsxindex daf01295ab..bc2ad18286 100644--- a/frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxMailGatewayTable.tsx@@ -15,6 +15,7 @@ import {getPlatformTableCellClassForKind,getPlatformTableContainerLayout,getPlatformTableHeadClassForKind,+ PlatformResponsiveTableLabel,type PlatformResourceStatusFilter,PlatformTableEmptyState,PlatformTableShell,@@ -36,6 +37,14 @@ export const MAIL_GATEWAY_PHONE_COLUMNS: readonly MailGatewayPhoneColumn[] = ['deferred',];+export const MAIL_GATEWAY_NARROW_PHONE_COLUMNS: readonly MailGatewayPhoneColumn[] = [+ 'instance',+ 'uptime',+ 'mail',+ 'queue',+ 'deferred',+];+export const MAIL_GATEWAY_PHONE_COLUMN_WIDTHS: Readonly<Record<MailGatewayPhoneColumn, number>> = {instance: 30,nodes: 12,@@ -45,6 +54,17 @@ export const MAIL_GATEWAY_PHONE_COLUMN_WIDTHS: Readonly<Record<MailGatewayPhoneCdeferred: 14,};+export const MAIL_GATEWAY_NARROW_PHONE_COLUMN_WIDTHS: Readonly<+ Record<MailGatewayPhoneColumn, number>+> = {+ instance: 40,+ nodes: 0,+ uptime: 15,+ mail: 15,+ queue: 15,+ deferred: 15,+};+// Proxmox Mail Gateway instances are mail-flow / quarantine appliances.// The generic infrastructure table renders dashes for Disk I/O / Uptime// / Temperature (PMG only exposes uptime, which we project now) and@@ -68,16 +88,22 @@ export const ProxmoxMailGatewayTable: Component<{const layout = createMemo(() =>getPlatformTableContainerLayout(observedWidth.width() ?? 1920, [520, 720, 960, 1200]),);- // Node count and uptime provide useful fleet context on phones alongside- // the mail-flow counters, so keep them in the base mobile projection.- const showNodesAndUptime = createMemo(() => true);+ const isNarrowPhone = createMemo(() => {+ const width = observedWidth.width();+ return typeof width === 'number' && width > 0 && width < 360;+ });+ // Uptime and mail-flow counters remain in the narrow projection; node count+ // moves into the existing instance detail expansion below 360px.+ const showNodes = createMemo(() => !isNarrowPhone());+ const showUptime = createMemo(() => true);const showOperational = createMemo(() => ['operational', 'expanded', 'full'].includes(layout()));const showVirus = createMemo(() => ['expanded', 'full'].includes(layout()));const showVersion = createMemo(() => layout() === 'full');const visibleColumnCount = createMemo(() =>4 +- Number(showNodesAndUptime()) * 2 ++ Number(showNodes()) ++ Number(showUptime()) +Number(showOperational()) * 2 +Number(showVirus()) +Number(showVersion()),@@ -117,10 +143,22 @@ export const ProxmoxMailGatewayTable: Component<{colgroup={<Show when={layout() === 'compact'}><colgroup>- <For each={MAIL_GATEWAY_PHONE_COLUMNS}>+ <For+ each={+ isNarrowPhone()+ ? MAIL_GATEWAY_NARROW_PHONE_COLUMNS+ : MAIL_GATEWAY_PHONE_COLUMNS+ }+ >{(column) => (<col- style={{ width: `${MAIL_GATEWAY_PHONE_COLUMN_WIDTHS[column]}%` }}+ style={{+ width: `${+ (isNarrowPhone()+ ? MAIL_GATEWAY_NARROW_PHONE_COLUMN_WIDTHS+ : MAIL_GATEWAY_PHONE_COLUMN_WIDTHS)[column]+ }%`,+ }}data-proxmox-mail-column={column}/>)}@@ -130,20 +168,32 @@ export const ProxmoxMailGatewayTable: Component<{}header={<>- <TableHead class={getPlatformTableHeadClassForKind('name')}>Instance</TableHead>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[18%]`}+ >+ Instance+ </TableHead><Show when={showVersion()}><TableHead class={getPlatformTableHeadClassForKind('text')}>Version</TableHead></Show>- <Show when={showNodesAndUptime()}>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ <Show when={showNodes()}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[12%]`}+ >Nodes</TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>+ </Show>+ <Show when={showUptime()}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >{layout() === 'compact' ? 'Age' : 'Uptime'}</TableHead></Show>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- {layout() === 'compact' ? 'In' : 'Mail in'}+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >+ <PlatformResponsiveTableLabel compact="In" full="Mail in" /></TableHead><Show when={showOperational()}><TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>@@ -160,11 +210,15 @@ export const ProxmoxMailGatewayTable: Component<{Quarantine</TableHead></Show>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- {layout() === 'compact' ? 'Q' : 'Queue'}+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[14%]`}+ >+ <PlatformResponsiveTableLabel compact="Q" full="Queue" /></TableHead>- <TableHead class={getPlatformTableHeadClassForKind('numeric-value')}>- {layout() === 'compact' ? 'Def' : 'Deferred'}+ <TableHead+ class={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-10 md:w-[14%]`}+ >+ <PlatformResponsiveTableLabel compact="Def" full="Deferred" /></TableHead></>}@@ -214,7 +268,7 @@ export const ProxmoxMailGatewayTable: Component<{{version()}</TableCell></Show>- <Show when={showNodesAndUptime()}>+ <Show when={showNodes()}><TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>@@ -223,6 +277,8 @@ export const ProxmoxMailGatewayTable: Component<{format={formatPlatformTableIntegerValue}/></TableCell>+ </Show>+ <Show when={showUptime()}><TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>diff --git a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsxindex 42d89870bf..981f6c3ac7 100644--- a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx@@ -211,7 +211,7 @@ export function ProxmoxRecoverableTable(props: {direction={props.sortDirection}onSort={props.onSort}align="left"- headClass={getPlatformTableHeadClassForKind('name')}+ headClass={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30`}/><Show when={columnVisible('type')}><TableHead class={getPlatformTableHeadClassForKind('text')}>Type</TableHead>diff --git a/frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsxindex c43fbf4a36..600e5d9539 100644--- a/frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxReplicationTable.tsx@@ -1,6 +1,7 @@import { For, Show, createMemo, createSignal, type Component, type JSX } from 'solid-js';import ArrowRightIcon from 'lucide-solid/icons/arrow-right';import { filterChipStatusDot } from '@/components/shared/FilterBar';+import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { StatusDot } from '@/components/shared/StatusDot';import type { StatusIndicatorVariant } from '@/utils/status';import { TableCell, TableHead, TableRow } from '@/components/shared/Table';@@ -632,28 +633,26 @@ export const ProxmoxReplicationTable: Component<{</Show></TableRow><Show when={isExpanded()}>- <TableRow- id={detailRowId}+ <InlineDetailTableRow+ cellId={detailRowId}+ colspan={visibleColumnCount()}class="bg-surface-alt/60 hover:bg-surface-alt/60"+ cellClass="!whitespace-normal"+ contentClass="px-2 py-2">- <TableCell- colSpan={visibleColumnCount()}- class="!whitespace-normal !px-2 !py-2"- >- <dl class="grid grid-cols-[auto_minmax(0,1fr)] gap-x-2 gap-y-1 text-[10px] leading-4">- <dt class="font-semibold text-muted">Guest</dt>- <dd class="break-all text-base-content">{guestLabel}</dd>- <dt class="font-semibold text-muted">Job</dt>- <dd class="break-all font-mono text-base-content">- {job.jobId || job.id}- </dd>- <dt class="font-semibold text-muted">Route</dt>- <dd class="font-mono text-base-content">- {sourceNode} → {targetNode}- </dd>- </dl>- </TableCell>- </TableRow>+ <dl class="grid grid-cols-[auto_minmax(0,1fr)] gap-x-2 gap-y-1 text-[10px] leading-4">+ <dt class="font-semibold text-muted">Guest</dt>+ <dd class="break-all text-base-content">{guestLabel}</dd>+ <dt class="font-semibold text-muted">Job</dt>+ <dd class="break-all font-mono text-base-content">+ {job.jobId || job.id}+ </dd>+ <dt class="font-semibold text-muted">Route</dt>+ <dd class="font-mono text-base-content">+ {sourceNode} → {targetNode}+ </dd>+ </dl>+ </InlineDetailTableRow></Show></>);diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCephTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCephTable.test.tsxindex 3fbeeb7d53..0156ed4eae 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCephTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCephTable.test.tsx@@ -5,6 +5,8 @@ import type { Resource } from '@/types/resource';import {CEPH_PHONE_COLUMNS,CEPH_PHONE_COLUMN_WIDTHS,+ CEPH_NARROW_COLUMNS,+ CEPH_NARROW_COLUMN_WIDTHS,ProxmoxCephTable,} from '../ProxmoxCephTable';@@ -27,7 +29,15 @@ const makeCluster = (id: string): Resource => ({numOsdsUp: 4,numOsdsIn: 4,numPGs: 128,- pools: [],+ pools: [+ {+ name: 'rbd-primary',+ storedBytes: 32_212_254_720,+ availableBytes: 20_079_751_168,+ objects: 1_764_309,+ percentUsed: 59.2,+ },+ ],services: [],},});@@ -54,6 +64,13 @@ describe('ProxmoxCephTable', () => {});});+ it('uses a five-column identity-led projection below 360px', () => {+ expect(CEPH_NARROW_COLUMNS).toEqual(['cluster', 'health', 'osds', 'pools', 'capacity']);+ expect(+ CEPH_NARROW_COLUMNS.reduce((total, column) => total + CEPH_NARROW_COLUMN_WIDTHS[column], 0),+ ).toBe(100);+ });+it('returns focus to the cluster disclosure after closing an auto-opened detail', async () => {render(() => (<ProxmoxCephTable@@ -73,6 +90,27 @@ describe('ProxmoxCephTable', () => {expect(disclosure).toHaveAccessibleName('Expand details for ceph-main');});+ it('exposes complete nested pool values by touch and keyboard', async () => {+ render(() => (+ <ProxmoxCephTable+ resources={[makeCluster('ceph-main')]}+ emptyIcon={<span />}+ emptyTitle="No Ceph clusters"+ emptyDescription="No clusters"+ />+ ));++ const disclosure = screen.getByRole('button', { name: 'Expand details for rbd-primary' });+ await fireEvent.click(disclosure);++ const detail = document.querySelector('[data-inline-proxmox-ceph-pool-detail-for]');+ expect(detail).toHaveTextContent('1,764,309');+ expect(detail).toHaveTextContent('59.2%');++ await fireEvent.keyDown(disclosure.closest('tr')!, { key: 'Enter' });+ expect(document.querySelector('[data-inline-proxmox-ceph-pool-detail-for]')).toBeNull();+ });+it('returns focus to the disclosure for a cluster opened by the user', async () => {render(() => (<ProxmoxCephTablediff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsxindex 1312cdc2b0..3b383af48a 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxCoverageTable.test.tsx@@ -114,8 +114,9 @@ describe('ProxmoxCoverageTable column visibility', () => {/>));- expect(headerTexts()).toEqual(['Workload', 'Posture', 'Age', 'PBS', 'PVE', 'Guest', 'Job']);- expect(document.body.textContent).toContain('VM 100 · pve1');+ expect(headerTexts()).toEqual(['Workload', 'Posture', 'Age', 'PBS', 'Job']);+ expect(document.body.textContent).toContain('Prot.');+ expect(document.body.textContent).not.toContain('VM 100 · pve1');});it('keeps provider evidence in the workload drill-down instead of every table row', () => {diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxMailGatewayTable.test.ts b/frontend-modern/src/features/proxmox/__tests__/ProxmoxMailGatewayTable.test.tsindex c51b47e556..37a704d6f8 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxMailGatewayTable.test.ts+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxMailGatewayTable.test.ts@@ -1,6 +1,8 @@import { describe, expect, it } from 'vitest';import {+ MAIL_GATEWAY_NARROW_PHONE_COLUMNS,+ MAIL_GATEWAY_NARROW_PHONE_COLUMN_WIDTHS,MAIL_GATEWAY_PHONE_COLUMNS,MAIL_GATEWAY_PHONE_COLUMN_WIDTHS,} from '../ProxmoxMailGatewayTable';@@ -24,4 +26,20 @@ describe('ProxmoxMailGatewayTable phone presentation', () => {deferred: 14,});});++ it('demotes node count below 360px while keeping five mail-flow fields', () => {+ expect(MAIL_GATEWAY_NARROW_PHONE_COLUMNS).toEqual([+ 'instance',+ 'uptime',+ 'mail',+ 'queue',+ 'deferred',+ ]);+ expect(+ MAIL_GATEWAY_NARROW_PHONE_COLUMNS.reduce(+ (total, column) => total + MAIL_GATEWAY_NARROW_PHONE_COLUMN_WIDTHS[column],+ 0,+ ),+ ).toBe(100);+ });});diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxRecoverableTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxRecoverableTable.test.tsxindex 9cd217d810..4d4c5528c9 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxRecoverableTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxRecoverableTable.test.tsx@@ -49,7 +49,7 @@ const renderTable = (layoutWidth: number) =>afterEach(cleanup);describe('ProxmoxRecoverableTable responsive columns', () => {- it('keeps source, location, size, recovery age, and state visible in compact containers', () => {+ it('keeps source, location, recovery age, and state visible in compact containers', () => {renderTable(330);expect([...document.querySelectorAll('thead th')].map((th) => th.textContent?.trim())).toEqual([@@ -57,7 +57,6 @@ describe('ProxmoxRecoverableTable responsive columns', () => {'Via','Loc','Age',- 'Size','State',]);expect(document.body.textContent).toContain('VM 100');diff --git a/frontend-modern/src/features/proxmox/__tests__/proxmoxBackupsTablePresentation.test.ts b/frontend-modern/src/features/proxmox/__tests__/proxmoxBackupsTablePresentation.test.tsindex 45d7aca8b2..57f1ecc033 100644--- a/frontend-modern/src/features/proxmox/__tests__/proxmoxBackupsTablePresentation.test.ts+++ b/frontend-modern/src/features/proxmox/__tests__/proxmoxBackupsTablePresentation.test.ts@@ -46,8 +46,8 @@ describe('Proxmox backups responsive table presentation', () => {'used','backups',]);- expect(getBackupServerColumnWidthStyle('server', 'compact')).toEqual({ width: '30%' });- expect(getBackupServerColumnWidthStyle('used', 'compact')).toEqual({ width: '22.3188%' });+ expect(getBackupServerColumnWidthStyle('server', 'compact')).toEqual({ width: '40%' });+ expect(getBackupServerColumnWidthStyle('used', 'compact')).toEqual({ width: '20%' });expect(ids(getBackupServerColumns('basic'))).toEqual(['server','status',@@ -74,8 +74,6 @@ describe('Proxmox backups responsive table presentation', () => {'posture','latest','pbs',- 'archive',- 'snapshot','task',]);expect(@@ -85,7 +83,7 @@ describe('Proxmox backups responsive table presentation', () => {ids(getCoverageColumns('compact', everySource)),),).toEqual({- width: '30%',+ width: '40%',});expect(ids(getCoverageColumns('operational', everySource))).toEqual(['workload',@@ -128,10 +126,9 @@ describe('Proxmox backups responsive table presentation', () => {'source','location','created',- 'size','state',]);- expect(getRecoverableColumnWidthStyle('workload', 'compact')).toEqual({ width: '30%' });+ expect(getRecoverableColumnWidthStyle('workload', 'compact')).toEqual({ width: '40%' });expect(ids(getRecoverableColumns('basic'))).toEqual(['workload','source',diff --git a/frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.ts b/frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.tsindex f6c90a458c..fe11ee814d 100644--- a/frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.ts+++ b/frontend-modern/src/features/proxmox/proxmoxBackupsTablePresentation.ts@@ -3,6 +3,7 @@ import type { JSX } from 'solid-js';import type { PlatformTableColumnKind } from '@/features/platformPage/columnAlignment';import {getPlatformTableWeightedColumnWidthStyle,+ PLATFORM_TABLE_NARROW_IDENTITY_WIDTH_PERCENT,PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT,} from '@/features/platformPage/sharedPlatformPage';@@ -104,7 +105,7 @@ const BACKUP_SERVER_WEIGHTS: Record<ProxmoxBackupsTableLayoutMode,Partial<Record<BackupServerColumnId, number>>> = {- compact: { server: 31, status: 14, datastore: 20, used: 22, backups: 13 },+ compact: { server: 40, status: 15, datastore: 15, used: 20, backups: 10 },basic: { server: 24, status: 14, datastore: 20, used: 28, backups: 14 },operational: {server: 20,@@ -155,7 +156,13 @@ export const getBackupServerColumnWidthStyle = (BACKUP_SERVER_WEIGHTS[layout],BACKUP_SERVER_VISIBLE[layout],layout === 'compact' || layout === 'basic'- ? { columnId: 'server', widthPercent: PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT }+ ? {+ columnId: 'server',+ widthPercent:+ layout === 'compact'+ ? PLATFORM_TABLE_NARROW_IDENTITY_WIDTH_PERCENT+ : PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT,+ }: undefined,);@@ -175,8 +182,9 @@ export const COVERAGE_COLUMNS: readonly BackupTableColumn<CoverageColumnId>[] =const COVERAGE_VISIBLE: Record<ProxmoxBackupsTableLayoutMode, readonly CoverageColumnId[]> = {// On narrow surfaces answer: which workload, what posture, how recent is the// newest restore point, and did the latest task succeed? Provider-by-provider- // evidence is progressive detail; target identity folds beneath the name.- compact: ['workload', 'posture', 'latest', 'pbs', 'archive', 'snapshot', 'task'],+ // evidence is progressive detail in the expansion row; target identity folds+ // beneath the name so the scan stays legible at 320px.+ compact: ['workload', 'posture', 'latest', 'pbs', 'task'],basic: ['workload', 'node', 'posture', 'latest', 'task'],operational: ['workload', 'type', 'node', 'posture', 'latest', 'task'],expanded: ['workload', 'type', 'node', 'posture', 'latest', 'pbs', 'archive', 'snapshot', 'task'],@@ -187,15 +195,7 @@ const COVERAGE_WEIGHTS: Record<ProxmoxBackupsTableLayoutMode,Partial<Record<CoverageColumnId, number>>> = {- compact: {- workload: 28,- posture: 14,- latest: 13,- pbs: 12,- archive: 11,- snapshot: 12,- task: 10,- },+ compact: { workload: 40, posture: 18, latest: 16, pbs: 16, task: 10 },basic: { workload: 31, node: 18, posture: 19, latest: 20, task: 12 },operational: { workload: 28, type: 9, node: 14, posture: 17, latest: 17, task: 15 },expanded: {@@ -255,7 +255,13 @@ export const getCoverageColumnWidthStyle = (COVERAGE_WEIGHTS[layout],visibleColumnIds,layout === 'compact' || layout === 'basic'- ? { columnId: 'workload', widthPercent: PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT }+ ? {+ columnId: 'workload',+ widthPercent:+ layout === 'compact'+ ? PLATFORM_TABLE_NARROW_IDENTITY_WIDTH_PERCENT+ : PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT,+ }: undefined,);@@ -272,9 +278,10 @@ export const RECOVERABLE_COLUMNS: readonly BackupTableColumn<RecoverableColumnId];const RECOVERABLE_VISIBLE: Record<ProxmoxBackupsTableLayoutMode, readonly RecoverableColumnId[]> = {- // A recovery-point feed starts with identity, source, age, and verification.- // Location, size, and verbose details progressively return with usable room.- compact: ['workload', 'source', 'location', 'created', 'size', 'state'],+ // A recovery-point feed starts with identity, source, location, age, and+ // verification. Size and verbose details progressively return with usable+ // room; the full values remain available through their title affordance.+ compact: ['workload', 'source', 'location', 'created', 'state'],basic: ['workload', 'source', 'location', 'created', 'state'],operational: ['workload', 'type', 'source', 'location', 'created', 'size', 'state'],expanded: ['workload', 'type', 'targetId', 'source', 'location', 'created', 'size', 'state'],@@ -285,7 +292,7 @@ const RECOVERABLE_WEIGHTS: Record<ProxmoxBackupsTableLayoutMode,Partial<Record<RecoverableColumnId, number>>> = {- compact: { workload: 30, source: 14, location: 16, created: 14, size: 13, state: 13 },+ compact: { workload: 40, source: 15, location: 20, created: 15, state: 10 },basic: { workload: 28, source: 14, location: 23, created: 18, state: 17 },operational: {workload: 24,@@ -335,7 +342,13 @@ export const getRecoverableColumnWidthStyle = (RECOVERABLE_WEIGHTS[layout],RECOVERABLE_VISIBLE[layout],layout === 'compact' || layout === 'basic'- ? { columnId: 'workload', widthPercent: PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT }+ ? {+ columnId: 'workload',+ widthPercent:+ layout === 'compact'+ ? PLATFORM_TABLE_NARROW_IDENTITY_WIDTH_PERCENT+ : PLATFORM_TABLE_PHONE_IDENTITY_WIDTH_PERCENT,+ }: undefined,);diff --git a/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx b/frontend-modern/src/features/standalone/AgentsMachinesTable.tsxindex 62b703043c..5911effec9 100644--- a/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx+++ b/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx@@ -1060,9 +1060,9 @@ const machineColumnWidthClass = (columnId: AgentMachineColumnId): string => {return 'hidden md:table-cell md:w-[6%]';case 'cpu':case 'memory':- return 'w-[15%] sm:w-[20%] md:w-[8%]';+ return 'platform-table-mobile-w-15 w-[15%] sm:w-[20%] md:w-[8%]';case 'disk':- return 'w-[15%] sm:w-[20%] md:w-[8%]';+ return 'platform-table-mobile-w-15 w-[15%] sm:w-[20%] md:w-[8%]';case 'gpu':return 'hidden md:table-cell md:w-[8%]';case 'network':@@ -1072,7 +1072,7 @@ const machineColumnWidthClass = (columnId: AgentMachineColumnId): string => {case 'temp':return 'hidden md:table-cell md:w-[5%]';case 'lastSeen':- return 'w-[15%] lg:w-[6%]';+ return 'platform-table-mobile-w-15 w-[15%] lg:w-[6%]';case 'ip':return 'agent-machine-address-column hidden xl:table-cell xl:w-[8%]';case 'raid':@@ -1082,7 +1082,7 @@ const machineColumnWidthClass = (columnId: AgentMachineColumnId): string => {case 'kernel':return 'hidden xl:table-cell xl:w-[10%]';case 'actions':- return 'w-[10%] md:w-[4%]';+ return 'platform-table-narrow-hidden w-[10%] md:w-[4%]';}};@@ -1628,7 +1628,7 @@ export const AgentsMachinesTable: Component<{when={machineSubtitle()}fallback={<span- class="mt-0.5 block truncate pl-10 text-[9px] text-muted sm:text-[10px] md:hidden"+ class="mt-0.5 hidden truncate pl-10 text-[9px] text-muted sm:text-[10px] md:block"title={systemLabel()}>{systemLabel()}@@ -1637,7 +1637,7 @@ export const AgentsMachinesTable: Component<{>{(subtitle) => (<span- class="mt-0.5 block truncate pl-10 text-[9px] text-muted sm:text-[10px]"+ class="mt-0.5 hidden truncate pl-10 text-[9px] text-muted sm:text-[10px] md:block"title={subtitle()}>{subtitle()}diff --git a/frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts b/frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.tsindex 8a5f4bd5d9..3b057ae5a6 100644--- a/frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts+++ b/frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts@@ -111,7 +111,7 @@ describe('diskPresentation', () => {it('returns critical presentation for failed disks', () => {expect(PHYSICAL_DISK_EMPTY_CARD_CLASS).toBe('text-center');- expect(PHYSICAL_DISK_TABLE_CLASS).toBe('w-full table-fixed text-xs');+ expect(PHYSICAL_DISK_TABLE_CLASS).toBe('platform-table w-full table-fixed text-xs');expect(PHYSICAL_DISK_TABLE_ROW_HOVER_CLASS).toContain('hover:bg-surface-hover');expect(PHYSICAL_DISK_HEADER_DISK_CLASS).toContain('uppercase');expect(PHYSICAL_DISK_HEADER_DEVICE_CLASS).toContain('uppercase');@@ -135,6 +135,9 @@ describe('diskPresentation', () => {});it('selects operator-priority disk layouts from the rendered table width', () => {+ expect(getPhysicalDiskTableLayoutModeForContainer(0)).toBe('compact');+ expect(getPhysicalDiskTableLayoutModeForContainer(359)).toBe('narrow');+ expect(getPhysicalDiskTableLayoutModeForContainer(360)).toBe('compact');expect(getPhysicalDiskTableLayoutModeForContainer(519)).toBe('compact');expect(getPhysicalDiskTableLayoutModeForContainer(520)).toBe('basic');expect(getPhysicalDiskTableLayoutModeForContainer(649)).toBe('basic');@@ -159,6 +162,10 @@ describe('diskPresentation', () => {expect(getPhysicalDiskColumnWidthPercent('compact', 'size')).toBe(14);expect(getPhysicalDiskColumnWidthPercent('operational', 'life')).toBe(9);expect(getPhysicalDiskColumnWidthPercent('compact', 'device')).toBe(0);+ expect(isPhysicalDiskColumnVisible('narrow', 'life')).toBe(false);+ expect(isPhysicalDiskColumnVisible('narrow', 'temp')).toBe(true);+ expect(getPhysicalDiskColumnWidthPercent('narrow', 'disk')).toBe(40);+ expect(getPhysicalDiskColumnWidthPercent('narrow', 'size')).toBe(15);});it('detects SMART warnings from counters', () => {diff --git a/frontend-modern/src/features/storageBackups/__tests__/storagePagePresentation.test.ts b/frontend-modern/src/features/storageBackups/__tests__/storagePagePresentation.test.tsindex 15eb436d90..22c0416e68 100644--- a/frontend-modern/src/features/storageBackups/__tests__/storagePagePresentation.test.ts+++ b/frontend-modern/src/features/storageBackups/__tests__/storagePagePresentation.test.ts@@ -43,6 +43,9 @@ describe('storagePagePresentation', () => {});it('selects pool layouts from the rendered table width', () => {+ expect(getStoragePoolTableLayoutModeForContainer(0)).toBe('compact');+ expect(getStoragePoolTableLayoutModeForContainer(359)).toBe('narrow');+ expect(getStoragePoolTableLayoutModeForContainer(360)).toBe('compact');expect(getStoragePoolTableLayoutModeForContainer(559)).toBe('compact');expect(getStoragePoolTableLayoutModeForContainer(560)).toBe('operational');expect(getStoragePoolTableLayoutModeForContainer(1_039)).toBe('operational');@@ -55,5 +58,9 @@ describe('storagePagePresentation', () => {expect(getStoragePoolColumnWidthPercent('compact', 'name')).toBe(30);expect(getStoragePoolColumnWidthPercent('compact', 'usage')).toBe(13);expect(getStoragePoolColumnWidthPercent('compact', 'growth')).toBe(0);+ expect(isStoragePoolColumnVisible('narrow', 'type')).toBe(false);+ expect(isStoragePoolColumnVisible('narrow', 'protection')).toBe(true);+ expect(getStoragePoolColumnWidthPercent('narrow', 'name')).toBe(40);+ expect(getStoragePoolColumnWidthPercent('narrow', 'usage')).toBe(15);});});diff --git a/frontend-modern/src/features/storageBackups/diskPresentation.ts b/frontend-modern/src/features/storageBackups/diskPresentation.tsindex 3a7d025008..750bff0a6f 100644--- a/frontend-modern/src/features/storageBackups/diskPresentation.ts+++ b/frontend-modern/src/features/storageBackups/diskPresentation.ts@@ -97,7 +97,7 @@ export const PHYSICAL_DISK_EMPTY_REQUIREMENTS_NOTE_CLASS =const PHYSICAL_DISK_TABLE_HEADER_CLASS ='overflow-hidden text-ellipsis whitespace-nowrap px-1 sm:px-1.5 lg:px-2 py-0.5 text-left text-[10px] sm:text-[11px] lg:text-xs font-medium uppercase tracking-wider';-export const PHYSICAL_DISK_TABLE_CLASS = 'w-full table-fixed text-xs';+export const PHYSICAL_DISK_TABLE_CLASS = 'platform-table w-full table-fixed text-xs';export const PHYSICAL_DISK_TABLE_HEADER_ROW_CLASS ='border-b border-border bg-surface-alt text-muted';export const PHYSICAL_DISK_TABLE_BODY_CLASS = 'divide-y divide-border';@@ -107,7 +107,8 @@ export const PHYSICAL_DISK_TABLE_ROW_HOVER_CLASS = 'hover:bg-surface-hover';export const PHYSICAL_DISK_TABLE_ROW_STYLE = { height: '32px' } as const;export const PHYSICAL_DISK_DETAIL_ROW_CELL_CLASS ='border-b border-border-subtle bg-surface-alt px-4 py-4 shadow-inner';-export type PhysicalDiskTableLayoutMode = 'compact' | 'basic' | 'operational' | 'expanded' | 'full';+export type PhysicalDiskTableLayoutMode =+ 'narrow' | 'compact' | 'basic' | 'operational' | 'expanded' | 'full';export const getPhysicalDiskTableLayoutModeForContainer = (containerWidth: number,@@ -116,6 +117,7 @@ export const getPhysicalDiskTableLayoutModeForContainer = (if (containerWidth >= 900) return 'expanded';if (containerWidth >= 650) return 'operational';if (containerWidth >= 520) return 'basic';+ if (containerWidth > 0 && containerWidth < 360) return 'narrow';return 'compact';};@@ -126,6 +128,10 @@ const PHYSICAL_DISK_VISIBLE_COLUMNS: Record<PhysicalDiskTableLayoutMode,readonly PhysicalDiskTableColumnId[]> = {+ // Endurance is available in the expanded disk detail. At the narrowest+ // phone width, keep identity, placement, immediate health, temperature,+ // and capacity readable on one line.+ narrow: ['disk', 'host', 'health', 'temp', 'size'],// Keep the phone view useful at a glance: identity, placement, health,// endurance, temperature, and capacity all fit without horizontal scroll.compact: ['disk', 'host', 'health', 'life', 'temp', 'size'],@@ -139,6 +145,7 @@ const PHYSICAL_DISK_COLUMN_WIDTHS: Record<PhysicalDiskTableLayoutMode,Partial<Record<PhysicalDiskTableColumnId, number>>> = {+ narrow: { disk: 40, host: 15, health: 20, temp: 10, size: 15 },compact: { disk: 33, host: 15, health: 18, life: 10, temp: 10, size: 14 },basic: { disk: 33, host: 17, health: 22, temp: 12, size: 16 },operational: { disk: 25, host: 12, parent: 15, health: 17, life: 9, temp: 9, size: 13 },diff --git a/frontend-modern/src/features/storageBackups/storagePagePresentation.ts b/frontend-modern/src/features/storageBackups/storagePagePresentation.tsindex eb58296720..29c2a88844 100644--- a/frontend-modern/src/features/storageBackups/storagePagePresentation.ts+++ b/frontend-modern/src/features/storageBackups/storagePagePresentation.ts@@ -19,13 +19,14 @@ export type StoragePoolTableColumn = {kind: PlatformTableColumnKind;};-export type StoragePoolTableLayoutMode = 'compact' | 'operational' | 'full';+export type StoragePoolTableLayoutMode = 'narrow' | 'compact' | 'operational' | 'full';export const getStoragePoolTableLayoutModeForContainer = (containerWidth: number,): StoragePoolTableLayoutMode => {if (containerWidth >= 1_040) return 'full';if (containerWidth >= 560) return 'operational';+ if (containerWidth > 0 && containerWidth < 360) return 'narrow';return 'compact';};@@ -33,6 +34,9 @@ const STORAGE_POOL_VISIBLE_COLUMNS: Record<StoragePoolTableLayoutMode,readonly StoragePoolTableColumnId[]> = {+ // The smallest supported phone keeps the same five-field scan contract as+ // native platform tables. Topology remains available in the row detail.+ narrow: ['name', 'state', 'host', 'protection', 'usage'],// Phone tables should answer identity, health, topology, placement,// protection, and capacity without requiring a horizontal rail.compact: ['name', 'state', 'type', 'host', 'protection', 'usage'],@@ -44,6 +48,7 @@ const STORAGE_POOL_COLUMN_WIDTHS: Record<StoragePoolTableLayoutMode,Partial<Record<StoragePoolTableColumnId, number>>> = {+ narrow: { name: 40, state: 15, host: 15, protection: 15, usage: 15 },compact: { name: 30, state: 16, type: 13, host: 16, protection: 12, usage: 13 },operational: { name: 29, state: 20, host: 15, protection: 15, usage: 21 },full: { name: 20, state: 14, type: 10, host: 12, protection: 13, usage: 20, growth: 11 },diff --git a/frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx b/frontend-modern/src/features/truenas/TrueNASAlertsTable.tsxindex 83f6691562..6679c39246 100644--- a/frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASAlertsTable.tsx@@ -5,6 +5,7 @@ import { TableCell, TableHead, TableRow } from '@/components/shared/Table';import {PlatformTableEmptyState,PlatformTableToolbar,+ PlatformResponsiveTableLabel,createPlatformTableFilterState,getPlatformTableCellClassForKind,getPlatformTableHeadClassForKind,@@ -162,13 +163,15 @@ export const TrueNASAlertsTable: Component<{tableClass="min-w-full table-fixed text-xs md:min-w-[960px]"header={<>- <TableHead class={`${getPlatformTableHeadClassForKind('name')} md:w-[20%]`}>+ <TableHead+ class={`${getPlatformTableHeadClassForKind('name')} platform-table-mobile-w-30 md:w-[20%]`}+ >Resource</TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('badge')} platform-table-mobile-w-15 md:w-[10%]`}>- Severity+ <PlatformResponsiveTableLabel compact="Sev" full="Severity" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-25 md:w-[32%]`}@@ -178,12 +181,12 @@ export const TrueNASAlertsTable: Component<{<TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[13%]`}>- Source+ <PlatformResponsiveTableLabel compact="Src" full="Source" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[10%]`}>- Started+ <PlatformResponsiveTableLabel compact="Age" full="Started" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('text')} hidden xl:table-cell md:w-[15%]`}diff --git a/frontend-modern/src/features/truenas/TrueNASAppsTable.tsx b/frontend-modern/src/features/truenas/TrueNASAppsTable.tsxindex 11220a6940..5e78e8f7ce 100644--- a/frontend-modern/src/features/truenas/TrueNASAppsTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASAppsTable.tsx@@ -271,7 +271,7 @@ export const TrueNASAppsTable: Component<{sortKey="memory"class="platform-table-mobile-w-20 truenas-app-memory-column md:w-[12%]">- Memory+ <PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="numeric-value"@@ -279,7 +279,7 @@ export const TrueNASAppsTable: Component<{sortKey="containers"class="platform-table-mobile-w-15 truenas-app-containers-column md:w-[12%]">- Containers+ <PlatformResponsiveTableLabel compact="Ctrs" full="Containers" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"diff --git a/frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx b/frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsxindex ace20f4fd9..33c6572227 100644--- a/frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASNetworkSharesTable.tsx@@ -4,6 +4,7 @@ import { TableCell, TableRow } from '@/components/shared/Table';import { getSimpleStatusIndicator } from '@/utils/status';import { asTrimmedString } from '@/utils/stringUtils';import {+ PlatformResponsiveTableLabel,PlatformSortableTableHead,PlatformTableEmptyState,PlatformTableToolbar,@@ -196,7 +197,7 @@ export const TrueNASNetworkSharesTable: Component<{sortKey="protocol"class="platform-table-mobile-w-15 md:w-[11%]">- Protocol+ <PlatformResponsiveTableLabel compact="Proto" full="Protocol" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"@@ -211,7 +212,7 @@ export const TrueNASNetworkSharesTable: Component<{sort={sort}class="platform-table-mobile-w-15 md:w-[19%]">- Access+ <PlatformResponsiveTableLabel compact="ACL" full="Access" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"diff --git a/frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsx b/frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsxindex b1c85167fe..fc56e6d761 100644--- a/frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASStorageTopologyTable.tsx@@ -384,7 +384,7 @@ export const TrueNASStorageTopologyTable: Component<{sortKey="health"class="platform-table-mobile-w-15 md:w-[14%]">- Health+ <PlatformResponsiveTableLabel compact="H" full="Health" /></PlatformSortableTableHead></>}diff --git a/frontend-modern/src/features/truenas/TrueNASSystemsTable.tsx b/frontend-modern/src/features/truenas/TrueNASSystemsTable.tsxindex d29cf37723..4c018a9c71 100644--- a/frontend-modern/src/features/truenas/TrueNASSystemsTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASSystemsTable.tsx@@ -222,7 +222,7 @@ export const TrueNASSystemsTable: Component<{kind="metric-bar"sort={sort}sortKey="cpu"- class="w-[17%] md:w-[10%]"+ class="platform-table-mobile-w-15 md:w-[10%]">CPU</PlatformSortableTableHead>@@ -230,7 +230,7 @@ export const TrueNASSystemsTable: Component<{kind="metric-bar"sort={sort}sortKey="memory"- class="w-[17%] md:w-[10%]"+ class="platform-table-mobile-w-20 md:w-[10%]"><PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead>@@ -238,15 +238,15 @@ export const TrueNASSystemsTable: Component<{kind="metric-bar"sort={sort}sortKey="capacity"- class="w-[20%] md:w-[13%]"+ class="platform-table-mobile-w-20 md:w-[13%]">- Capacity+ <PlatformResponsiveTableLabel compact="Cap" full="Capacity" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="numeric-value"sort={sort}sortKey="temp"- class="w-[16%] md:w-[6%]"+ class="platform-table-mobile-w-15 md:w-[6%]"><PlatformResponsiveTableLabel compact="°C" full="Temp" /></PlatformSortableTableHead>diff --git a/frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsx b/frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsxindex 176fc85238..110d8c848b 100644--- a/frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsx+++ b/frontend-modern/src/features/truenas/TrueNASVirtualMachinesTable.tsx@@ -4,6 +4,7 @@ import { TableCell, TableRow } from '@/components/shared/Table';import { getSimpleStatusIndicator } from '@/utils/status';import { asTrimmedString } from '@/utils/stringUtils';import {+ PlatformResponsiveTableLabel,PlatformSortableTableHead,PlatformTableEmptyState,PlatformTableToolbar,@@ -234,7 +235,7 @@ export const TrueNASVirtualMachinesTable: Component<{sortKey="memory"class="platform-table-mobile-w-15 md:w-[10%]">- Memory+ <PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"diff --git a/frontend-modern/src/features/truenas/__tests__/TrueNASSystemsTable.test.tsx b/frontend-modern/src/features/truenas/__tests__/TrueNASSystemsTable.test.tsxindex 00f12d7a9a..6bf623fa04 100644--- a/frontend-modern/src/features/truenas/__tests__/TrueNASSystemsTable.test.tsx+++ b/frontend-modern/src/features/truenas/__tests__/TrueNASSystemsTable.test.tsx@@ -63,9 +63,11 @@ describe('TrueNASSystemsTable', () => {'platform-table-mobile-w-30',);expect(headers.find((header) => header.textContent?.includes('Capacity'))).toHaveClass(- 'w-[20%]',+ 'platform-table-mobile-w-20',+ );+ expect(headers.find((header) => header.textContent?.includes('°C'))).toHaveClass(+ 'platform-table-mobile-w-15',);- expect(headers.find((header) => header.textContent?.includes('°C'))).toHaveClass('w-[16%]');});it('treats an impaired TrueNAS source as degraded for the row indicator and health filter', async () => {diff --git a/frontend-modern/src/features/vmware/VsphereAlertsTable.tsx b/frontend-modern/src/features/vmware/VsphereAlertsTable.tsxindex 05e644fba8..3f0cede892 100644--- a/frontend-modern/src/features/vmware/VsphereAlertsTable.tsx+++ b/frontend-modern/src/features/vmware/VsphereAlertsTable.tsx@@ -11,6 +11,7 @@ import { InlineDetailTableRow } from '@/components/shared/InlineDetailTableRow';import { TableCell, TableHead, TableRow } from '@/components/shared/Table';import {PlatformTableEmptyState,+ PlatformResponsiveTableLabel,PlatformTableToolbar,createPlatformTableFilterState,getPlatformTableCellClassForKind,@@ -181,7 +182,7 @@ export const VsphereAlertsTable: Component<{<TableHeadclass={`${getPlatformTableHeadClassForKind('badge')} platform-table-mobile-w-15 md:w-[10%]`}>- Severity+ <PlatformResponsiveTableLabel compact="Sev" full="Severity" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-25 md:w-[34%]`}@@ -191,7 +192,7 @@ export const VsphereAlertsTable: Component<{<TableHeadclass={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[14%]`}>- vCenter+ <PlatformResponsiveTableLabel compact="VC" full="vCenter" /></TableHead><TableHeadclass={`${getPlatformTableHeadClassForKind('text')} hidden lg:table-cell md:w-[12%]`}@@ -201,7 +202,7 @@ export const VsphereAlertsTable: Component<{<TableHeadclass={`${getPlatformTableHeadClassForKind('numeric-value')} platform-table-mobile-w-15 md:w-[10%]`}>- Started+ <PlatformResponsiveTableLabel compact="Age" full="Started" /></TableHead></>}diff --git a/frontend-modern/src/features/vmware/VsphereDatastoresTable.tsx b/frontend-modern/src/features/vmware/VsphereDatastoresTable.tsxindex 7a6135a95b..b6bc5155ba 100644--- a/frontend-modern/src/features/vmware/VsphereDatastoresTable.tsx+++ b/frontend-modern/src/features/vmware/VsphereDatastoresTable.tsx@@ -7,6 +7,7 @@ import { getSimpleStatusIndicator } from '@/utils/status';import { asTrimmedString } from '@/utils/stringUtils';import {PlatformSortableTableHead,+ PlatformResponsiveTableLabel,PlatformTableEmptyState,PlatformTableMetricFallback,PlatformTableToolbar,@@ -215,14 +216,14 @@ export const VsphereDatastoresTable: Component<{sortKey="capacity"class="platform-table-mobile-w-25 md:w-[18%]">- Capacity+ <PlatformResponsiveTableLabel compact="Cap" full="Capacity" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}class="platform-table-mobile-w-15 md:w-[14%]">- Hosts+ <PlatformResponsiveTableLabel compact="H" full="Hosts" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="numeric-value"@@ -230,7 +231,7 @@ export const VsphereDatastoresTable: Component<{sortKey="vms"class="platform-table-mobile-w-15 md:w-[7%]">- VMs+ <PlatformResponsiveTableLabel compact="#" full="VMs" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"diff --git a/frontend-modern/src/features/vmware/VsphereHostsTable.tsx b/frontend-modern/src/features/vmware/VsphereHostsTable.tsxindex baa8aed659..7295d54d1f 100644--- a/frontend-modern/src/features/vmware/VsphereHostsTable.tsx+++ b/frontend-modern/src/features/vmware/VsphereHostsTable.tsx@@ -242,7 +242,7 @@ export const VsphereHostsTable: Component<{kind="text"sort={sort}sortKey="power"- class="w-[12%] md:w-[7%]"+ class="platform-table-mobile-w-10 platform-table-narrow-hidden w-[12%] md:w-[7%]">Power</PlatformSortableTableHead>@@ -250,7 +250,7 @@ export const VsphereHostsTable: Component<{kind="metric-bar"sort={sort}sortKey="cpu"- class="w-[15%] md:w-[12%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[12%]">CPU</PlatformSortableTableHead>@@ -258,7 +258,7 @@ export const VsphereHostsTable: Component<{kind="metric-bar"sort={sort}sortKey="memory"- class="w-[15%] md:w-[13%]"+ class="platform-table-mobile-w-15 w-[15%] md:w-[13%]"><PlatformResponsiveTableLabel compact="Mem" full="Memory" /></PlatformSortableTableHead>@@ -274,15 +274,15 @@ export const VsphereHostsTable: Component<{kind="numeric-value"sort={sort}sortKey="vms"- class="w-[12%] md:w-[4%]"+ class="platform-table-mobile-w-10 w-[12%] md:w-[4%]">- VMs+ <PlatformResponsiveTableLabel compact="#" full="VMs" /></PlatformSortableTableHead><PlatformSortableTableHeadkind="text"sort={sort}sortKey="uptime"- class="w-[16%] md:w-[6%]"+ class="platform-table-mobile-w-20 w-[16%] md:w-[6%]"><PlatformResponsiveTableLabel compact="Up" full="Uptime" /></PlatformSortableTableHead>@@ -401,7 +401,7 @@ export const VsphereHostsTable: Component<{<span class="block truncate">{cluster()}</span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} platform-table-narrow-hidden text-base-content`}><div class="flex items-center gap-2"><StatusDotdiff --git a/frontend-modern/src/features/vmware/VsphereNetworksTable.tsx b/frontend-modern/src/features/vmware/VsphereNetworksTable.tsxindex 1ecb44008e..0c76bf7060 100644--- a/frontend-modern/src/features/vmware/VsphereNetworksTable.tsx+++ b/frontend-modern/src/features/vmware/VsphereNetworksTable.tsx@@ -6,6 +6,7 @@ import { getSimpleStatusIndicator } from '@/utils/status';import { asTrimmedString } from '@/utils/stringUtils';import {PlatformSortableTableHead,+ PlatformResponsiveTableLabel,PlatformTableEmptyState,PlatformTableToolbar,createPlatformTableFilterState,@@ -213,7 +214,7 @@ export const VsphereNetworksTable: Component<{sortKey="datacenter"class="platform-table-mobile-w-20 md:w-[12%]">- Datacenter+ <PlatformResponsiveTableLabel compact="DC" full="Datacenter" /></PlatformSortableTableHead></>}diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.cssindex c4ee9ca113..a438425be4 100644--- a/frontend-modern/src/index.css+++ b/frontend-modern/src/index.css@@ -1084,18 +1084,17 @@ body,}}-/* Long identities may use a second line on the narrowest supported phones,- but they keep the same shared 30% track as every other platform table. */-@container (max-width: 23.999rem) {- .table-scroll-shell > .table-fixed.platform-table td:first-child .truenas-app-name-value,- .table-scroll-shell > .table-fixed.platform-table td:first-child .kubernetes-service-name-value,- .table-scroll-shell > .table-fixed.platform-table td:first-child .kubernetes-network-name-value {- display: -webkit-box;- overflow: hidden;- overflow-wrap: anywhere;- white-space: normal;- -webkit-box-orient: vertical;- -webkit-line-clamp: 2;+/* At the narrowest supported phone width, spend the extra identity space once+ at the shared boundary. Source tables still choose which lower-priority+ field disappears; the shell only guarantees that the surviving identity+ remains a single readable scan target. */+@container (max-width: 22.499rem) {+ .table-scroll-shell > .table-fixed.platform-table th.platform-table-name-column {+ width: 40%;+ }++ .table-scroll-shell > .table-fixed.platform-table :is(th, td).platform-table-narrow-hidden {+ display: none;}}