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
Align container runtime navigation with platform scopes
rcourtman16205bdd4498
diff --git a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.mdindex 827ac9604b..996a40565f 100644--- a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md+++ b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md@@ -9,18 +9,20 @@ through platform-by-platform improvisation.## Canonical Rules-1. A first-class platform is a governed Pulse platform id with one declared- primary ingestion mode, one owned onboarding path, explicit canonical- resource projections, and one declared support matrix across the product- surfaces below.+1. A first-class platform or runtime lens is a governed Pulse platform id with+ one declared primary ingestion mode, one owned onboarding path, explicit+ canonical resource projections, and one declared support matrix across the+ product surfaces below.2. Platform families are grouping aids, not the support unit.`Proxmox` is a family; `proxmox-pve`, `proxmox-pbs`, and `proxmox-pmg` areseparate first-class platforms because they onboard differently, projectdifferent canonical resources, and carry different support floors.-3. Runtime variants are not top-level platforms.- `podman` is a runtime variant inside the first-class `docker` platform.- `qemu`, `lxc`, OCI guest/runtime details, and TrueNAS app-runtime internals- are workload technologies inside an owning platform, not new platforms.+3. Runtime variants are not owning infrastructure platforms.+ `docker` is retained as the canonical id for the Docker / Podman+ container-runtime lens, while `podman` is a runtime variant inside that+ lens. `qemu`, `lxc`, OCI guest/runtime details, and TrueNAS app-runtime+ internals are workload technologies inside an owning platform, not new+ platforms.4. Transport-specific implementations are not platforms.API clients, JSON-RPC sessions, pollers, agent heartbeat schemas, installflags, CRUD routes, and saved-connection tests are implementation details.@@ -39,13 +41,15 @@ through platform-by-platform improvisation.or appliance family, but it does not promote that family into`PLATFORM_TYPE_KEYS` or first-class platform status.9. Product navigation is support-and-evidence gated.- First-class platform navigation, command/search destinations, keyboard- shortcuts, landing fallbacks, and platform-section tabs must derive from- this support model plus current runtime resource or capability evidence.- Supported surfaces must appear when evidence proves the platform or- capability is present. Admitted-only, presentation-only, unsupported, or+ First-class platform and runtime-lens navigation, command/search+ destinations, keyboard shortcuts, landing fallbacks, and section tabs must+ derive from this support model plus current runtime resource or capability+ evidence. Supported surfaces must appear when evidence proves the platform+ or capability is present. Admitted-only, presentation-only, unsupported, orabsent capability surfaces must be hidden rather than kept as disabled- placeholders.+ placeholders. Runtime-lens membership must use canonical resource+ `platformScopes` when present rather than inferring ownership from incidental+ facets such as TrueNAS app containers that reuse Docker metadata.## Platform Categories@@ -62,6 +66,18 @@ A first-class platform must define:7. assistant read classification and assistant control classification8. optional augmentation rules, if a secondary path is allowed+### Runtime Lens++A runtime lens is a governed top-level product surface for workloads whose+runtime can appear inside multiple owning platforms. It has the same manifest+and support-floor obligations as a first-class platform, but it does not imply+exclusive infrastructure ownership.++The `docker` id is the canonical Docker / Podman container-runtime lens. The+authenticated shell may label that destination as `Containers` while shared+badges, filters, and runtime-specific management copy continue to use+`Docker / Podman` where that is the precise capability.+### Runtime VariantA runtime variant changes how a platform runs but does not change the owningdiff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex 28d7d69dc6..804e49c2ba 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -6934,7 +6934,7 @@},{"id": "platform-support-model-v1",- "summary": "Pulse v6 platform support is governed by one canonical model: owning platform surfaces declare primary ingestion, canonical resource projections, and support-floor surfaces; `docker` is a first-class container-runtime lens and workload surface rather than an exclusive owning platform; `kubernetes` remains a first-class orchestrator platform; runtime variants such as `podman` plus transport helpers are not top-level platforms.",+ "summary": "Pulse v6 platform support is governed by one canonical model: owning platform surfaces declare primary ingestion, canonical resource projections, and support-floor surfaces; `docker` is the canonical Docker / Podman container-runtime lens and workload surface rather than an exclusive owning platform, and the shell may label that destination as Containers while shared runtime badges and management copy keep Docker / Podman wording; `kubernetes` remains a first-class orchestrator platform; runtime variants such as `podman` plus transport helpers are not top-level platforms.","kind": "architecture","decided_at": "2026-03-30","subsystem_ids": [@@ -7192,7 +7192,7 @@},{"id": "platform-page-membership-overlap-v1",- "summary": "Pulse v6 primary IA remains platform-first rather than a generic mixed systems page: a single physical or agent-backed system may appear on multiple platform pages when it participates in multiple platform contracts, and each page must show only the workloads and native resources relevant to that platform. Workload platform membership is a canonical resource contract, not a page-local platformType guess: Docker/Podman containers reported from a Proxmox host or LXC may appear in both the Proxmox Workloads table and the container-runtime lens, while TrueNAS apps that expose Docker-compatible runtime metadata remain TrueNAS-owned and do not become Docker-managed action targets. Host identity stays separate from runtime membership, so an Unraid server that reports Docker containers can appear on the container-runtime page while still reading as an Unraid-profiled host rather than a generic Docker server.",+ "summary": "Pulse v6 primary IA remains platform-first rather than a generic mixed systems page, with a dedicated container-runtime lens for Docker / Podman workloads: a single physical or agent-backed system may appear on multiple platform or runtime pages when it participates in multiple contracts, and each page must show only the workloads and native resources relevant to that scope. Workload platform membership is a canonical resource contract, not a page-local platformType guess: Docker/Podman containers reported from a Proxmox host or LXC may appear in both the Proxmox Workloads table and the container-runtime lens, while TrueNAS apps that expose Docker-compatible runtime metadata remain TrueNAS-owned and do not become Docker-managed action targets. Host identity stays separate from runtime membership, so an Unraid server that reports Docker containers can appear on the container-runtime page while still reading as an Unraid-profiled host rather than a generic Docker server.","kind": "architecture","decided_at": "2026-05-17","subsystem_ids": [diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex bf4edcf5b5..10dde99c7e 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -116,7 +116,7 @@ runtime cost control, and shared AI transport surfaces.prioritization, remediation reasoning, and tool choice. Public copy must notpresent Pulse code as the intelligence engine, a prompt-keyword router, alearned operational-meaning engine, or a deterministic finding author.-10. Platform-first top-level pages registered in+10. Platform/runtime top-level pages registered in`frontend-modern/src/App.tsx` and the platform tab list in`frontend-modern/src/AppLayout.tsx` must keep the AI launcher chromeintact: they extend `aiChatStore`-aware route shells rather than mounting@@ -639,13 +639,14 @@ runtime cost control, and shared AI transport surfaces.## Current State-Primary nav moved to platform-first on 2026-05-16 through+Primary nav moved to governed platform/runtime destinations on 2026-05-16 through`frontend-modern/src/App.tsx` and `frontend-modern/src/AppLayout.tsx`: the top-of the app may expose canonical platform pages (Proxmox, Docker, Kubernetes,-TrueNAS, vSphere) plus Alerts, Patrol, and Settings, but platform destinations-must pass the shared support-and-resource-evidence gate before they appear in-navigation, command palette entries, keyboard shortcuts, or landing-fallbacks. Admitted-only or absent platform surfaces must stay hidden from the+of the app may expose canonical platform pages (Proxmox, Kubernetes, TrueNAS,+vSphere) plus the container-runtime lens (shown as Containers for Docker /+Podman), Alerts, Patrol, and Settings, but those destinations must pass the+shared support-and-resource-evidence gate before they appear in navigation,+command palette entries, keyboard shortcuts, or landing fallbacks.+Admitted-only or absent platform/runtime surfaces must stay hidden from theAI-adjacent shell and must not be kept as disabled placeholders. The legacy`/infrastructure`, `/workloads`, `/storage`, `/recovery`, and `/ceph` routeshells were retired alongside their page wrappers. The AI Chat launcher, thediff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 2141c2b921..89c572f628 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -485,12 +485,13 @@ or other self-hosted uncapped continuity plans.`PULSE_EMAIL_REPLY_TO`, defaulting to `[email protected]`, so magiclinks, checkout handoffs, and other hosted-account messages remaindirectly replyable by customers.- `App.tsx` and `AppLayout.tsx` own the platform-first primary navigation.- `App.tsx` registers one top-level route per supported platform family- (Proxmox, Docker, Kubernetes, TrueNAS, vSphere) using the canonical path- constants from `frontend-modern/src/routing/resourceLinks.ts`. The- `PlatformTab` list in `AppLayout.tsx` must enumerate exactly those- supported families, but product navigation is support-and-evidence gated:+ `App.tsx` and `AppLayout.tsx` own the governed platform/runtime primary+ navigation. `App.tsx` registers one top-level route per supported platform+ or runtime family (Proxmox, the Docker / Podman container-runtime lens,+ Kubernetes, TrueNAS, vSphere) using the canonical path constants from+ `frontend-modern/src/routing/resourceLinks.ts`. The `PlatformTab` list in+ `AppLayout.tsx` must enumerate exactly those supported destinations, but+ product navigation is support-and-evidence gated:`enabled`, `live`, and inclusion in the rendered primary navigation derivefrom the governed support manifest plus canonical resource evidence in`state.resources`. Admitted-only, presentation-only, unsupported, or@@ -652,7 +653,10 @@ routes (`/pricing`, `/preview/setup-complete`, `/login`, settings panelsunder `/settings/...`) are unchanged. Pricing-handoff and hosted-signupupgrade paths must use platform routes as their canonical "back to product"destination instead of the retired top-level Infrastructure / Workloads /-Storage / Recovery pages.+Storage / Recovery pages. The Docker / Podman runtime route remains `/docker`+for compatibility and search familiarity, but the shell may label the+destination as Containers so it reads as a runtime lens rather than an owning+infrastructure platform.The Proxmox platform tab in the authenticated app shell is ordinary productnavigation. It must stay separate from hosted acquisition, monitored-systemdiff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex f040e5f563..fc1adcff02 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -745,6 +745,10 @@ AI runtime.runtime lens and its owning platform page, such as Proxmox when the runtimeis detected inside a PVE LXC, while TrueNAS app containers stay scoped toTrueNAS even when their runtime metadata uses the shared Docker facet.+ Primary navigation uses that same membership model: the `/docker` route is+ the container-runtime lens and may be labelled `Containers` in the shell,+ while shared source badges, filters, and runtime management copy continue+ to use `Docker / Podman` where the capability itself is being named.8. Keep shared source/platform vocabulary on the governed manifest boundary. `frontend-modern/src/utils/platformSupportManifest.generated.ts` must be the tracked frontend projection of `docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json`, `frontend-modern/src/utils/platformSupportManifest.ts`, `frontend-modern/src/utils/sourcePlatforms.ts`, and `frontend-modern/src/utils/sourcePlatformOptions.ts` must consume that generated projection instead of embedding divergent future-label lists, setup/onboarding path allowlists, host-profile labels, or presentation-only guesses, and `frontend-modern/scripts/canonical-platform-audit.mjs` must fail when the generated projection drifts from the governed manifest. The generic `docker` source-platform label is "Docker / Podman" in shared selectors, badges, and filter options so v5 Docker users can find the runtime surface while Podman-backed rows are not mislabeled as Docker-only; "Container runtime" remains the governed platform family, not the primary customer-facing label. Identity colour is semantic, not page-local decoration: shared source/platform badges, host identity badges, and container runtime badges must use the shared presentation helpers so Docker remains on the Docker/Podman blue runtime tone, Podman uses its distinct runtime tone, Proxmox PVE remains orange, and those meanings do not drift across table rows, filters, drawers, or platform pages. Agent host-profile entries, including Unraid, stay in the generated `agentHostProfiles` projection and shared wrapper helpers; frontend primitives may render those labels for Pulse Agent install/identity copy but must not add them to the first-class platform union.The generated host-profile projection also carries runtime platform fallbackmetadata for shared explanation and parity with backend normalization, butdiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 59442359dd..2d67c54068 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -118,13 +118,14 @@ cross-source deduplication.## Shared Boundaries-Docker platform navigation is a unified-resource consumer boundary: Docker-subtabs may be shown only from canonical resource evidence (`app-container` for-containers, `docker-service` for Swarm services), and inactive standalone-Swarm metadata must not be interpreted as host-role or service-surface proof.-The unified-resource adapter is the backend fail-closed layer for that rule, so-persisted or older-agent inactive Swarm payloads cannot reintroduce false-Swarm capability surfaces.+Container runtime navigation is a unified-resource consumer boundary: the+`/docker` route is the Docker / Podman runtime lens, not an exclusive owning+platform. Its subtabs may be shown only from canonical resource evidence+(`app-container` for containers, `docker-service` for Swarm services), and+inactive standalone Swarm metadata must not be interpreted as host-role or+service-surface proof. The unified-resource adapter is the backend fail-closed+layer for that rule, so persisted or older-agent inactive Swarm payloads cannot+reintroduce false Swarm capability surfaces.1. `frontend-modern/src/components/Infrastructure/infrastructureSelectors.ts` shared with `performance-and-scalability`: the infrastructure selector pipeline is both a canonical unified-resource consumer surface and a fleet-scale performance hot-path boundary.2. `frontend-modern/src/components/Infrastructure/InfrastructureSummary.tsx` shared with `performance-and-scalability`: the infrastructure summary surface is both a canonical unified-resource consumer and a fleet-scale summary chart hot-path boundary.@@ -466,7 +467,7 @@ AI-only summary payloads, or page-local heuristics.another shared surface needs to explain how the same governed policy countsshould be read, but those framing lines must extend the shared card APIrather than spawning page-local policy summary shells.-16. Keep platform-first top-level route paths on the canonical resource-link+16. Keep platform/runtime top-level route paths on the canonical resource-linkhelper. `frontend-modern/src/routing/resourceLinks.ts` owns the`DOCKER_PATH`, `KUBERNETES_PATH`, `TRUENAS_PATH`, `VMWARE_PATH` constantsand the `buildDockerPath`, `buildKubernetesPath`, `buildTrueNASPath`,diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsxindex 45d30ec13a..cbe5e0ab48 100644--- a/frontend-modern/src/AppLayout.tsx+++ b/frontend-modern/src/AppLayout.tsx@@ -204,7 +204,7 @@ export function AppLayout(props: AppLayoutProps) {// as the bare app name.const tabTitleByActive: Record<NonNullable<ReturnType<typeof getActiveTabForPath>>, string> = {proxmox: 'Proxmox',- docker: 'Docker',+ docker: 'Containers',kubernetes: 'Kubernetes',truenas: 'TrueNAS',vmware: 'vSphere',@@ -315,9 +315,9 @@ export function AppLayout(props: AppLayoutProps) {const getActiveTabDesktop = () => getActiveTabForPath(location.pathname);const getActiveTabMobile = () => getActiveTabForPath(location.pathname);- // Primary nav is platform-first and resource-admitted. A platform tab only- // appears when the support manifest says the platform is supported and the- // current resource snapshot proves that platform is actually present.+ // Primary nav is resource-admitted. A platform or runtime lens only appears+ // when the support manifest says the surface is supported and the current+ // resource snapshot proves that surface is actually present.// Infrastructure / Workloads / Storage / Recovery are NOT duplicated as// equal primary tabs — their tables are reused inside each platform page// via embedded tableOnly surfaces, and their routes remain wired in App.tsx@@ -340,10 +340,10 @@ export function AppLayout(props: AppLayoutProps) {},{id: 'docker',- label: 'Docker',+ label: 'Containers',route: ROOT_DOCKER_PATH,settingsRoute: '/settings/workloads/docker',- tooltip: 'Docker and Podman hosts, containers, and Swarm services',+ tooltip: 'Docker / Podman runtime lens: hosts, containers, and Swarm services',enabled: isVisible('docker'),live: isVisible('docker'),icon: ContainerIcon,diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex 4a0aaccf32..0f156dbe52 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -71,13 +71,17 @@ describe('App architecture', () => {expect(appLayoutSource).toContain("id: 'kubernetes',");expect(appLayoutSource).toContain("id: 'truenas',");expect(appLayoutSource).toContain("id: 'vmware',");- // Platform-first primary nav: Infrastructure / Workloads / Storage /- // Recovery are not duplicated as equal primary PlatformTab entries.+ // Governed platform/runtime primary nav: Infrastructure / Workloads /+ // Storage / Recovery are not duplicated as equal primary PlatformTab+ // entries, and the Docker / Podman route is presented as the Containers+ // runtime lens in shell chrome.expect(appSource).toContain('getDefaultWorkspaceRoute');expect(appSource).toContain('platformNavigationResolved');expect(appSource).toContain('buildPrimaryPlatformNavigationVisibility');expect(appLayoutSource).toContain('buildPrimaryPlatformNavigationVisibility');expect(appLayoutSource).toContain('primaryPlatformNavigationIsVisible');+ expect(appLayoutSource).toContain("label: 'Containers'");+ expect(appLayoutSource).toContain("'Docker / Podman runtime lens");expect(appLayoutSource).not.toContain("id: 'infrastructure',");expect(appLayoutSource).not.toContain("id: 'workloads',");expect(appLayoutSource).not.toContain('buildStorageRecoveryTabSpecs(');diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsxindex 43cf8c3916..0deb1a00c2 100644--- a/frontend-modern/src/__tests__/AppLayout.test.tsx+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx@@ -115,7 +115,7 @@ describe('AppLayout navigation icons', () => {expect(container).toHaveTextContent('Infrastructure body');});- it('shows platform tabs with supported infrastructure evidence', () => {+ it('shows platform and runtime lens tabs with supported infrastructure evidence', () => {renderLayout([makeResource({ id: 'pve-1', type: 'agent', platformType: 'proxmox-pve' }),makeResource({ id: 'docker-1', type: 'docker-host', platformType: 'docker' }),@@ -130,7 +130,7 @@ describe('AppLayout navigation icons', () => {within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Proxmox' }),).toBeTruthy();expect(- within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Docker' }),+ within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Containers' }),).toBeTruthy();expect(within(infrastructureGroup as HTMLElement).queryByRole('tab', { name: 'Kubernetes' }),diff --git a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsxindex 13aeeec797..f7eb6a1088 100644--- a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx+++ b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx@@ -20,7 +20,7 @@ const UNIFIED_NAV_SHORTCUTS: ShortcutGroup = {title: 'Navigation',items: [{ keys: 'g then p', description: 'Go to Proxmox' },- { keys: 'g then d', description: 'Go to Docker' },+ { keys: 'g then d', description: 'Go to Containers' },{ keys: 'g then k', description: 'Go to Kubernetes' },{ keys: 'g then n', description: 'Go to TrueNAS' },{ keys: 'g then v', description: 'Go to vSphere' },diff --git a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsxindex 2aba3a4526..6070622c02 100644--- a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx@@ -37,6 +37,7 @@ const makeResource = (overrides: Partial<Resource>): Resource =>const platformVisibility = () =>buildPrimaryPlatformNavigationVisibility([makeResource({ id: 'pve-1', type: 'agent', platformType: 'proxmox-pve' }),+ makeResource({ id: 'docker-1', type: 'docker-host', platformType: 'docker' }),makeResource({ id: 'k8s-1', type: 'k8s-cluster', platformType: 'kubernetes' }),]);@@ -79,7 +80,7 @@ describe('CommandPaletteModal', () => {expect(commandPaletteModelSource).not.toContain("id: 'nav-recovery'");});- it('renders the platform entries and the dedicated Kubernetes pods command', () => {+ it('renders the platform entries, container runtime lens, and dedicated Kubernetes pods command', () => {render(() => (<CommandPaletteModalisOpen={true}@@ -89,6 +90,7 @@ describe('CommandPaletteModal', () => {));expect(screen.getByText('Go to Proxmox')).toBeInTheDocument();+ expect(screen.getByText('Go to Containers')).toBeInTheDocument();expect(screen.getByText('Go to Kubernetes Pods')).toBeInTheDocument();expect(screen.getByText('/kubernetes/pods')).toBeInTheDocument();});@@ -135,14 +137,13 @@ describe('CommandPaletteModal', () => {platformVisibility={() =>buildPrimaryPlatformNavigationVisibility([makeResource({ id: 'pve-1', type: 'agent', platformType: 'proxmox-pve' }),- makeResource({ id: 'vmware-1', type: 'vm', platformType: 'vmware-vsphere' }),])}/>));expect(screen.getByText('Go to Proxmox')).toBeInTheDocument();- expect(screen.queryByText('Go to Docker')).not.toBeInTheDocument();+ expect(screen.queryByText('Go to Containers')).not.toBeInTheDocument();expect(screen.queryByText('Go to Kubernetes')).not.toBeInTheDocument();expect(screen.queryByText('Go to TrueNAS')).not.toBeInTheDocument();expect(screen.queryByText('Go to vSphere')).not.toBeInTheDocument();diff --git a/frontend-modern/src/components/shared/commandPaletteModel.ts b/frontend-modern/src/components/shared/commandPaletteModel.tsindex b04f3282c1..af70d96bc6 100644--- a/frontend-modern/src/components/shared/commandPaletteModel.ts+++ b/frontend-modern/src/components/shared/commandPaletteModel.ts@@ -48,7 +48,7 @@ export function buildCommandPaletteCommands(options: {if (primaryPlatformNavigationIsVisible(options.platformVisibility, 'docker')) {commands.push({id: 'nav-docker',- label: 'Go to Docker',+ label: 'Go to Containers',description: options.paths.dockerPath,shortcut: 'g d',keywords: ['docker', 'podman', 'containers', 'compose', 'swarm', 'services'],diff --git a/frontend-modern/src/features/docker/DockerPageSurface.tsx b/frontend-modern/src/features/docker/DockerPageSurface.tsxindex b8f229202d..0b544a57df 100644--- a/frontend-modern/src/features/docker/DockerPageSurface.tsx+++ b/frontend-modern/src/features/docker/DockerPageSurface.tsx@@ -93,13 +93,17 @@ export function DockerPageSurface() {return (<div data-testid="docker-page" class="space-y-3">- <PlatformSectionTabs tabs={DOCKER_TAB_SPECS} active="overview" ariaLabel="Docker sections" />+ <PlatformSectionTabs+ tabs={DOCKER_TAB_SPECS}+ active="overview"+ ariaLabel="Container runtime sections"+ /><Showwhen={!loading() || model().resources.length > 0}fallback={<PlatformTableLoadingState- title="Loading Docker resources"+ title="Loading container runtime resources"description="Pulse is loading the Docker / Podman resource snapshot."/>}@@ -108,7 +112,7 @@ export function DockerPageSurface() {when={!error()}fallback={<PlatformErrorState- title="Could not load Docker resources"+ title="Could not load container runtime resources"description="Refresh the resource snapshot or check the API connection state."onRefresh={() => void refetch()}/>@@ -120,7 +124,7 @@ export function DockerPageSurface() {<PlatformTableEmptyStateicon={dockerIcon()}title="No Docker or Podman hosts"- description="Install the Pulse agent on a Docker or Podman host to populate this platform page."+ description="Install the Pulse agent on a Docker or Podman host to populate this runtime lens."/>}>@@ -140,7 +144,7 @@ export function DockerPageSurface() {setSortKey={workloadsState.setSortKey}setSortDirection={workloadsState.setSortDirection}onBeforeAutoFocus={workloadsState.handleBeforeAutoFocus}- ariaLabel="Docker workload filters"+ ariaLabel="Container runtime workload filters"searchPlaceholder="Search containers by name, image, host, or runtime"searchEmptyMessage="Recent Docker container searches appear here."statusOptions={DOCKER_WORKLOAD_STATUS_OPTIONS}diff --git a/frontend-modern/src/features/platformNavigation/__tests__/platformNavigationModel.test.ts b/frontend-modern/src/features/platformNavigation/__tests__/platformNavigationModel.test.tsindex a64bbe2664..7ffc765619 100644--- a/frontend-modern/src/features/platformNavigation/__tests__/platformNavigationModel.test.ts+++ b/frontend-modern/src/features/platformNavigation/__tests__/platformNavigationModel.test.ts@@ -63,6 +63,60 @@ describe('platformNavigationModel', () => {).toBe(true);});+ it('uses canonical platform scopes before incidental runtime facets', () => {+ expect(+ collectResourcePlatformEvidence(+ resource({+ id: 'truenas-app-nextcloud',+ type: 'app-container',+ platformType: 'truenas',+ platformScopes: ['truenas'],+ docker: {+ runtime: 'docker',+ },+ }),+ ),+ ).toEqual(['truenas']);++ expect(+ buildPrimaryPlatformNavigationVisibility([+ resource({+ id: 'truenas-app-nextcloud',+ type: 'app-container',+ platformType: 'truenas',+ platformScopes: ['truenas'],+ docker: {+ runtime: 'docker',+ },+ }),+ ]),+ ).toEqual({+ proxmox: false,+ docker: false,+ kubernetes: false,+ truenas: true,+ vmware: false,+ });++ expect(+ buildPrimaryPlatformNavigationVisibility([+ resource({+ id: 'docker-container-frigate-141',+ type: 'app-container',+ platformType: 'docker',+ platformScopes: ['proxmox-pve', 'docker'],+ docker: {+ runtime: 'docker',+ hostSourceId: 'proxmox-lxc-docker:pve-a:node-a:141',+ },+ }),+ ]),+ ).toMatchObject({+ proxmox: true,+ docker: true,+ });+ });+it('selects the first visible platform using the canonical primary navigation order', () => {expect(selectFirstVisiblePrimaryPlatformNavigationId({diff --git a/frontend-modern/src/features/platformNavigation/platformNavigationModel.ts b/frontend-modern/src/features/platformNavigation/platformNavigationModel.tsindex a7959757e2..38fe1e2b0a 100644--- a/frontend-modern/src/features/platformNavigation/platformNavigationModel.ts+++ b/frontend-modern/src/features/platformNavigation/platformNavigationModel.ts@@ -61,13 +61,38 @@ const addPlatformDataSources = (ids: Set<string>, platformData: Record<string, u});};+const addPlatformScopeEvidence = (+ ids: Set<string>,+ values: unknown,+): void => {+ if (!Array.isArray(values)) return;+ values.forEach((value) => {+ if (typeof value === 'string') addManifestPlatformId(ids, value);+ });+};++const collectExplicitPlatformScopeEvidence = (+ resource: Resource,+ platformData: Record<string, unknown> | null,+): string[] => {+ const ids = new Set<string>();+ addPlatformScopeEvidence(ids, resource.platformScopes);+ addPlatformScopeEvidence(ids, platformData?.platformScopes);+ return [...ids];+};+export function collectResourcePlatformEvidence(resource: Resource): string[] {+ const platformData = asRecord(resource.platformData);+ const platformScopeIds = collectExplicitPlatformScopeEvidence(resource, platformData);+ if (platformScopeIds.length > 0) {+ return platformScopeIds;+ }+const ids = new Set<string>();addManifestPlatformId(ids, resource.platformType);addManifestPlatformId(ids, resolveResourcePlatformType(resource));resource.sources?.forEach((source) => addManifestPlatformId(ids, source));- const platformData = asRecord(resource.platformData);addPlatformDataSources(ids, platformData);if (resource.type === 'pbs' || resource.pbs || asRecord(platformData?.pbs)) {diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.tsindex 9c6f0ce7e0..9f21de1d1d 100644--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts@@ -42,7 +42,7 @@ describe('resource link routing contract', () => {expect(buildProxmoxPath('')).toBe('/proxmox');});- it('builds canonical Docker, Kubernetes, TrueNAS, and vSphere platform tab paths', () => {+ it('builds canonical container runtime, Kubernetes, TrueNAS, and vSphere tab paths', () => {expect(DOCKER_PATH).toBe('/docker');expect(buildDockerPath()).toBe('/docker/overview');expect(buildDockerPath('containers')).toBe('/docker/containers');