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
Hide empty Docker View menu
rcourtman8ceff6b29f7a
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 71f92f884e..5ec825ff8d 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -3902,7 +3902,9 @@ and chip popovers (`AddFilterMenu` and `FilterChip`). Low-frequency view optionsthe shared `ViewOptionsMenu` through `FilterBar`'s `viewOptions` prop instead ofremaining as permanent toolbar controls. `FilterBar` owns the View trigger andpopover; feature consumers pass only panel content and must not import or render-`ViewOptionsMenu` themselves. Contextual frequent actions may use+`ViewOptionsMenu` themselves. Consumers with no currently applicable+presentation choice must omit `viewOptions` rather than passing an empty+conditional wrapper that leaves a dead View trigger. Contextual frequent actions may use`leadingControls`, while table counters, active trend ranges, and otherpersistent orientation readouts may use `trailingControls`. Platform tablesinherit the same ownership through `PlatformTableToolbar`. Recovery is event-firstdiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 27da23a0d8..876104812a 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -313,7 +313,9 @@ preferences popover, matching the Proxmox workload surface, and must not leavethat segmented control permanently inline beside Status, Add filter, and Saved.Docker supplies only the layout preference content to `PlatformTableToolbar`;the shared toolbar owns the View trigger and popover so this consumer cannot-drift back to a page-local presentation control.+drift back to a page-local presentation control. Single-host inventory has no+alternative grouping layout, so Docker must omit `viewOptions` entirely in+that state rather than exposing a View trigger whose popover has no choices.The empty state for this route must preserve that runtime-lens contract:standalone Docker / Podman hosts use a local runtime agent, while Docker insideProxmox LXCs is represented as the explicitly opted-in Proxmox host-side guestdiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex eebd5659c9..49aabb4a4d 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,30 +1,17 @@{"version": 1,- "base_sha": "aac7acc6baf6d2f5544bbe2e682ad484631dd7b8",- "verified_at": "2026-08-03T17:57:38Z",+ "base_sha": "29b9b324d941638704da1ddcbeb731ac3f0f41b8",+ "verified_at": "2026-08-03T18:02:34Z","result": "passed",- "changed_paths": [- "frontend-modern/src/App.tsx",- "frontend-modern/src/features/docs/docMarkdown.ts",- "frontend-modern/src/pages/Docs.tsx",- "frontend-modern/src/utils/docsLinks.ts"- ],+ "changed_paths": ["frontend-modern/src/features/docker/DockerContainersTable.tsx"],"content_sha256": {- "frontend-modern/src/App.tsx": "5cc14f31f3c84a843210897de1c1bd5f43da2e03fdbcb2e9e72781dc28cfa810",- "frontend-modern/src/features/docs/docMarkdown.ts": "2336e751c306d53f4702240be077f4a102de8598a8bf7bd75f4054940dce4cf2",- "frontend-modern/src/pages/Docs.tsx": "367abd0b3fdd1f7f35359b0e2edad5b9e388835bc95d2059d14fdafa49c9e892",- "frontend-modern/src/utils/docsLinks.ts": "a05d17c158823d9c9db07ae92c2b1ef7c81150805e2aff64593f9e6aa712e26e"+ "frontend-modern/src/features/docker/DockerContainersTable.tsx": "c715f6918affd65f228c7bd7e6007b6ce2b62a7a89edf560a89ef831807a5d2b"},- "routes": [- "/docs/README",- "/docs/INSTALL",- "/docs/CONFIGURATION",- "/docs/ARCHITECTURE"- ],+ "routes": ["/docker/overview"],"viewports": [{"width": 1280,- "height": 900+ "height": 720},{"width": 390,@@ -32,21 +19,15 @@}],"states": [- "Desktop documentation index rendered from markdown with headings, lists, bold text and links instead of raw source",- "Desktop Installation Guide with nine fenced code blocks, two tables, blockquote and inline code all rendered",- "Desktop Configuration Guide with the full three-column table legible at 1280 pixels",- "Not-shipped document state for a path with no corresponding asset, showing an explanation and a route back to the index",- "Phone-width Configuration Guide with the wide table scrolling inside its own container and no page-level horizontal scroll",- "Phone-width document header with the back link above the rendered body"+ "Desktop Docker Overview with one runtime host and one container, where Saved and the row count remain in the toolbar without a dead View trigger",+ "Phone-width Docker Overview with the Filters body collapsed and no inapplicable presentation control",+ "Phone-width Docker Overview with the Filters body expanded, status choices visible, and Saved aligned with the container count"],"interactions": [- "Loaded /docs/README and confirmed 52 intra-documentation links were rewritten to viewer routes, including nested i18n/de/README",- "Clicked the Installation Guide link and confirmed it navigated in-app to /docs/INSTALL, rendered the document, updated the tab title and revealed the All documentation back link",- "Confirmed ../SECURITY.md clamps to /docs/SECURITY rather than dangling above the shipped docs root",- "Requested /docs/ARCHITECTURE, which is not shipped, and confirmed the not-shipped state rather than an indefinite loading state or index.html rendered as markdown",- "Measured document scroll width against client width at 390 pixels and confirmed no page-level horizontal scrolling, with the table and pre blocks each scrolling inside their own container",- "Confirmed inline code no longer renders the typography plugin's literal backticks, which read as unrendered markdown",- "Queried the rendered article for script tags and inline event handlers after rendering a document containing both and confirmed neither survived sanitisation",- "Read the browser console after exercising every route and confirmed no errors"+ "Reloaded the final Docker Overview build at 390 by 844 and confirmed the single-host inventory exposes no View button",+ "Expanded Filters at phone width and confirmed Saved remains available while View remains absent",+ "Measured the phone-width document at 390 client and scroll pixels and confirmed there is no page-level horizontal overflow",+ "Reloaded at 1280 by 720 and confirmed the toolbar closes the former View gap without clipping or misaligning Saved and the row count",+ "Confirmed the host and container tables remain readable and horizontally contained at both verified widths"]}diff --git a/frontend-modern/src/features/docker/DockerContainersTable.tsx b/frontend-modern/src/features/docker/DockerContainersTable.tsxindex 312413e5df..33409c7021 100644--- a/frontend-modern/src/features/docker/DockerContainersTable.tsx+++ b/frontend-modern/src/features/docker/DockerContainersTable.tsx@@ -726,7 +726,7 @@ export const DockerContainersTable: Component<DockerContainersTableProps> = (prohasActiveFilters={hasActiveFilters()}onResetFilters={resetFilters}viewOptions={- <Show when={isGroupable()}>+ isGroupable() ? (<div><div class="mb-1.5 text-[10px] font-semibold uppercase tracking-wide text-muted">Layout@@ -736,7 +736,7 @@ export const DockerContainersTable: Component<DockerContainersTableProps> = (proonChange={setGroupingModePreference}/></div>- </Show>+ ) : undefined}/></Show>diff --git a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsxindex 49a0dbce2b..28db48ab20 100644--- a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx+++ b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx@@ -447,6 +447,27 @@ describe('Docker native tables', () => {expect(container.querySelector('[data-docker-host-group]')).toBeNull();});+ it('omits the View menu when a single-host inventory has no layout choice', () => {+ renderInRouter(() => (+ <DockerContainersTable+ resources={[+ makeResource({+ id: 'container-1',+ type: 'app-container',+ name: 'edge-web',+ status: 'running',+ docker: { hostname: 'edge-01', image: 'nginx:latest', containerState: 'running' },+ }),+ ]}+ emptyIcon={<span />}+ emptyTitle="No containers"+ emptyDescription="No containers"+ />+ ));++ expect(screen.queryByRole('button', { name: 'View' })).not.toBeInTheDocument();+ });+it('honors a persisted flat preference for multi-host fleets', () => {window.localStorage.setItem('dockerContainersGroupingMode', 'flat');