Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Retire legacy top-level browser aliases

rcourtman3f9c8168fbeb
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index b2bfed4ce0..64a67c9e15 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -674,9 +674,9 @@ keyboard shortcuts, or landing fallbacks. Aggregate workspace tabs are retired
top-level routes, not compatibility placeholders. Admitted-only or absent
platform/runtime surfaces must stay hidden from the AI-adjacent shell and must
not be kept as disabled placeholders. The legacy `/infrastructure` route shell
-was retired alongside its page wrapper, `/workloads`, `/storage`, and
-`/recovery` remain unregistered top-level routes, and `/ceph` remains only a
-thin redirect to `/proxmox/ceph`. The AI Chat launcher, Patrol surfaces, and
+was retired alongside its page wrapper, and `/workloads`, `/storage`,
+`/recovery`, `/ceph`, `/ai`, and `/operations/*` remain unregistered
+top-level routes. The AI Chat launcher, Patrol surfaces, and
`AssistantHandoffPayload` deep links must use canonical platform or runtime
routes (`/proxmox/overview`, `/proxmox/storage`, `/kubernetes/workloads`, etc.)
rather than reviving retired Infrastructure or aggregate workspace paths;
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index b70b54a458..dc914b569a 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -682,7 +682,7 @@ the canonical monitored-system blocked payload.
and the same shared correlation card's ordering and truncation rule, so callers pass raw correlations instead of encoding their own top-N sort behavior
and the shared `frontend-modern/src/components/Infrastructure/ResourceChangeSummary.tsx` and `frontend-modern/src/components/Infrastructure/ResourceCorrelationSummary.tsx` cards' infrastructure resource-link default, so the Patrol page, resource drawer, and problem-resource dashboard panels inherit the canonical resource-filter path construction instead of rebuilding infrastructure URLs inline
and the Patrol runtime-remediation destination shared with the AI settings endpoint, so summary actions, run-history runtime-failure actions, and runtime-finding actions may reuse the governed provider-settings route while still presenting that destination to Patrol operators as Patrol provider configuration instead of generic `AI Settings` copy
- and the Patrol route-shell destination itself, so the thin page shell at `frontend-modern/src/pages/AIIntelligence.tsx` may continue to bridge the shared AI-runtime payload boundary while exposing `/patrol` as the canonical product route and preserving `/ai` only as a compatibility redirect
+ and the Patrol route-shell destination itself, so the thin page shell at `frontend-modern/src/pages/AIIntelligence.tsx` may continue to bridge the shared AI-runtime payload boundary while exposing `/patrol` as the canonical product route and keeping retired `/ai` browser entry points unregistered
and the Patrol route-shell accessibility boundary, so brand icons in `frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx` stay decorative when the same heading already exposes visible Patrol text, preventing duplicate accessible names such as `Pulse Patrol Patrol`
9. Route frontend API-client parsed error propagation, API-error-status fallback handling, allowed-status handling, custom status-specific error handling, command-trigger success envelope handling, shared response parsing pipelines, missing-resource lookup handling, metadata CRUD routing, stream event consumption, response status, collection normalization, scalar payload coercion, and structured error normalization through canonical shared helpers under `frontend-modern/src/api/`
That same shared org-management client boundary now owns target-consent
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index bb3ffbf8bb..7acdbdddcb 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -1482,13 +1482,14 @@ parallel `connected`/`reconnecting` prop assumptions after the runtime model
moves. Future hosted shell changes must update all chrome affordances together
so a status-model refactor cannot leave stale prop calls behind that crash the
authenticated cloud shell at render time.
-That same route/provider shell must stay page-oriented as well: `App.tsx`
-should lazy-load route shells like `frontend-modern/src/pages/Storage.tsx`
-and `frontend-modern/src/pages/Operations.tsx`
-instead of wiring product-surface components such as
-`frontend-modern/src/components/Storage/Storage.tsx` directly into the router,
-so hosted bootstrap ownership stays at the app boundary rather than leaking
-route concerns back into feature components.
+That same route/provider shell must stay page-oriented as well: where a
+browser route exists, `App.tsx` should lazy-load the route shell instead of
+wiring product-surface components such as
+`frontend-modern/src/components/Storage/Storage.tsx` directly into the router.
+Retired aggregate or utility aliases must stay unregistered rather than being
+kept as route-shell compatibility handoffs, so hosted bootstrap ownership stays
+at the app boundary rather than leaking route concerns back into feature
+components.
That same authenticated route shell also owns the canonical post-auth landing
path. `frontend-modern/src/App.tsx` and
`frontend-modern/src/pages/RuntimeHome.tsx` must send authenticated `/`
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index ffd5772b1c..9f8934f2ee 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -98,14 +98,13 @@ work extends shared components instead of creating new local variants.
67. `frontend-modern/src/components/Settings/useSystemLogsPanelState.ts`
68. `frontend-modern/src/utils/systemLogsPresentation.ts`
69. `frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx`
-70. `frontend-modern/src/pages/Operations.tsx`
-71. `frontend-modern/src/components/Settings/ResourcePicker.tsx`
-72. `frontend-modern/src/components/Settings/reportingResourceTypes.ts`
-73. `frontend-modern/src/utils/reportableResourceTypes.ts`
-74. `frontend-modern/src/utils/reportingResourceTypes.ts`
-75. `frontend-modern/src/utils/problemResourcePresentation.ts`
-76. `frontend-modern/src/utils/workloadEmptyStatePresentation.ts`
-77. `frontend-modern/src/utils/workloadGuestPresentation.ts`
+70. `frontend-modern/src/components/Settings/ResourcePicker.tsx`
+71. `frontend-modern/src/components/Settings/reportingResourceTypes.ts`
+72. `frontend-modern/src/utils/reportableResourceTypes.ts`
+73. `frontend-modern/src/utils/reportingResourceTypes.ts`
+74. `frontend-modern/src/utils/problemResourcePresentation.ts`
+75. `frontend-modern/src/utils/workloadEmptyStatePresentation.ts`
+76. `frontend-modern/src/utils/workloadGuestPresentation.ts`
78. `frontend-modern/src/utils/emptyStatePresentation.ts`
79. `frontend-modern/src/utils/semanticTonePresentation.ts`
80. `frontend-modern/src/components/Toast/Toast.tsx`
@@ -113,12 +112,11 @@ work extends shared components instead of creating new local variants.
82. `frontend-modern/src/utils/semanticTonePresentation.ts`
83. `frontend-modern/src/utils/emptyStatePresentation.ts`
84. `frontend-modern/src/utils/typeColumnPresentation.ts`
-85. `frontend-modern/src/pages/__tests__/Operations.helpers.test.ts`
-86. `frontend-modern/src/components/Settings/NetworkBoundarySettingsSection.tsx`
-87. `frontend-modern/src/components/Settings/networkSettingsModel.ts`
-88. `frontend-modern/src/components/Settings/useDiscoverySettingsState.ts`
-89. `frontend-modern/src/components/Settings/useSettingsInfrastructurePanelProps.ts`
-90. `frontend-modern/src/components/Settings/settingsPanelRegistryContext.tsx`
+85. `frontend-modern/src/components/Settings/NetworkBoundarySettingsSection.tsx`
+86. `frontend-modern/src/components/Settings/networkSettingsModel.ts`
+87. `frontend-modern/src/components/Settings/useDiscoverySettingsState.ts`
+88. `frontend-modern/src/components/Settings/useSettingsInfrastructurePanelProps.ts`
+89. `frontend-modern/src/components/Settings/settingsPanelRegistryContext.tsx`
91. `frontend-modern/src/components/Settings/settingsPanelRegistryLoaders.ts`
92. `frontend-modern/src/components/Settings/settingsNavigationModel.ts`
93. `frontend-modern/src/components/Settings/settingsNavCatalog.ts`
@@ -467,8 +465,8 @@ not a replacement status card, CTA band, or page-local nested card.
Workload, storage, and recovery workflows live inside the owning
platform/runtime pages and reusable component surfaces; they must not appear
in navigation, command palette, shortcut, route-preload, or active-tab
- owners as standalone aggregate destinations. `/ceph` remains a thin
- redirect to the Proxmox-owned Ceph tab.
+ owners as standalone aggregate destinations. The old top-level `/ceph`
+ alias is also unregistered; Proxmox owns Ceph at `/proxmox/ceph`.
The same settings-shell boundary owns read-only landing posture: when the
session presentation policy says the operator cannot manage setup, `/settings`
and sidebar navigation must land on the canonical reporting/control surface
@@ -507,9 +505,9 @@ not a replacement status card, CTA band, or page-local nested card.
That same public-demo presentation boundary also owns Settings support
posture: the authenticated demo shell must not advertise `Diagnostics &
Health`, `Data & Reports`, or `System Logs` in the Settings navigation, and
- legacy `/operations/*` links must resolve through the canonical Settings
- routing boundary instead of reviving a standalone Operations utility tab or
- route-local support shell.
+ the retired top-level `/operations/*` browser path must stay unregistered
+ instead of reviving a standalone Operations utility tab or route-local
+ support shell.
Because `Data & Reports` is the `advanced_reporting` capability surface
rather than a general diagnostics page, `settingsNavCatalog.ts` must hide it
when that feature is unavailable; ordinary self-hosted users should see
@@ -979,8 +977,8 @@ not a replacement status card, CTA band, or page-local nested card.
generic AI labels inside Patrol-owned shells. The shared app shell in
`frontend-modern/src/App.tsx` and `frontend-modern/src/AppLayout.tsx` must
likewise expose `/patrol` as the canonical route and navigation target,
- keeping legacy `/ai` entry points as thin compatibility redirects rather
- than a second Patrol-branded primary route. `PatrolIntelligenceHeader.tsx`
+ while retired `/ai` browser entry points stay unregistered rather than a
+ second Patrol-branded primary route. `PatrolIntelligenceHeader.tsx`
must also keep the page heading's accessible name singular: when the
`PulsePatrolLogo` appears beside visible Patrol heading text, it is
decorative rather than a second label source. The Patrol-owned supporting-context
@@ -1385,10 +1383,9 @@ not a replacement status card, CTA band, or page-local nested card.
local imports when a route shell composes `PageHeader` through a nested
surface, and settings coverage must stay limited to top-level registry
panels rather than every helper `*Panel.tsx` file. The canonical Settings
- shell therefore owns the shared `PageHeader` for support tools, and
- `frontend-modern/src/pages/Operations.tsx` must stay a redirect-only
- compatibility handoff instead of regrowing a second route-local heading,
- tab strip, or page shell for diagnostics, reporting, or logs. Because the
+ shell therefore owns the shared `PageHeader` for support tools, and the
+ retired top-level `/operations/*` browser path must not regrow a route-local
+ heading, tab strip, or page shell for diagnostics, reporting, or logs. Because the
dashboard route is retired, that audit must also discover live top-level
pages from `src/pages/` and may not keep a hard required-header entry for
`frontend-modern/src/pages/Dashboard.tsx`.
@@ -2524,14 +2521,13 @@ must consume the direct Proxmox panel contract through
registry stays a shell/composition owner and does not depend on
`ProxmoxSettingsPanel.tsx` as though the panel still owned the runtime model.
-The retired `/operations` route is now a thin compatibility redirect only.
-`frontend-modern/src/pages/Operations.tsx` may normalize legacy `/operations/*`
-links into the canonical Settings support routes, but diagnostics, reports,
-and logs now belong to the shared Settings shell instead of a bespoke page-
-local tab surface. Support-only navigation must therefore route through the
-shared settings owners rather than rebuilding a second route-level shell, and
-public demo posture must keep those support entries hidden from the Settings
-navigation instead of reviving a standalone operations page.
+The retired `/operations` route is unregistered rather than a compatibility
+redirect. Diagnostics, reports, and logs belong to the shared Settings shell
+instead of a bespoke page-local tab surface. Support-only navigation must
+therefore route through the shared settings owners rather than rebuilding a
+second route-level shell, and public demo posture must keep those support
+entries hidden from the Settings navigation instead of reviving a standalone
+operations page.
that are unavailable in demo mode.
The dashboard overview route and its feature-owned summary surfaces are
@@ -2837,10 +2833,11 @@ infrastructure workspace props, registry context maps, system panel prop maps,
lazy loader definitions, or discovery draft state inline.
That same settings-routing contract now also owns the Support group for
`Diagnostics & Health`, `Data & Reports`, and `System Logs`: the navigation
-model must normalize both `/settings/operations/*` and legacy `/operations/*`
-compatibility links into `/settings/support/*`, and the catalog plus visibility
-owners must treat those support surfaces as Settings-native pages rather than
-as a second top-level utility destination.
+model may normalize old `/settings/operations/*` settings paths into
+`/settings/support/*`, but the top-level `/operations/*` browser path must stay
+unregistered. The catalog plus visibility owners must treat those support
+surfaces as Settings-native pages rather than as a second top-level utility
+destination.
The resource incident panel's collapsed activity summary is now part of that
same shared primitive boundary. Event-type count chips, visible-event copy,
diff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
index 919b5be7d2..647c71382d 100644
--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md
@@ -458,8 +458,8 @@ thin shell that delegates to the feature-owned
`frontend-modern/src/features/patrol/PatrolIntelligenceSurface.tsx`, so Patrol
runtime state and presentation no longer accumulate directly in the route
component itself. The governed customer-facing route for that shell is now
-`/patrol`, while legacy `/ai` entry points remain compatibility redirects
-instead of the canonical product path.
+`/patrol`, while retired `/ai` browser entry points stay unregistered instead
+of remaining as compatibility redirects or a second product path.
That route-shell ownership does not make `AI` the customer-facing Patrol
product name. Internal file, store, and transport names may still carry the
shared AI-runtime boundary where that is the real technical ownership, but the
diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
index 357d55eda9..e01cc5d278 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -517,14 +517,13 @@ dashboard-specific overview, trend, or summary transport.
full app bootstrap, a pre-auth org probe, or a deleted dashboard-route prewarm
that duplicates the canonical summary fetch path or expands into another
summary-fetch or org-bootstrap hot path.
- The same protected hot path also owns Patrol route compatibility: if
- `frontend-modern/src/App.tsx` keeps `/ai` as a legacy alias while `/patrol`
- is canonical, that alias must stay a thin redirect and must not mount a
- second Patrol shell or duplicate app bootstrap work before navigation
- settles on the canonical route.
- The same rule now applies to the retired `/operations` surface: legacy
- `/operations/*` links may redirect into Settings support routes, but they
- must not mount a second diagnostics/reporting shell or pay extra bootstrap
+ The same protected hot path also owns Patrol route canonicalization:
+ `/patrol` is canonical and retired `/ai` browser entry points must stay
+ unregistered rather than mounting a second Patrol shell or duplicate app
+ bootstrap work.
+ The same rule now applies to the retired `/operations` surface:
+ `/operations/*` browser entry points must stay unregistered rather than
+ mounting a second diagnostics/reporting shell or paying extra bootstrap
work before the canonical Settings URL takes over.
Authenticated `/login` recovery belongs to that same app-shell boundary:
`frontend-modern/src/App.tsx` must redirect that route back to the
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index d504a021c0..529505bb21 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -3082,7 +3082,6 @@
"frontend-modern/src/components/Toast/Toast.tsx",
"frontend-modern/src/hooks/createNonSuspendingQuery.ts",
"frontend-modern/src/index.css",
- "frontend-modern/src/pages/Operations.tsx",
"frontend-modern/src/routing/routePreload.ts",
"frontend-modern/src/stores/aiChat.ts",
"frontend-modern/src/utils/aiSettingsPresentation.ts",
@@ -3267,7 +3266,6 @@
"frontend-modern/src/components/Settings/SystemLogsPanel.tsx",
"frontend-modern/src/components/Settings/useReportingPanelState.ts",
"frontend-modern/src/components/Settings/useSystemLogsPanelState.ts",
- "frontend-modern/src/pages/Operations.tsx",
"frontend-modern/src/routing/routePreload.ts",
"frontend-modern/src/utils/reportableResourceTypes.ts",
"frontend-modern/src/utils/reportingPresentation.ts",
@@ -3282,7 +3280,6 @@
"frontend-modern/src/components/Settings/__tests__/ResourcePicker.test.tsx",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
"frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx",
- "frontend-modern/src/pages/__tests__/Operations.helpers.test.ts",
"frontend-modern/src/routing/__tests__/routePreload.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
"frontend-modern/src/utils/__tests__/reportableResourceTypes.test.ts",
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index ccd65b1565..f56f03c5c1 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -258,7 +258,7 @@ recovery scope, or a storage/recovery-owned secret source.
A selected timeline day is an active event-history filter: table totals,
footer ranges, empty states, and search/date matching must describe the
visible filtered recovery points, not the unfiltered API page metadata.
-3. Add or change storage UX through `frontend-modern/src/components/Storage/Storage.tsx` (the canonical `StorageSurface`, embedded inside platform pages), `frontend-modern/src/components/Storage/`, `frontend-modern/src/features/storageBackups/`, the shared storage-source contract in `frontend-modern/src/utils/storageSources.ts`, and the Proxmox-native Ceph table at `frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx`. The old standalone page wrappers under the legacy frontend-modern pages directory were retired with the platform-first primary nav (2026-05-16), and the top-level aggregate Workloads / Storage / Recovery routes were unregistered on 2026-05-25; the canonical component surfaces remain alive as embedded views inside matching platform page sub-tabs. The Ceph legacy route remains a thin redirect to the Proxmox-owned Ceph tab.
+3. Add or change storage UX through `frontend-modern/src/components/Storage/Storage.tsx` (the canonical `StorageSurface`, embedded inside platform pages), `frontend-modern/src/components/Storage/`, `frontend-modern/src/features/storageBackups/`, the shared storage-source contract in `frontend-modern/src/utils/storageSources.ts`, and the Proxmox-native Ceph table at `frontend-modern/src/features/proxmox/ProxmoxCephTable.tsx`. The old standalone page wrappers under the legacy frontend-modern pages directory were retired with the platform-first primary nav (2026-05-16), and the top-level aggregate Workloads / Storage / Recovery routes were unregistered on 2026-05-25; the canonical component surfaces remain alive as embedded views inside matching platform page sub-tabs. The old top-level Ceph alias is unregistered; Proxmox owns the Ceph tab.
The retired dashboard route must not reintroduce storage or recovery
widgets as compatibility panels. Storage capacity, storage health,
protected-item, and recovery-outcome readiness claims belong on the Storage
@@ -820,11 +820,10 @@ recovery scope, or a storage/recovery-owned secret source.
commercial compatibility handoffs like `/pricing` must stay separate thin
route exits rather than borrowing storage/recovery preview framing,
first-session copy, or page-state assumptions. The same route-ownership
- rule applies to Patrol aliases on the shared app shell: `/patrol` may be
- the authenticated canonical surface while `/ai` survives only as a thin
- compatibility redirect, but storage/recovery route owners must not depend
- on or borrow that Patrol redirect path for their own preview or
- compatibility entrypoints.
+ rule applies to Patrol aliases on the shared app shell: `/patrol` is the
+ authenticated canonical surface while retired `/ai` browser entry points
+ stay unregistered, and storage/recovery route owners must not depend on or
+ borrow that retired path for their own preview or compatibility entrypoints.
The same route-ownership rule keeps retired self-hosted trial and
managed-model acquisition banners out of shared app chrome: storage and
recovery routes must not inherit commercial nudges simply because
@@ -844,10 +843,9 @@ recovery scope, or a storage/recovery-owned secret source.
may hide top-bar org chrome for public demo posture, but it must not leak
into storage/recovery preview route ownership, first-session recovery copy,
or route-level framing decisions.
- Legacy `/operations/*` entrypoints now redirect into Settings support
- surfaces. That compatibility path must stay a thin redirect in
- `frontend-modern/src/App.tsx` and must not grow a second authenticated
- shell boundary that competes with storage/recovery route ownership.
+ Retired `/operations/*` browser entry points are unregistered. They must
+ not grow a second authenticated shell boundary that competes with
+ storage/recovery route ownership.
That same shared app-shell boundary must also respect blocking shared
dialogs: background assistant affordances may hide while a modal owns the
viewport, but storage/recovery routes must not grow their own parallel
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index af069c059e..acd0242c81 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -1844,9 +1844,9 @@ builders.
That same shared routing boundary now also owns the canonical Patrol
destination used by cross-surface findings and drill-down links. Shared
dashboard, alert, and settings referrals may target `/patrol` through
-`frontend-modern/src/routing/resourceLinks.ts`, but legacy `/ai` route shapes
-must remain compatibility-only redirects rather than forked primary
-destinations in local link builders.
+`frontend-modern/src/routing/resourceLinks.ts`, but retired `/ai` browser route
+shapes must stay unregistered rather than compatibility redirects or forked
+primary destinations in local link builders.
That same shared routing boundary now also owns storage route-state vocabulary
for unified resources without restoring the retired `/storage` top-level route.
Platform pages and other embedded owners may carry owned `source`, `node`, and
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index e1ee49d8f1..ffb9afd007 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -1,6 +1,6 @@
import { Show, lazy, createSignal, createEffect, createMemo, onCleanup, onMount } from 'solid-js';
import type { JSX } from 'solid-js';
-import { Router, Route, Navigate, useNavigate, useLocation } from '@solidjs/router';
+import { Router, Route, useNavigate, useLocation } from '@solidjs/router';
import { ToastContainer } from './components/Toast/Toast';
import { ErrorBoundary } from './components/ErrorBoundary';
import { SecurityWarning } from './components/SecurityWarning';
@@ -90,7 +90,6 @@ const AIIntelligencePage = lazy(() =>
);
const NotFoundPage = lazy(() => import('./pages/NotFound'));
const PricingHandoffPage = lazy(() => import('./pages/PricingHandoff'));
-const OperationsPage = lazy(() => import('./pages/Operations'));
const SetupCompletionPreviewPage = lazy(() =>
import('./components/SetupWizard/SetupCompletionPreview').then((module) => ({
default: module.SetupCompletionPreview,
@@ -222,12 +221,6 @@ function GlobalUpdateProgressWatcher() {
}
function App() {
- const LegacyPatrolRouteRedirect = () => {
- const location = useLocation();
- const canonicalPath =
- location.pathname.replace(/^\/ai(?=\/|$)/, ROOT_PATROL_PATH) || ROOT_PATROL_PATH;
- return <Navigate href={`${canonicalPath}${location.search ?? ''}`} />;
- };
const kioskMode = useKioskMode();
const TooltipRoot = createTooltipSystem();
const runtime = useAppRuntimeState();
@@ -532,8 +525,6 @@ function App() {
<Route path="/preview/setup-complete" component={SetupCompletionPreviewPage} />
<Route path="/login" component={RuntimeHomePage} />
<Route path="/" component={RuntimeHomePage} />
- <Route path="/ceph" component={() => <Navigate href="/proxmox/ceph" />} />
- <Route path="/ceph/*" component={() => <Navigate href="/proxmox/ceph" />} />
<Route path={PROXMOX_PATH} component={ProxmoxPage} />
<Route path={`${PROXMOX_PATH}/*`} component={ProxmoxPage} />
<Route path={DOCKER_PATH} component={DockerPage} />
@@ -549,9 +540,7 @@ function App() {
<Route path="/alerts/*" component={AlertsPage} />
<Route path={`${ROOT_PATROL_PATH}/*`} component={AIIntelligencePage} />
- <Route path="/ai/*" component={LegacyPatrolRouteRedirect} />
<Route path="/settings/*" component={SettingsRoute} />
- <Route path="/operations/*" component={OperationsPage} />
<Route path="*all" component={NotFoundPage} />
</Router>
);
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index 2d774f0d6a..17db304872 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -268,7 +268,7 @@ export function AppLayout(props: AppLayoutProps) {
createEffect(() => {
if (!kioskMode()) return;
const normalizedPath = location.pathname.replace(/\/+$/, '') || '/';
- const blockedPrefixes = ['/settings', '/operations', '/patrol', '/ai'];
+ const blockedPrefixes = ['/settings', '/patrol'];
const isBlocked = blockedPrefixes.some(
(prefix) => normalizedPath === prefix || normalizedPath.startsWith(prefix + '/'),
);
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 040e72b80b..ec84c2a5af 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -52,9 +52,10 @@ describe('App architecture', () => {
expect(appSource).not.toContain('<Route path={WORKLOADS_PATH}');
expect(appSource).not.toContain('<Route path={STORAGE_PATH}');
expect(appSource).not.toContain('<Route path={RECOVERY_PATH}');
- expect(appSource).toContain(
- '<Route path="/ceph" component={() => <Navigate href="/proxmox/ceph" />} />',
- );
+ expect(appSource).not.toContain('<Route path="/ceph"');
+ expect(appSource).not.toContain('<Route path="/ceph/*"');
+ expect(appSource).not.toContain('Route, Navigate,');
+ expect(appSource).not.toContain('<Navigate ');
expect(appSource).toContain('await preloadRouteModule(route);');
expect(appRuntimeStateSource).not.toContain('preloadLazyRoutes');
expect(appRuntimeStateSource).not.toContain("import('@/pages/Alerts')");
@@ -119,7 +120,8 @@ describe('App architecture', () => {
expect(appSource).toContain(
'<Route path={`${ROOT_PATROL_PATH}/*`} component={AIIntelligencePage} />',
);
- expect(appSource).toContain('<Route path="/ai/*" component={LegacyPatrolRouteRedirect} />');
+ expect(appSource).not.toContain('LegacyPatrolRouteRedirect');
+ expect(appSource).not.toContain('<Route path="/ai/*"');
expect(appSource).toContain(
"const PricingHandoffPage = lazy(() => import('./pages/PricingHandoff'));",
);
@@ -133,7 +135,8 @@ describe('App architecture', () => {
expect(appSource).not.toContain('<Route path="/cloud" component=');
expect(appSource).not.toContain('<Route path="/cloud/signup" component=');
expect(appSource).toContain("const ProxmoxPage = lazy(() => import('./pages/Proxmox'));");
- expect(appSource).toContain("const OperationsPage = lazy(() => import('./pages/Operations'));");
+ expect(appSource).not.toContain("import('./pages/Operations')");
+ expect(appSource).not.toContain('<Route path="/operations/*"');
// Legacy page wrappers were deleted when primary nav moved to
// platform-first; their tables are reused inside platform pages directly.
expect(appSource).not.toContain("import('./pages/Storage')");
@@ -227,9 +230,8 @@ describe('App architecture', () => {
expect(appLayoutSource).not.toContain(
'<ReleaseCandidateBanner version={props.versionInfo()?.version} />',
);
- expect(appLayoutSource).toContain(
- "const blockedPrefixes = ['/settings', '/operations', '/patrol', '/ai'];",
- );
+ expect(appLayoutSource).toContain("const blockedPrefixes = ['/settings', '/patrol'];");
+ expect(appLayoutSource).not.toContain("'/operations', '/patrol', '/ai'");
expect(appLayoutSource).toContain("route: '/patrol',");
expect(appLayoutSource).not.toContain("route: '/operations',");
expect(appLayoutSource).not.toContain('props.connected()');
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 3f0e026f87..d9a7df29b7 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -12,6 +12,7 @@ import dockerRuntimeSettingsCardSource from '../DockerRuntimeSettingsCard.tsx?ra
import settingsHeaderMetaSource from '../settingsHeaderMeta.ts?raw';
import settingsNavCatalogSource from '../settingsNavCatalog.ts?raw';
import settingsNavVisibilitySource from '../settingsNavVisibility.ts?raw';
+import settingsNavigationModelSource from '../settingsNavigationModel.ts?raw';
import settingsNavigationHookSource from '../useSettingsNavigation.ts?raw';
import settingsAccessSource from '../useSettingsAccess.ts?raw';
import aiSettingsStateSource from '../useAISettingsState.ts?raw';
@@ -127,6 +128,23 @@ describe('settings architecture guardrails', () => {
);
});
+ it('keeps retired operations browser paths out of the settings routing model', () => {
+ expect(settingsNavigationModelSource).toContain(
+ "const LEGACY_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';",
+ );
+ expect(settingsNavigationModelSource).toContain('buildLegacyOperationsSettingsPath');
+ expect(settingsNavigationModelSource).not.toContain("normalizedPath === '/operations/logs'");
+ expect(settingsNavigationModelSource).not.toContain(
+ "normalizedPath.startsWith('/operations/logs/')",
+ );
+ expect(settingsNavigationModelSource).not.toContain(
+ "normalizedPath === '/operations/reporting'",
+ );
+ expect(settingsNavigationModelSource).not.toContain(
+ "normalizedPath.startsWith('/operations/reporting/')",
+ );
+ });
+
it('keeps allowed organization deep links on the canonical settings shell', () => {
expect(settingsSource).toContain("import { useSettingsAccess } from './useSettingsAccess';");
expect(settingsSource).toContain('const activeSettingsPanelEntry = createMemo(() => {');
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts
index ff42632adf..30f0d76f1b 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts
@@ -255,14 +255,18 @@ describe('settingsNavigationModel', () => {
expect(deriveTabFromPath('/settings/infrastructure/install')).toBe('infrastructure-systems');
});
- it('maps support and legacy operations routes back to support tabs', () => {
+ it('maps support and legacy settings operations routes back to support tabs', () => {
expect(deriveTabFromPath('/settings/support/diagnostics')).toBe('support-diagnostics');
expect(deriveTabFromPath('/settings/support/reporting')).toBe('support-reporting');
expect(deriveTabFromPath('/settings/support/logs')).toBe('support-logs');
- expect(buildLegacyOperationsSettingsPath('/operations')).toBe('/settings/support/diagnostics');
- expect(buildLegacyOperationsSettingsPath('/operations/reporting')).toBe(
+ expect(buildLegacyOperationsSettingsPath('/settings/operations')).toBe(
+ '/settings/support/diagnostics',
+ );
+ expect(buildLegacyOperationsSettingsPath('/settings/operations/reporting')).toBe(
'/settings/support/reporting',
);
- expect(buildLegacyOperationsSettingsPath('/operations/logs')).toBe('/settings/support/logs');
+ expect(buildLegacyOperationsSettingsPath('/settings/operations/logs')).toBe(
+ '/settings/support/logs',
+ );
});
});
diff --git a/frontend-modern/src/components/Settings/settingsNavigationModel.ts b/frontend-modern/src/components/Settings/settingsNavigationModel.ts
index 1822ed9511..6f827b3843 100644
--- a/frontend-modern/src/components/Settings/settingsNavigationModel.ts
+++ b/frontend-modern/src/components/Settings/settingsNavigationModel.ts
@@ -400,8 +400,6 @@ export function buildLegacyOperationsSettingsPath(path: string): string {
const normalizedPath = normalizeSettingsPath(path);
if (
- normalizedPath === '/operations/logs' ||
- normalizedPath.startsWith('/operations/logs/') ||
normalizedPath === `${LEGACY_SETTINGS_OPERATIONS_PREFIX}/logs` ||
normalizedPath.startsWith(`${LEGACY_SETTINGS_OPERATIONS_PREFIX}/logs/`)
) {
@@ -409,8 +407,6 @@ export function buildLegacyOperationsSettingsPath(path: string): string {
}
if (
- normalizedPath === '/operations/reporting' ||
- normalizedPath.startsWith('/operations/reporting/') ||
normalizedPath === `${LEGACY_SETTINGS_OPERATIONS_PREFIX}/reporting` ||
normalizedPath.startsWith(`${LEGACY_SETTINGS_OPERATIONS_PREFIX}/reporting/`)
) {
diff --git a/frontend-modern/src/pages/Operations.tsx b/frontend-modern/src/pages/Operations.tsx
deleted file mode 100644
index 2ec9b38611..0000000000
--- a/frontend-modern/src/pages/Operations.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Navigate, useLocation } from '@solidjs/router';
-import { buildLegacyOperationsSettingsPath } from '@/components/Settings/settingsNavigationModel';
-
-export const Operations = () => {
- const location = useLocation();
- const canonicalPath = buildLegacyOperationsSettingsPath(location.pathname);
- return <Navigate href={`${canonicalPath}${location.search ?? ''}`} />;
-};
-
-export default Operations;
diff --git a/frontend-modern/src/pages/__tests__/Operations.helpers.test.ts b/frontend-modern/src/pages/__tests__/Operations.helpers.test.ts
deleted file mode 100644
index 4f7288e01c..0000000000
--- a/frontend-modern/src/pages/__tests__/Operations.helpers.test.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { describe, expect, it } from 'vitest';
-import appSource from '@/App.tsx?raw';
-import operationsPageRouteSource from '@/pages/Operations.tsx?raw';
-import settingsNavigationModelSource from '@/components/Settings/settingsNavigationModel.ts?raw';
-
-describe('legacy operations route plumbing', () => {
- it('keeps /operations as a redirect-only compatibility page', () => {
- expect(appSource).toContain("const OperationsPage = lazy(() => import('./pages/Operations'));");
- expect(operationsPageRouteSource).toContain(
- "import { Navigate, useLocation } from '@solidjs/router';",
- );
- expect(operationsPageRouteSource).toContain(
- "import { buildLegacyOperationsSettingsPath } from '@/components/Settings/settingsNavigationModel';",
- );
- expect(operationsPageRouteSource).toContain(
- 'const canonicalPath = buildLegacyOperationsSettingsPath(location.pathname);',
- );
- expect(operationsPageRouteSource).toContain(
- "return <Navigate href={`${canonicalPath}${location.search ?? ''}`} />;",
- );
- expect(operationsPageRouteSource).not.toContain('OperationsPageSurface');
- expect(settingsNavigationModelSource).toContain(
- 'export function buildLegacyOperationsSettingsPath',
- );
- });
-});
diff --git a/frontend-modern/src/routing/__tests__/navigation.test.ts b/frontend-modern/src/routing/__tests__/navigation.test.ts
index 7db72d7f05..ede44c47b5 100644
--- a/frontend-modern/src/routing/__tests__/navigation.test.ts
+++ b/frontend-modern/src/routing/__tests__/navigation.test.ts
@@ -18,10 +18,10 @@ describe('navigation routing helpers', () => {
expect(getActiveTabForPath('/recovery')).toBeNull();
expect(getActiveTabForPath('/alerts/open')).toBe('alerts');
expect(getActiveTabForPath('/patrol')).toBe('ai');
- expect(getActiveTabForPath('/ai')).toBe('ai');
- expect(getActiveTabForPath('/operations')).toBe('settings');
- expect(getActiveTabForPath('/operations/diagnostics')).toBe('settings');
- expect(getActiveTabForPath('/operations/logs')).toBe('settings');
+ expect(getActiveTabForPath('/ai')).toBeNull();
+ expect(getActiveTabForPath('/operations')).toBeNull();
+ expect(getActiveTabForPath('/operations/diagnostics')).toBeNull();
+ expect(getActiveTabForPath('/operations/logs')).toBeNull();
expect(getActiveTabForPath('/settings/security')).toBe('settings');
});
});
diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
index a3bd64efa3..50a01431cb 100644
--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
@@ -2,7 +2,6 @@ import { describe, expect, it } from 'vitest';
import {
AGENTS_PATH,
AGENTS_DEFAULT_TAB,
- AI_PATROL_PATH,
DOCKER_PATH,
KUBERNETES_PATH,
PMG_THRESHOLDS_PATH,
@@ -32,7 +31,6 @@ import {
describe('resource link routing contract', () => {
it('keeps Patrol links on the canonical Patrol route', () => {
expect(PATROL_PATH).toBe('/patrol');
- expect(AI_PATROL_PATH).toBe(PATROL_PATH);
});
it('builds canonical Proxmox platform tab paths', () => {
diff --git a/frontend-modern/src/routing/navigation.ts b/frontend-modern/src/routing/navigation.ts
index 6fc4166b15..16058c34b7 100644
--- a/frontend-modern/src/routing/navigation.ts
+++ b/frontend-modern/src/routing/navigation.ts
@@ -29,8 +29,7 @@ export function getActiveTabForPath(path: string): ActiveAppTabId {
if (path.startsWith(VMWARE_PATH)) return 'vmware';
if (path.startsWith(AGENTS_PATH)) return 'agents';
if (path.startsWith('/alerts')) return 'alerts';
- if (path.startsWith(PATROL_PATH) || path.startsWith('/ai')) return 'ai';
+ if (path.startsWith(PATROL_PATH)) return 'ai';
if (path.startsWith('/settings')) return 'settings';
- if (path.startsWith('/operations')) return 'settings';
return null;
}
diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.ts
index 4998c1facb..824232028b 100644
--- a/frontend-modern/src/routing/resourceLinks.ts
+++ b/frontend-modern/src/routing/resourceLinks.ts
@@ -31,8 +31,6 @@ export const VMWARE_DEFAULT_TAB = 'overview';
export const PMG_THRESHOLDS_PATH = '/alerts/thresholds/mail-gateway';
export const ALERTS_OVERVIEW_PATH = '/alerts/overview';
export const PATROL_PATH = '/patrol';
-// Deprecated compatibility alias while older callers migrate off `/ai`.
-export const AI_PATROL_PATH = PATROL_PATH;
export const STORAGE_PATH = '/storage';
// Canonical "Recovery" surface (was historically called Backups).
export const RECOVERY_PATH = '/recovery';
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index 74a2269d94..f0cff9222c 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -1,4 +1,5 @@
import { describe, expect, it } from 'vitest';
+import appSource from '@/App.tsx?raw';
import resourceTypeCompatSource from '@/utils/resourceTypeCompat.ts?raw';
import discoveryTypesSource from '@/types/discovery.ts?raw';
import resourceLinksSource from '@/routing/resourceLinks.ts?raw';
@@ -140,7 +141,6 @@ import updatesPresentationSource from '@/utils/updatesPresentation.ts?raw';
import environmentLockBadgeSource from '@/components/shared/EnvironmentLockBadge.tsx?raw';
import environmentLockPresentationSource from '@/utils/environmentLockPresentation.ts?raw';
import dockerRuntimeSettingsCardSource from '@/components/Settings/DockerRuntimeSettingsCard.tsx?raw';
-import operationsPageRouteSource from '@/pages/Operations.tsx?raw';
import discoveryTargetSource from '@/utils/discoveryTarget.ts?raw';
import recoveryComponentSource from '@/components/Recovery/Recovery.tsx?raw';
import recoveryActivitySectionSource from '@/components/Recovery/RecoveryActivitySection.tsx?raw';
@@ -4305,14 +4305,8 @@ describe('frontend resource type boundaries', () => {
expect(patrolIntelligenceHeaderSource).toContain(
'!presentationPolicyHidesUpgradePrompts() && state.alertAnalysisLocked()',
);
- expect(operationsPageRouteSource).toContain(
- "import { Navigate, useLocation } from '@solidjs/router';",
- );
- expect(operationsPageRouteSource).toContain('buildLegacyOperationsSettingsPath');
- expect(operationsPageRouteSource).toContain(
- "<Navigate href={`${canonicalPath}${location.search ?? ''}`} />",
- );
- expect(operationsPageRouteSource).not.toContain('OperationsPageSurface');
+ expect(appSource).not.toContain("import('./pages/Operations')");
+ expect(appSource).not.toContain('<Route path="/operations/*"');
expect(settingsNavigationModelSource).toContain(
'export function buildLegacyOperationsSettingsPath',
);