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
Keep Home investigation links scoped
pulse-triage[bot]412c75bd1b15
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex b3b465376c..b963b13c73 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,16 +1,22 @@{"version": 1,- "base_sha": "57598cbf3ef8eae78cb7a1c71631d0bf04a130f9",- "verified_at": "2026-08-31T21:19:58Z",+ "base_sha": "f12c4007ab3082bed1211b1744d0b1fec284a635",+ "verified_at": "2026-09-01T02:51:11Z","result": "passed","changed_paths": [- "frontend-modern/src/components/AI/FindingsPanel.tsx"+ "frontend-modern/src/AppLayout.tsx",+ "frontend-modern/src/components/shared/MobileNavBar.tsx",+ "frontend-modern/src/features/home/homePageModel.ts",+ "frontend-modern/src/routing/resourceLinks.ts"],"content_sha256": {- "frontend-modern/src/components/AI/FindingsPanel.tsx": "18c7fbdd3a27b634675cfc039f7bfaec43015f5d8ec9d6a15d92ad1f93d4a5f7"+ "frontend-modern/src/AppLayout.tsx": "2d54ea2114174d1a08ca6fdbfb7063d321ebcca87cfc402e7ce923e1a499ed15",+ "frontend-modern/src/components/shared/MobileNavBar.tsx": "a327ba73d7f25d8c557242b946a8bc390355a894fc7de284dcca90c6af562fca",+ "frontend-modern/src/features/home/homePageModel.ts": "752b80838cf993855c7e236bdea804ecbffcaab3b70a1bf2ff5bfbbd86be38fb",+ "frontend-modern/src/routing/resourceLinks.ts": "802a806a933f38a4dd57d766319c79d1507eed9e1f4c33b294e8e8ebfca97b4c"},"routes": [- "/patrol"+ "/home"],"viewports": [{@@ -23,15 +29,16 @@}],"states": [- "active Patrol finding options collapsed with aria-expanded false",- "active Patrol finding outcome review expanded with Resolve or dismiss controls visible",- "same finding options collapsed again with its review panel removed",- "desktop and narrow layouts remained readable and fit without horizontal overflow"+ "mixed critical, attention, stale, powered-off, and healthy fleet state",+ "healthy resource group expanded from its disclosure limit",+ "last loaded fleet retained after a refresh returned an error",+ "Docker container and standalone agent tiles targeted scoped investigation views",+ "desktop and mobile navigation count badges met the WCAG color-contrast scan"],"interactions": [- "opened and closed one finding options disclosure by pointer at desktop width",- "opened the same disclosure with keyboard Enter and closed it with Space at narrow width",- "verified the visible Finding options label is included in the accessible name",- "verified aria-expanded and aria-controls matched the rendered disclosure state"+ "expanded the healthy resource disclosure by pointer",+ "triggered a resource refresh failure and verified the cached-state warning",+ "verified WCAG A and AA scans, reduced motion, and no horizontal overflow",+ "verified scoped resource link hrefs at desktop width"]}diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsxindex dc90d45560..335fcdb867 100644--- a/frontend-modern/src/AppLayout.tsx+++ b/frontend-modern/src/AppLayout.tsx@@ -959,7 +959,7 @@ export function AppLayout(props: AppLayoutProps) {</span>)}{tab.breakdown && tab.breakdown.warning > 0 && (- <span class="inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold text-amber-900 dark:text-amber-100 bg-amber-200 dark:bg-amber-500 rounded-full">+ <span class="inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold text-amber-900/100 dark:text-amber-950/100 bg-amber-200 dark:bg-amber-500 rounded-full">{tab.breakdown.warning}</span>)}@@ -967,7 +967,7 @@ export function AppLayout(props: AppLayoutProps) {);}return (- <span class="inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold text-amber-900 dark:text-amber-100 bg-amber-200 dark:bg-amber-500 rounded-full">+ <span class="inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold text-amber-900/100 dark:text-amber-950/100 bg-amber-200 dark:bg-amber-500 rounded-full">{total}</span>);diff --git a/frontend-modern/src/components/shared/MobileNavBar.tsx b/frontend-modern/src/components/shared/MobileNavBar.tsxindex 923afc8a21..13a96b861c 100644--- a/frontend-modern/src/components/shared/MobileNavBar.tsx+++ b/frontend-modern/src/components/shared/MobileNavBar.tsx@@ -55,7 +55,7 @@ function MobileNavDestinationContent(props: {</span></Show><Show when={badges().warning > 0}>- <span class="inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-amber-200 px-1 text-[10px] font-semibold text-amber-900">+ <span class="inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-amber-200 px-1 text-[10px] font-semibold text-amber-900/100">{badges().warning}</span></Show>@@ -66,7 +66,7 @@ function MobileNavDestinationContent(props: {{(count) => (<spanaria-hidden="true"- class="absolute -right-2 -top-1 inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-amber-200 px-1 text-[10px] font-semibold text-amber-900"+ class="absolute -right-2 -top-1 inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-amber-200 px-1 text-[10px] font-semibold text-amber-900/100">{count()}</span>diff --git a/frontend-modern/src/features/home/__tests__/homePageModel.test.ts b/frontend-modern/src/features/home/__tests__/homePageModel.test.tsindex 70ebc9259d..ceba13235f 100644--- a/frontend-modern/src/features/home/__tests__/homePageModel.test.ts+++ b/frontend-modern/src/features/home/__tests__/homePageModel.test.ts@@ -90,11 +90,55 @@ describe('homePageModel', () => {it('links workloads to valid existing platform surfaces', () => {expect(getHomeResourceHref(resource('pve-vm', 'ok'))).toBe('/proxmox/overview?resource=pve-vm');- expect(getHomeResourceHref(resource('docker-container', 'ok', 'docker'))).toBe(- '/docker/overview',- );+ expect(+ getHomeResourceHref({+ ...resource('docker-container', 'ok', 'docker'),+ type: 'app-container',+ }),+ ).toBe('/docker/overview?q=docker-container');expect(getHomeResourceHref(resource('vsphere-vm', 'ok', 'vmware-vsphere'))).toBe('/vmware/overview?resource=vsphere-vm',);});++ it('keeps Home investigation links scoped to the resource workflow', () => {+ expect(+ getHomeResourceHref({+ ...resource('docker-container:api', 'attention', 'docker'),+ type: 'app-container',+ docker: { hostname: 'edge host' },+ }),+ ).toBe('/docker/overview?host=edge+host&q=docker-container%3Aapi');++ expect(+ getHomeResourceHref({+ ...resource('k8s:pod:api', 'critical', 'kubernetes'),+ type: 'pod',+ kubernetes: { clusterId: 'cluster-1', namespace: 'payments' },+ }),+ ).toBe('/kubernetes/workloads?cluster=cluster-1&namespace=payments&q=k8s%3Apod%3Aapi');++ expect(+ getHomeResourceHref({+ ...resource('truenas-disk', 'stale', 'truenas'),+ type: 'physical_disk',+ }),+ ).toBe('/truenas/storage');++ expect(+ getHomeResourceHref({+ ...resource('k8s:service:api', 'ok', 'generic'),+ type: 'k8s-service',+ sources: [],+ }),+ ).toBe('/kubernetes/services?q=k8s%3Aservice%3Aapi');++ expect(+ getHomeResourceHref({+ ...resource('machine:edge', 'ok', 'agent'),+ type: 'agent',+ sources: [],+ }),+ ).toBe('/standalone/machines?q=machine%3Aedge');+ });});diff --git a/frontend-modern/src/features/home/homePageModel.ts b/frontend-modern/src/features/home/homePageModel.tsindex 4030531015..04b14e0f0b 100644--- a/frontend-modern/src/features/home/homePageModel.ts+++ b/frontend-modern/src/features/home/homePageModel.ts@@ -8,9 +8,12 @@ import {import type { StatusIndicatorVariant } from '@/utils/status';import {buildDockerPath,+ buildDockerRouteSearch,buildKubernetesPath,+ buildKubernetesRouteSearch,buildProxmoxPath,buildStandalonePath,+ buildStandaloneRouteSearch,buildStorageRouteSearch,buildTrueNASPath,buildVmwarePath,@@ -62,14 +65,70 @@ const VERDICT_RANK: Record<ResourceHealthVerdict, number> = {ok: 0,};-const KUBERNETES_WORKLOAD_TYPES = new Set([- 'k8s-deployment',- 'k8s-replicaset',- 'k8s-statefulset',- 'k8s-daemonset',- 'k8s-job',- 'k8s-cronjob',-]);+const DOCKER_TAB_BY_TYPE: Readonly<Record<string, string>> = {+ 'docker-image': 'images',+ 'docker-volume': 'storage',+ 'docker-network': 'networks',+ 'docker-service': 'swarm',+ 'docker-task': 'swarm',+ 'docker-swarm-node': 'swarm',+ 'docker-secret': 'swarm',+ 'docker-config': 'swarm',+};++const KUBERNETES_TAB_BY_TYPE: Readonly<Record<string, string>> = {+ 'k8s-node': 'nodes',+ pod: 'workloads',+ 'k8s-deployment': 'workloads',+ 'k8s-replicaset': 'workloads',+ 'k8s-statefulset': 'workloads',+ 'k8s-daemonset': 'workloads',+ 'k8s-job': 'workloads',+ 'k8s-cronjob': 'workloads',+ 'k8s-horizontal-pod-autoscaler': 'workloads',+ 'k8s-service': 'services',+ 'k8s-ingress': 'services',+ 'k8s-endpoint-slice': 'services',+ 'k8s-persistent-volume': 'storage',+ 'k8s-persistent-volume-claim': 'storage',+ 'k8s-storage-class': 'storage',+ 'k8s-namespace': 'configuration',+ 'k8s-configmap': 'configuration',+ 'k8s-secret': 'configuration',+ 'k8s-serviceaccount': 'configuration',+ 'k8s-role': 'configuration',+ 'k8s-cluster-role': 'configuration',+ 'k8s-role-binding': 'configuration',+ 'k8s-cluster-role-binding': 'configuration',+ 'k8s-resource-quota': 'configuration',+ 'k8s-limit-range': 'configuration',+ 'k8s-network-policy': 'configuration',+ 'k8s-pod-disruption-budget': 'configuration',+ 'k8s-event': 'events',+};++const TRUENAS_TAB_BY_TYPE: Readonly<Record<string, string>> = {+ storage: 'storage',+ pool: 'storage',+ dataset: 'storage',+ physical_disk: 'storage',+ 'app-container': 'apps',+ vm: 'vms',+ 'network-share': 'shares',+};++const getKubernetesRouteSearch = (resource: Resource): string =>+ buildKubernetesRouteSearch({+ cluster: resource.kubernetes?.clusterId ?? resource.kubernetes?.clusterName,+ namespace: resource.kubernetes?.namespace,+ query: resource.id,+ });++const getDockerRouteSearch = (resource: Resource, includeQuery: boolean): string =>+ buildDockerRouteSearch({+ host: resource.docker?.hostname,+ query: includeQuery ? resource.id : undefined,+ });export function getHomeVerdictTone(verdict: ResourceHealthVerdict): StatusIndicatorVariant {switch (verdict) {@@ -94,12 +153,19 @@ export function getHomePlatformKey(resource: Resource): HomePlatformKey {return 'proxmox';if (platform.includes('docker') || platform.includes('podman') || sources.includes('docker'))return 'docker';- if (platform.includes('kubernetes') || sources.includes('kubernetes')) return 'kubernetes';+ if (+ platform.includes('kubernetes') ||+ sources.includes('kubernetes') ||+ resource.type === 'pod' ||+ resource.type.startsWith('k8s-')+ )+ return 'kubernetes';if (platform.includes('truenas') || sources.includes('truenas')) return 'truenas';if (platform.includes('vmware') || platform.includes('vsphere') || sources.includes('vmware'))return 'vmware';if (platform.includes('standalone') ||+ platform === 'agent' ||platform.includes('availability') ||sources.includes('agent') ||sources.includes('availability')@@ -129,21 +195,33 @@ export function getHomeResourceHref(resource: Resource): string {}};- if (isWorkload(resource) || KUBERNETES_WORKLOAD_TYPES.has(resource.type)) {+ if (platform === 'docker') {+ const tab = DOCKER_TAB_BY_TYPE[resource.type] ?? 'overview';+ const isOverviewResource = tab === 'overview';+ const search = isOverviewResource+ ? getDockerRouteSearch(resource, resource.type === 'app-container')+ : '';+ return `${buildDockerPath(tab)}${search}`;+ }++ if (platform === 'kubernetes') {+ const tab = KUBERNETES_TAB_BY_TYPE[resource.type] ?? 'overview';+ return `${buildKubernetesPath(tab)}${getKubernetesRouteSearch(resource)}`;+ }++ if (platform === 'truenas') {+ return buildTrueNASPath(TRUENAS_TAB_BY_TYPE[resource.type] ?? 'overview');+ }++ if (isWorkload(resource)) {const search = buildWorkloadsRouteSearch({ resource: resource.id });switch (platform) {case 'proxmox':return `${buildProxmoxPath('overview')}${search}`;- case 'kubernetes':- return `${buildKubernetesPath('workloads')}${search}`;- case 'truenas':- return buildTrueNASPath(resource.type === 'vm' ? 'vms' : 'apps');case 'vmware':return `${buildVmwarePath('overview')}${search}`;case 'standalone':- return `${buildStandalonePath('machines')}${search}`;- case 'docker':- return buildDockerPath('overview');+ return `${buildStandalonePath('machines')}${buildStandaloneRouteSearch({ query: resource.id })}`;default:return '/alerts/overview';}@@ -156,6 +234,9 @@ export function getHomeResourceHref(resource: Resource): string {if (resource.type === 'network-endpoint') {return buildStandalonePath('availability');}+ if (platform === 'standalone') {+ return `${buildStandalonePath('machines')}${buildStandaloneRouteSearch({ query: resource.id })}`;+ }return buildPlatformPath();}diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.tsindex a79c26e118..163c61d104 100644--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts@@ -50,6 +50,8 @@ import {buildPatrolOperationsLoopPath,buildDockerPath,buildDockerRouteSearch,+ buildKubernetesRouteSearch,+ buildStandaloneRouteSearch,buildKubernetesPath,buildRecoveryRouteSearch,buildProxmoxPath,@@ -190,6 +192,7 @@ describe('resource link routing contract', () => {expect(STANDALONE_QUERY_PARAMS).toEqual({ query: 'q', status: 'status', view: 'view' });expect(buildStandalonePath()).toBe('/standalone/machines');expect(buildStandalonePath('')).toBe('/standalone');+ expect(buildStandaloneRouteSearch({ query: ' agent:edge one ' })).toBe('?q=agent%3Aedge+one');expect(DOCKER_PATH).toBe('/docker');expect(buildDockerPath()).toBe('/docker/overview');@@ -200,6 +203,9 @@ describe('resource link routing contract', () => {'?host=frigate.mist-stork.ts.net',);expect(buildDockerRouteSearch({ host: ' host with spaces ' })).toBe('?host=host+with+spaces');+ expect(buildDockerRouteSearch({ host: 'edge', query: 'container:api' })).toBe(+ '?host=edge&q=container%3Aapi',+ );expect(buildDockerRouteSearch({ host: '' })).toBe('');expect(KUBERNETES_PATH).toBe('/kubernetes');@@ -209,6 +215,13 @@ describe('resource link routing contract', () => {expect(buildKubernetesPath('configuration')).toBe('/kubernetes/configuration');expect(buildKubernetesPath('pods')).toBe('/kubernetes/pods');expect(KUBERNETES_QUERY_PARAMS.cluster).toBe('cluster');+ expect(+ buildKubernetesRouteSearch({+ cluster: 'cluster-1',+ namespace: 'payments',+ query: 'pod:api',+ }),+ ).toBe('?cluster=cluster-1&namespace=payments&q=pod%3Aapi');expect(TRUENAS_PATH).toBe('/truenas');expect(buildTrueNASPath()).toBe('/truenas/overview');diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.tsindex 8dd480f844..0c73a73639 100644--- a/frontend-modern/src/routing/resourceLinks.ts+++ b/frontend-modern/src/routing/resourceLinks.ts@@ -162,6 +162,17 @@ type WorkloadsLinkOptions = {type DockerLinkOptions = {host?: string | null;+ query?: string | null;+};++type KubernetesLinkOptions = {+ cluster?: string | null;+ namespace?: string | null;+ query?: string | null;+};++type StandaloneLinkOptions = {+ query?: string | null;};type StorageLinkOptions = {@@ -326,6 +337,13 @@ export const buildStandalonePath = (tab: string = STANDALONE_DEFAULT_TAB): strinreturn normalized ? `${STANDALONE_PATH}/${normalized}` : STANDALONE_PATH;};+export const buildStandaloneRouteSearch = (options: StandaloneLinkOptions = {}): string => {+ const params = new URLSearchParams();+ const query = normalizeQueryValue(options.query);+ if (query) params.set(STANDALONE_QUERY_PARAMS.query, query);+ return serializedRouteSearch(params);+};+export const buildDockerPath = (tab: string = DOCKER_DEFAULT_TAB): string => {const normalized = tab.trim().replace(/^\/+|\/+$/g, '');return normalized ? `${DOCKER_PATH}/${normalized}` : DOCKER_PATH;@@ -334,7 +352,9 @@ export const buildDockerPath = (tab: string = DOCKER_DEFAULT_TAB): string => {export const buildDockerRouteSearch = (options: DockerLinkOptions = {}): string => {const params = new URLSearchParams();const host = normalizeQueryValue(options.host);+ const query = normalizeQueryValue(options.query);if (host) params.set(DOCKER_QUERY_PARAMS.host, host);+ if (query) params.set(DOCKER_QUERY_PARAMS.query, query);return serializedRouteSearch(params);};@@ -343,6 +363,17 @@ export const buildKubernetesPath = (tab: string = KUBERNETES_DEFAULT_TAB): strinreturn normalized ? `${KUBERNETES_PATH}/${normalized}` : KUBERNETES_PATH;};+export const buildKubernetesRouteSearch = (options: KubernetesLinkOptions = {}): string => {+ const params = new URLSearchParams();+ const cluster = normalizeQueryValue(options.cluster);+ const namespace = normalizeQueryValue(options.namespace);+ const query = normalizeQueryValue(options.query);+ if (cluster) params.set(KUBERNETES_QUERY_PARAMS.cluster, cluster);+ if (namespace) params.set(KUBERNETES_QUERY_PARAMS.namespace, namespace);+ if (query) params.set(KUBERNETES_QUERY_PARAMS.query, query);+ return serializedRouteSearch(params);+};+export const buildTrueNASPath = (tab: string = TRUENAS_DEFAULT_TAB): string => {const normalized = tab.trim().replace(/^\/+|\/+$/g, '');return normalized ? `${TRUENAS_PATH}/${normalized}` : TRUENAS_PATH;diff --git a/tests/integration/tests/83-product-trust-accessibility.spec.ts b/tests/integration/tests/83-product-trust-accessibility.spec.tsindex dda86e1e5c..b177ec8a23 100644--- a/tests/integration/tests/83-product-trust-accessibility.spec.ts+++ b/tests/integration/tests/83-product-trust-accessibility.spec.ts@@ -240,6 +240,14 @@ test("Home status wall is readable and motionless across desktop and phone widthawait expect(page.getByRole("link", { name: /PVE node down: Critical/ }),).toBeVisible();+ await expect(+ page.getByRole("link", { name: "Batch worker: Powered off. Powered off" }),+ ).toHaveAttribute("href", "/docker/overview?q=container-off");+ await expect(+ page.getByRole("link", {+ name: "Remote agent: Stale. Telemetry stale 12m",+ }),+ ).toHaveAttribute("href", "/standalone/machines?q=agent-stale");await expect(page.getByRole("link", {name: "Healthy VM 1: Healthy. Healthy",