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
Canonicalize Proxmox backup view routes
rcourtman35b8c0a4c2cc
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 02703830ca..d6a162dbab 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -447,6 +447,12 @@ table. Legacy object-specific URLs may resolve to the owningworkflow tab, but they must not reappear as top-level platform navigation unlessthe product IA is intentionally changed. Overview tabs must stay deliberatelyshaped around the primary operator job instead of repeating every detail table:++The Proxmox backup workflow follows this same boundary: its chronological date+feed and workload coverage posture are route-backed sections under+`/proxmox/backups`, and their navigation must compose `PlatformSectionTabs`+instead of a page-local segmented control or query-only view switch.+Docker / Podman Overview owns runtime hosts and primary container workloads inthe proven host-then-workloads pattern, while Kubernetes Overview ownscluster/control-plane rollup; supporting object tables live in their dedicateddiff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 761f301b0e..54d7105a70 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -2238,6 +2238,15 @@ capability over storage or recovery data.## Current State+### Proxmox backup views use canonical workflow routes++The Proxmox backup surface exposes its two operator workflows as explicit+route-backed sections: `/proxmox/backups/date` owns the chronological recovery+feed and `/proxmox/backups/coverage` owns workload protection posture. The+legacy `/proxmox/backups?view=...` query form remains compatibility input only;+new links and tab state must use the path segment, preserve shared scope+filters, and clear incompatible per-view facets when crossing sections.+### Retained Patrol objectives do not create recovery authorityThe shared `internal/api` retained-objective endpoints may scope an outcome todiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 58bc8c7743..bb11766a6b 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -1344,6 +1344,13 @@ AI-only summary payloads, or page-local heuristics.narrow already-correlated backup rows, but they do not add unified-resourcemembership, change canonical workload identity, or turn recovery evidenceinto a provider-resource projection.+ The Proxmox backup workspace's chronological and coverage views are+ canonical route state under `/proxmox/backups/date` and+ `/proxmox/backups/coverage`. The shared route helper owns those path+ builders; the backup surface must use the shared platform section-tab+ primitive for navigation and may retain legacy query parsing only as+ compatibility input. Those view paths describe backup evidence and must+ not be treated as unified-resource membership or workload identity.The default tab for each platform path must point at a sub-tab whosecanonical unified-resource projection actually populates, and visibleworkflow subtabs must stay evidence-gated by the same canonical row ordiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex f8e85737df..d75170d602 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,16 +1,21 @@{"version": 1,- "base_sha": "4182f79028af6449b68c0cb75775ac9a5da99aaa",- "verified_at": "2026-08-23T16:45:15Z",+ "base_sha": "ae9cfb1da87235e81359e251ec5f0a6670398ad9",+ "verified_at": "2026-08-23T18:06:00Z","result": "passed","changed_paths": [- "frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx"+ "frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx",+ "frontend-modern/src/features/proxmox/proxmoxPageModel.ts",+ "frontend-modern/src/routing/resourceLinks.ts"],"content_sha256": {- "frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx": "7ef3505d70c16ff8905dff325111adab351338890a615fe47a1ec3b1ca70fcce"+ "frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx": "050b7e4336a467a71376b471f3e53cbcf65f11de088cd076efe0afe0943ecf31",+ "frontend-modern/src/features/proxmox/proxmoxPageModel.ts": "09cebaf862d67def8e560b49acf50bdbcdc13f814fec15ad7fc8b1ae412a7fc1",+ "frontend-modern/src/routing/resourceLinks.ts": "8a22520911eb1b84cee0ab4ef4388ec8dbfd40380db93dbac451d26f8031db3c"},"routes": [- "/proxmox/overview"+ "/proxmox/backups/date",+ "/proxmox/backups/coverage"],"viewports": [{@@ -18,23 +23,20 @@"height": 720},{- "width": 375,- "height": 812+ "width": 390,+ "height": 844}],"states": [- "The large Proxmox mock estate renders 50 nodes and 929 guests from one overview snapshot",- "At 375x812 the bounded Nodes preview occupies y=103 through y=328 with four rows, and Guests begins immediately below at y=344",- "At 1280x720 the eight-row Nodes preview occupies y=170 through y=505, and Guests begins immediately below at y=521",- "Expanding the phone node preview renders all 50 nodes and moves Guests to y=2046; collapsing restores four nodes and Guests to y=344",- "A guest search leaves the phone node preview at four rows with the 50-node estate count and topology visible",- "The desktop and phone overview runs reported no console errors"+ "Desktop direct navigation to /proxmox/backups/date renders the By date section with its chronological backup table and Coverage link",+ "Desktop navigation to /proxmox/backups/coverage selects Coverage and renders posture filters and coverage rows",+ "Narrow Coverage renders the route-backed section rail, responsive columns, and no horizontal overflow",+ "The running app reported no console errors during direct navigation and section switching"],"interactions": [- "Loaded the 1280x720 large mock estate and captured Nodes before Guests in the initial overview",- "Applied 375x812 device metrics and captured the four-node preview with Guests visible directly underneath",- "Expanded all 50 nodes, measured the resulting guest-section position, then collapsed back to the four-row phone preview",- "Entered a guest-only search and confirmed it narrowed Guests without hiding or filtering the node inventory",- "Cleared the search, checked runtime error logs, reset device metrics, and closed the temporary test tab"+ "Loaded /proxmox/backups/date at the desktop viewport and inspected the active section rail and date table",+ "Selected Coverage through the canonical section link and verified /proxmox/backups/coverage with active navigation",+ "Loaded Coverage at 390x844 and verified responsive section navigation, posture table content, and overflow state",+ "Reset the temporary narrow viewport after verification"]}diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsxindex dd3c971306..ef64f08990 100644--- a/frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx@@ -1,17 +1,21 @@import { Show, createMemo, createResource, createSignal, type Component, type JSX } from 'solid-js';import ChevronRightIcon from 'lucide-solid/icons/chevron-right';-import CalendarIcon from 'lucide-solid/icons/calendar';-import ShieldCheckIcon from 'lucide-solid/icons/shield-check';-import { useSearchParams } from '@solidjs/router';+import { useLocation, useSearchParams } from '@solidjs/router';import { FilterBar, type FilterDef, type FilterSelectOption } from '@/components/shared/FilterBar';-import { FilterSegmentedControl } from '@/components/shared/FilterToolbar';import { useBreakpoint } from '@/hooks/useBreakpoint';import { useProtectionPostures } from '@/hooks/useProtectionPostures';-import { PROXMOX_BACKUPS_QUERY_PARAMS } from '@/routing/resourceLinks';+import {+ buildProxmoxBackupsPath,+ PROXMOX_BACKUPS_DEFAULT_VIEW,+ PROXMOX_BACKUPS_PATH,+ PROXMOX_BACKUPS_QUERY_PARAMS,+ type ProxmoxBackupsView,+} from '@/routing/resourceLinks';import { apiFetch } from '@/utils/apiClient';import {PlatformErrorState,PlatformResourceCounter,+ PlatformSectionTabs,PlatformTableLoadingState,} from '@/features/platformPage/sharedPlatformPage';import {@@ -66,7 +70,12 @@ import { ProxmoxRecoverableTable } from './ProxmoxRecoverableTable';// One backups surface, two operator views: a chronological recoverable-artifact// feed for "what ran when", and a guest coverage table for "what is protected".-type BackupView = 'date' | 'coverage';+type BackupView = ProxmoxBackupsView;++const BACKUP_VIEW_TABS: readonly { id: BackupView; label: string }[] = [+ { id: 'date', label: 'By date' },+ { id: 'coverage', label: 'Coverage' },+];async function fetchPVEBackups(): Promise<PVEBackupsPayload> {const response = await apiFetch('/api/backups/pve');@@ -100,6 +109,7 @@ export const ProxmoxBackupsTable: Component<{const [backups, { refetch }] = createResource<PVEBackupsPayload>(fetchPVEBackups);const [pbsBackups] = createResource<PBSBackupsPayload>(fetchPBSBackups);const { isMobile } = useBreakpoint();+ const location = useLocation();const protectionPostures = useProtectionPostures(() =>(props.workloads ?? []).map((workload) => workload.id),);@@ -116,7 +126,13 @@ export const ProxmoxBackupsTable: Component<{const search = (): string => queryValue(PROXMOX_BACKUPS_QUERY_PARAMS.query);const setSearch = (value: string): void =>setSearchParams({ [PROXMOX_BACKUPS_QUERY_PARAMS.query]: value || null }, { replace: true });- const selectedView = (): BackupView | null => {+ const routeView = (): BackupView | null => {+ const normalizedPath = location.pathname.replace(/\/+$/, '');+ if (!normalizedPath.startsWith(`${PROXMOX_BACKUPS_PATH}/`)) return null;+ const segment = normalizedPath.slice(`${PROXMOX_BACKUPS_PATH}/`.length).split('/')[0];+ return segment === 'date' || segment === 'coverage' ? segment : null;+ };+ const legacyQueryView = (): BackupView | null => {const value = queryValue(PROXMOX_BACKUPS_QUERY_PARAMS.view);return value === 'date' || value === 'coverage' ? value : null;};@@ -356,31 +372,28 @@ export const ProxmoxBackupsTable: Component<{};});const view = (): BackupView =>- selectedView() ??+ routeView() ??+ legacyQueryView() ??(liveHealthSummary().attention + liveHealthSummary().unprotected + liveHealthSummary().unknown >0? 'coverage'- : 'date');- const setView = (next: BackupView): void => {+ : PROXMOX_BACKUPS_DEFAULT_VIEW);++ const backupViewPath = (next: BackupView): string => {+ const params = new URLSearchParams(location.search);+ params.delete(PROXMOX_BACKUPS_QUERY_PARAMS.view);if (next === 'date') {- setSearchParams(- {- [PROXMOX_BACKUPS_QUERY_PARAMS.view]: next,- [PROXMOX_BACKUPS_QUERY_PARAMS.posture]: null,- },- { replace: true },- );- return;+ params.delete(PROXMOX_BACKUPS_QUERY_PARAMS.posture);+ } else {+ params.delete(PROXMOX_BACKUPS_QUERY_PARAMS.source);+ params.delete(PROXMOX_BACKUPS_QUERY_PARAMS.day);}- setSearchParams(- {- [PROXMOX_BACKUPS_QUERY_PARAMS.view]: next,- [PROXMOX_BACKUPS_QUERY_PARAMS.source]: null,- [PROXMOX_BACKUPS_QUERY_PARAMS.day]: null,- },- { replace: true },- );+ const query = params.toString();+ return `${buildProxmoxBackupsPath(next)}${query ? `?${query}` : ''}`;};+ const backupViewTabs = createMemo(() =>+ BACKUP_VIEW_TABS.map((tab) => ({ ...tab, path: backupViewPath(tab.id) })),+ );// Recoverable artifact feed: PBS snapshots, PVE backup files, and guest snapshot rows.const RECOVERABLE_SEGMENT_KINDS: readonly BackupActivitySegmentKind[] = [@@ -528,6 +541,7 @@ export const ProxmoxBackupsTable: Component<{setSearchParams({[PROXMOX_BACKUPS_QUERY_PARAMS.query]: null,+ [PROXMOX_BACKUPS_QUERY_PARAMS.view]: null,[PROXMOX_BACKUPS_QUERY_PARAMS.node]: null,[PROXMOX_BACKUPS_QUERY_PARAMS.type]: null,[PROXMOX_BACKUPS_QUERY_PARAMS.source]: null,@@ -558,6 +572,7 @@ export const ProxmoxBackupsTable: Component<{}><div class="space-y-3">+ <PlatformSectionTabs tabs={backupViewTabs()} active={view()} ariaLabel="Backup views" /><Show when={protectionPostures.response.error}><divrole="status"@@ -571,8 +586,7 @@ export const ProxmoxBackupsTable: Component<{<ProxmoxBackupServersTable servers={props.servers ?? []} backups={pbsArtifacts()} /></Show>- {/* The health strip renders identically in both views so the view- toggle below it never shifts under the cursor when clicked. */}+ {/* The health strip renders identically in both route-backed views. */}<ProxmoxBackupsCoverageStriptitle="Backup health"tail={@@ -635,34 +649,6 @@ export const ProxmoxBackupsTable: Component<{]}/>- <FilterSegmentedControl- aria-label="Backups view"- value={view()}- onChange={(value) => setView(value as BackupView)}- options={[- {- value: 'date',- title: 'Backups by date',- label: (- <>- <CalendarIcon class="h-3 w-3" />- By date- </>- ),- },- {- value: 'coverage',- title: 'Backups by workload coverage',- label: (- <>- <ShieldCheckIcon class="h-3 w-3" />- Coverage- </>- ),- },- ]}- />-<Show when={view() === 'date' && recoveryModel().recoverableArtifacts.length > 0}><Showwhen={hasRecoverableActivityInRange()}diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsxindex 9aaf9a1d4a..8900ee621f 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx@@ -1,7 +1,7 @@import { cleanup, fireEvent, render, screen, waitFor } from '@solidjs/testing-library';import { Route, Router } from '@solidjs/router';import type { JSX } from 'solid-js';-import { afterEach, describe, expect, it, vi } from 'vitest';+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';import { ProxmoxBackupsTable } from '../ProxmoxBackupsTable';import proxmoxBackupServersTableSource from '../ProxmoxBackupServersTable.tsx?raw';@@ -21,7 +21,7 @@ import { resetCreateNonSuspendingQueryCacheForTest } from '@/hooks/createNonSuspconst renderInRouter = (component: () => JSX.Element) =>render(() => (<Router>- <Route path="/" component={component} />+ <Route path="/*" component={component} /></Router>));@@ -197,12 +197,17 @@ const expectCanonicalPlatformTableShell = (table: HTMLElement): void => {afterEach(() => {cleanup();+ vi.unstubAllGlobals();window.history.replaceState({}, '', '/');apiFetchMock.mockReset();apiFetchJSONMock.mockReset();resetCreateNonSuspendingQueryCacheForTest();});+beforeEach(() => {+ vi.stubGlobal('scrollTo', vi.fn());+});+describe('ProxmoxBackupsTable', () => {it('shows Checking until the canonical posture request resolves', async () => {mockBackupAPIs();@@ -266,12 +271,9 @@ describe('ProxmoxBackupsTable', () => {));await screen.findAllByText('pbs-docker');- expect(screen.getByRole('button', { name: /coverage/i })).toHaveAttribute(- 'aria-pressed',- 'true',- );+ expect(screen.getByRole('link', { name: /coverage/i })).toHaveAttribute('aria-current', 'page');- await fireEvent.click(screen.getByRole('button', { name: /by date/i }));+ await fireEvent.click(screen.getByRole('link', { name: /by date/i }));// The chronological feed remains available for forensic review: one row// per restore point, sourced and located.@@ -319,26 +321,22 @@ describe('ProxmoxBackupsTable', () => {expect(healthSummary.parentElement).toHaveClass('w-full', 'sm:ml-auto', 'sm:w-auto');expect(healthSummary.parentElement).not.toHaveClass('ml-auto');- expect(proxmoxBackupsTableSource).toContain(- "import { FilterSegmentedControl } from '@/components/shared/FilterToolbar';",- );- expect(proxmoxBackupsTableSource).toContain('<FilterSegmentedControl');- expect(proxmoxBackupsTableSource).not.toContain('variant="segmented"');- expect(proxmoxBackupsTableSource).not.toContain('const viewButtonClass');- expect(proxmoxBackupsTableSource).not.toContain(- 'inline-flex items-center gap-1 rounded-md border border-border bg-surface p-1',- );- expect(proxmoxBackupsTableSource).not.toContain(- 'inline-flex min-h-8 items-center gap-1.5 rounded-sm px-3 text-xs font-medium transition-colors',- );+ expect(proxmoxBackupsTableSource).toContain('<PlatformSectionTabs');+ expect(proxmoxBackupsTableSource).not.toContain('FilterSegmentedControl');+ expect(proxmoxBackupsTableSource).toContain('buildProxmoxBackupsPath');expect(proxmoxBackupsTableSource).toContain('trailingControls={');expect(proxmoxBackupsTableSource).toContain('<PlatformResourceCounter');- expect(proxmoxBackupsTableSource).not.toContain('viewOptionsTrailing');- // The two top-level views exist...- expect(screen.getByRole('group', { name: /backups view/i })).toBeInTheDocument();- expect(screen.getByRole('button', { name: /by date/i })).toBeInTheDocument();- expect(screen.getByRole('button', { name: /coverage/i })).toBeInTheDocument();+ // The two route-backed sections exist...+ expect(screen.getByRole('navigation', { name: /backup views/i })).toBeInTheDocument();+ expect(screen.getByRole('link', { name: /by date/i })).toHaveAttribute(+ 'href',+ '/proxmox/backups/date',+ );+ expect(screen.getByRole('link', { name: /coverage/i })).toHaveAttribute(+ 'href',+ '/proxmox/backups/coverage',+ );// ...and the old four-tab + sub-tab tree does not.expect(screen.queryByRole('button', { name: /source details/i })).not.toBeInTheDocument();expect(screen.queryByRole('button', { name: /job history/i })).not.toBeInTheDocument();@@ -358,10 +356,7 @@ describe('ProxmoxBackupsTable', () => {));await screen.findAllByText('pbs-docker');- expect(screen.getByRole('button', { name: /by date/i })).toHaveAttribute(- 'aria-pressed',- 'true',- );+ expect(screen.getByRole('link', { name: /by date/i })).toHaveAttribute('aria-current', 'page');expect(screen.getByPlaceholderText(/search backups by workload/i)).toHaveValue('pbs-docker');expect(screen.getByRole('button', { name: /pbs snapshots/i })).toHaveAttribute('aria-pressed',@@ -373,7 +368,7 @@ describe('ProxmoxBackupsTable', () => {await waitFor(() => {const params = new URLSearchParams(window.location.search);- expect(params.get('view')).toBe('date');+ expect(params.get('view')).toBeNull();expect(params.get('q')).toBeNull();expect(params.get('source')).toBeNull();expect(params.get('node')).toBeNull();@@ -392,11 +387,12 @@ describe('ProxmoxBackupsTable', () => {));await screen.findAllByText('pbs-docker');- await fireEvent.click(screen.getByRole('button', { name: /coverage/i }));+ await fireEvent.click(screen.getByRole('link', { name: /coverage/i }));await waitFor(() => {const params = new URLSearchParams(window.location.search);- expect(params.get('view')).toBe('coverage');+ expect(window.location.pathname).toBe('/proxmox/backups/coverage');+ expect(params.get('view')).toBeNull();expect(params.get('source')).toBeNull();expect(params.get('day')).toBeNull();});@@ -406,10 +402,11 @@ describe('ProxmoxBackupsTable', () => {expect(new URLSearchParams(window.location.search).get('posture')).toBe('protected'),);- await fireEvent.click(screen.getByRole('button', { name: /by date/i }));+ await fireEvent.click(screen.getByRole('link', { name: /by date/i }));await waitFor(() => {const params = new URLSearchParams(window.location.search);- expect(params.get('view')).toBe('date');+ expect(window.location.pathname).toBe('/proxmox/backups/date');+ expect(params.get('view')).toBeNull();expect(params.get('posture')).toBeNull();});});@@ -422,7 +419,7 @@ describe('ProxmoxBackupsTable', () => {));await screen.findAllByText('pbs-docker');- await fireEvent.click(screen.getByRole('button', { name: /coverage/i }));+ await fireEvent.click(screen.getByRole('link', { name: /coverage/i }));// Coverage is the posture view; the server-owned workload posture reads// "Protected".@@ -444,7 +441,7 @@ describe('ProxmoxBackupsTable', () => {));await screen.findAllByText('pbs-docker');- await fireEvent.click(screen.getByRole('button', { name: /by date/i }));+ await fireEvent.click(screen.getByRole('link', { name: /by date/i }));const searchInput = screen.getByPlaceholderText(/search backups by workload/i);await fireEvent.input(searchInput, { target: { value: 'no-such-guest' } });diff --git a/frontend-modern/src/features/proxmox/proxmoxPageModel.ts b/frontend-modern/src/features/proxmox/proxmoxPageModel.tsindex 99e6fb5ad6..8aec53a4a3 100644--- a/frontend-modern/src/features/proxmox/proxmoxPageModel.ts+++ b/frontend-modern/src/features/proxmox/proxmoxPageModel.ts@@ -1,4 +1,5 @@import type { Resource, ResourceMetric, ResourceType } from '@/types/resource';+import { buildProxmoxBackupsPath } from '@/routing/resourceLinks';import { formatProxmoxVersion } from '@/utils/proxmoxVersion';import { matchesSearchTermSplit, splitSearchExclusions } from '@/utils/searchQuery';@@ -76,7 +77,7 @@ export const PROXMOX_TAB_SPECS: ProxmoxTabSpec[] = [{ id: 'overview', label: 'Overview', path: '/proxmox/overview' },{ id: 'storage', label: 'Storage', path: '/proxmox/storage' },{ id: 'replication', label: 'Replication', path: '/proxmox/replication' },- { id: 'backups', label: 'Backups', path: '/proxmox/backups' },+ { id: 'backups', label: 'Backups', path: buildProxmoxBackupsPath() },{ id: 'ceph', label: 'Ceph', path: '/proxmox/ceph' },{ id: 'mail', label: 'Mail Gateway', path: '/proxmox/mail' },];diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.tsindex 2e242fe71b..07560651e1 100644--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts@@ -35,6 +35,8 @@ import {SETTINGS_PULSE_INTELLIGENCE_PATH,isExternalAgentSetupHash,PROXMOX_BACKUPS_QUERY_PARAMS,+ PROXMOX_BACKUPS_PATH,+ PROXMOX_BACKUPS_DEFAULT_VIEW,PROXMOX_DEFAULT_TAB,PROXMOX_PATH,RECOVERY_QUERY_PARAMS,@@ -51,6 +53,7 @@ import {buildKubernetesPath,buildRecoveryRouteSearch,buildProxmoxPath,+ buildProxmoxBackupsPath,buildStandalonePath,buildStorageRouteSearch,buildTrueNASPath,@@ -162,6 +165,8 @@ describe('resource link routing contract', () => {it('builds canonical Proxmox platform tab paths', () => {expect(PROXMOX_PATH).toBe('/proxmox');expect(PROXMOX_DEFAULT_TAB).toBe('overview');+ expect(PROXMOX_BACKUPS_PATH).toBe('/proxmox/backups');+ expect(PROXMOX_BACKUPS_DEFAULT_VIEW).toBe('date');expect(PROXMOX_BACKUPS_QUERY_PARAMS).toEqual({query: 'q',view: 'view',@@ -174,6 +179,8 @@ describe('resource link routing contract', () => {expect(buildProxmoxPath()).toBe('/proxmox/overview');expect(buildProxmoxPath('/storage/')).toBe('/proxmox/storage');expect(buildProxmoxPath('')).toBe('/proxmox');+ expect(buildProxmoxBackupsPath()).toBe('/proxmox/backups/date');+ expect(buildProxmoxBackupsPath('coverage')).toBe('/proxmox/backups/coverage');});it('builds canonical Machines, container runtime, Kubernetes, TrueNAS, and vSphere tab paths', () => {diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.tsindex a88313f457..43e813eafc 100644--- a/frontend-modern/src/routing/resourceLinks.ts+++ b/frontend-modern/src/routing/resourceLinks.ts@@ -24,8 +24,13 @@ export const STANDALONE_QUERY_PARAMS = {} as const;export const PROXMOX_PATH = '/proxmox';export const PROXMOX_DEFAULT_TAB = 'overview';+export const PROXMOX_BACKUPS_PATH = `${PROXMOX_PATH}/backups`;+export const PROXMOX_BACKUPS_DEFAULT_VIEW = 'date';+export type ProxmoxBackupsView = 'date' | 'coverage';export const PROXMOX_BACKUPS_QUERY_PARAMS = {query: 'q',+ // Legacy query-param compatibility. The canonical view now lives in the+ // /proxmox/backups/:view route segment.view: 'view',node: 'node',type: 'type',@@ -309,6 +314,10 @@ export const buildProxmoxPath = (tab: string = PROXMOX_DEFAULT_TAB): string => {return normalized ? `${PROXMOX_PATH}/${normalized}` : PROXMOX_PATH;};+export const buildProxmoxBackupsPath = (+ view: ProxmoxBackupsView = PROXMOX_BACKUPS_DEFAULT_VIEW,+): string => `${PROXMOX_BACKUPS_PATH}/${view}`;+export const buildStandalonePath = (tab: string = STANDALONE_DEFAULT_TAB): string => {const normalized = tab.trim().replace(/^\/+|\/+$/g, '');return normalized ? `${STANDALONE_PATH}/${normalized}` : STANDALONE_PATH;