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.

Clarify aggregate workspace routes

rcourtmanc9be4c86f29c
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 6bdb4fa872..43ef3aae7a 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -662,23 +662,26 @@ runtime cost control, and shared AI transport surfaces.
## Current State
-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, 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 the
-AI-adjacent shell and must not be kept as disabled placeholders. The legacy
-`/infrastructure`, `/workloads`, `/storage`, `/recovery`, and `/ceph` route
-shells were retired alongside their page wrappers. The AI Chat launcher, the
-Patrol surfaces, and the `AssistantHandoffPayload` deep links must use
-platform routes (`/proxmox/overview`, `/proxmox/storage`,
-`/kubernetes/workloads`, etc.) as canonical anchors rather than the retired
-top-level paths; adding a
-platform tab through the same shell files must not fork Assistant or Patrol
-shell state or smuggle in AI-owned platform reads.
+Primary nav moved to governed platform/runtime destinations on 2026-05-16 and
+was clarified on 2026-05-25 through `frontend-modern/src/App.tsx` and
+`frontend-modern/src/AppLayout.tsx`: the top of the app may expose canonical
+platform pages (Proxmox, Kubernetes, TrueNAS, vSphere) plus the
+container-runtime lens (shown as Containers for Docker / Podman), aggregate
+Workloads / Storage / Recovery workspaces, Alerts, Patrol, and Settings.
+Provider/runtime destinations must pass the shared support-and-resource-
+evidence gate before they appear in navigation, command palette entries,
+keyboard shortcuts, or landing fallbacks. Aggregate workspace tabs are
+first-class product surfaces, 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, and `/ceph` remains only a
+thin redirect to `/proxmox/ceph`. The AI Chat launcher, Patrol surfaces, and
+`AssistantHandoffPayload` deep links must use canonical platform or aggregate
+workspace routes (`/proxmox/overview`, `/proxmox/storage`,
+`/kubernetes/workloads`, `/workloads`, `/storage`, `/recovery`, etc.) rather
+than reviving retired Infrastructure paths; adding a platform tab through the
+same shell files must not fork Assistant or Patrol shell state or smuggle in
+AI-owned platform reads.
Post-auth `/` and `/login` resolution follows that same provider-first
platform order, with Agents only as the agent-only fallback, so the
assistant-capable shell never treats Agents or legacy Infrastructure as the
diff --git a/docs/release-control/v6/internal/subsystems/alerts.md b/docs/release-control/v6/internal/subsystems/alerts.md
index 3a21c57041..f038bc08d1 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -146,7 +146,7 @@ The alert resource-incident panel
(`frontend-modern/src/features/alerts/AlertResourceIncidentsPanel.tsx`)
dropped its "Open in Infrastructure / Workloads / Storage / Recovery"
cross-jump chip strip on 2026-05-16 when the surrounding platform-first
-migration retired the underlying top-level routes. The panel now keeps
+migration retired broad surface-link chips. The panel now keeps
investigation flow in-place through `IncidentAssistantHandoffButton` and the
shared incident-timeline cards; it must not reintroduce a chip strip that
links to the retired top-level routes, and the supporting
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 327351fdd1..3082cb900d 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -509,19 +509,18 @@ or other self-hosted uncapped continuity plans.
from the governed support manifest plus canonical resource evidence in
`state.resources`. Admitted-only, presentation-only, unsupported, or
absent platform families must not render as disabled placeholders in the
- paid or hosted app shell. Infrastructure, Workloads, Storage, and Recovery
- are not duplicated as equal primary tabs in that list; their tables are
- reused inside the platform pages via embedded
- `tableOnly` surfaces, and their routes remain wired in `App.tsx` purely
- for deep-link compatibility. Each platform page must remain chrome-only:
+ paid or hosted app shell. Infrastructure is not an equal primary tab in
+ that list. Workloads, Storage, and Recovery are explicit aggregate
+ workspace tabs, while their component surfaces also remain reusable inside
+ platform pages via embedded `tableOnly` surfaces. Each platform page must
+ remain chrome-only:
routing plus sub-tab navigation that embeds the canonical
`WorkloadsSurface`, `StorageSurface`, `RecoverySurface`, or
`UnifiedResourceTable` in `embedded tableOnly` mode with a forced
platform/source filter. The shell must not introduce dashboard cards,
bespoke per-family tables, synthetic placeholder data, or reintroduce
- Infrastructure / Workloads / Storage / Recovery as equal
- primary navigation entries without a governed contract decision recorded
- here.
+ Infrastructure as a primary navigation entry without a governed contract
+ decision recorded here.
The presence of an `Agents` tab is not a new commercial usage unit:
hosted and paid surfaces continue to meter the governed monitored-system
grouping result rather than counting primary navigation destinations.
@@ -673,9 +672,10 @@ follow the same canonical home. The hosted bootstrap / activation / recovery
routes (`/pricing`, `/preview/setup-complete`, `/login`, settings panels
under `/settings/...`) are unchanged. Pricing-handoff and hosted-signup
upgrade paths must use platform routes as their canonical "back to product"
-destination instead of the retired top-level Infrastructure / Workloads /
-Storage / Recovery pages. The Docker / Podman runtime route remains `/docker`
-for compatibility and search familiarity, but the shell may label the
+destination instead of the retired top-level Infrastructure route; aggregate
+Workloads / Storage / Recovery pages are product workspaces, not hosted
+acquisition destinations. The Docker / Podman runtime route remains `/docker`
+for search familiarity, but the shell may label the
destination as Containers so it reads as a runtime lens rather than an owning
infrastructure platform.
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 364bc60599..bee675356d 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -463,12 +463,12 @@ not a replacement status card, CTA band, or page-local nested card.
the Cloud control plane rather than a local in-product trial page.
The former top-level `/infrastructure` operator route never shipped as a
stable v6 surface and must remain unregistered instead of being kept as a
- compatibility redirect. Other retired top-level operator routes such as
- `/workloads`, `/storage`, `/recovery`, and `/ceph` may remain registered in
- `frontend-modern/src/App.tsx` only as thin routes into their owning product
- surfaces or canonical redirect targets. They must not become preloaded
- primary nav tabs, duplicate app shells, or local `NotFound` fallbacks for
- still-supported operator destinations.
+ compatibility redirect. `/workloads`, `/storage`, and `/recovery` are
+ explicit aggregate workspace routes owned by their product surfaces and the
+ authenticated shell; they must appear through the same navigation, command
+ palette, shortcut, route-preload, and active-tab owners as other first-class
+ destinations rather than lingering as hidden compatibility routes. `/ceph`
+ remains a thin redirect to the Proxmox-owned Ceph tab.
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
@@ -1093,9 +1093,9 @@ not a replacement status card, CTA band, or page-local nested card.
families stay hidden rather than rendering as disabled placeholders.
The `MOBILE_NAV_PLATFORM_PRIORITY` ordering in
`frontend-modern/src/components/shared/mobileNavBarModel.ts` mirrors
- that platform-first set so mobile and desktop primary navigation stay
- aligned; legacy Infrastructure / Workloads / Storage / Recovery entries
- are intentionally absent from that priority list.
+ that platform-first set plus the aggregate Workloads / Storage / Recovery
+ workspace tabs, so mobile and desktop navigation stay aligned while the
+ legacy Infrastructure entry remains absent from that priority list.
The support-manifest `agent` platform may be presented as `Agents` in the
same shell. Its primary tab, mobile priority, command-palette destination,
and keyboard shortcut must all route through `buildAgentsPath()` and the
@@ -1416,8 +1416,8 @@ not a replacement status card, CTA band, or page-local nested card.
responsibilities: the shared route preload inventory must stay module-only,
while chart payload warming must route through the route or interaction that
renders the chart. `frontend-modern/src/useAppRuntimeState.ts` must not
- prewarm retired Infrastructure or Workloads summary-chart caches as a
- generic authenticated-shell side effect.
+ prewarm retired Infrastructure summary-chart caches or eager Workloads
+ chart caches as a generic authenticated-shell side effect.
24. Keep relay settings shell copy on the shared presentation owner in
`frontend-modern/src/utils/relayPresentation.ts`. The route metadata in
`settingsHeaderMeta.ts` and the leading `SettingsPanel` in
@@ -1574,23 +1574,26 @@ in-place through their existing handoff buttons and inline actions. Future
cross-surface drilldown chips must not reanimate the legacy helpers.
Command palette and keyboard shortcuts moved to platform-first on 2026-05-16
+and aggregate-workspace ownership was clarified on 2026-05-25
(`frontend-modern/src/components/shared/commandPaletteModel.ts`,
`frontend-modern/src/components/shared/useCommandPaletteState.ts`,
`frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx`,
`frontend-modern/src/hooks/useKeyboardShortcuts.ts`,
`frontend-modern/src/routing/routePreload.ts`,
-`frontend-modern/src/routing/navigation.ts`). The legacy `nav-infrastructure`,
-`nav-workloads`, `nav-storage`, and `nav-recovery` palette entries — together
-with the `g i` / `g w` / `g s` / `g b` chord bindings — were retired and
-replaced with `nav-proxmox`, `nav-docker`, `nav-kubernetes`, `nav-truenas`,
-`nav-vmware` (chords `g p` / `g d` / `g k` / `g n` / `g v`) plus a dedicated
-`nav-kubernetes-workloads` entry that lands on `/kubernetes/workloads`. The shell
-preload set and `getActiveTabForPath` matcher no longer recognize the legacy
-top-level routes. New palette commands and shortcut chords must therefore
-anchor on canonical platform routes and must flow through the same platform
-visibility model as primary navigation; do not reintroduce hidden platform
-families or top-level Infrastructure / Workloads / Storage / Recovery entries
-by reanimating the legacy paths.
+`frontend-modern/src/routing/navigation.ts`). The legacy
+`nav-infrastructure` palette entry and `g i` chord remain retired with the
+unregistered Infrastructure route. `nav-workloads`, `nav-storage`, and
+`nav-recovery` are first-class aggregate workspace commands; Workloads and
+Storage own the `g w` / `g s` chord bindings, while Recovery is available
+through visible navigation and the command palette. Platform commands remain
+`nav-proxmox`, `nav-docker`, `nav-kubernetes`, `nav-truenas`, `nav-vmware`
+(chords `g p` / `g d` / `g k` / `g n` / `g v`) plus a dedicated
+`nav-kubernetes-workloads` entry that lands on `/kubernetes/workloads`.
+The route-module preload registry and `getActiveTabForPath` matcher must
+recognize the aggregate workspace routes as owned destinations. New palette
+commands and shortcut chords must flow through the same shell owners; do not
+reintroduce hidden platform families or the retired top-level Infrastructure
+entry by reanimating legacy paths.
The shared table chrome now allows `TableCardHeader` to expose a right-aligned
action slot, currently used by the Workloads/Proxmox metric display control.
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 73eb51d2da..b46febdd6a 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -613,20 +613,24 @@ shell clickable behind another overlay.
2s dial / 1s read with at most 5 concurrent fingerprints so the probe
endpoint cannot be repurposed into a slow-leak scanner that starves the
dashboard hot path.
- Platform-first top-level pages must remain in the app-shell route
- preload registry. `frontend-modern/src/routing/routePreload.ts` carries
- a `ROUTE_PRELOADERS` entry per supported platform (Agents, Proxmox plus
- the Docker, Kubernetes, TrueNAS, and vSphere families) so first-paint
- navigation between platform tabs stays warm and does not depend on a
- cold dynamic import after the user clicks. New supported platform
- families must extend that registry rather than skipping the preload
- hot path; presentation-only platforms must not be registered. Preload
- entries may warm route modules, but they must not trigger additional
- unfiltered resource fetches, metrics-history fan-out, or provider scans
- before the destination page owns its normal data query. The preload order
- follows the provider-first shell order as a hot-path hint: Proxmox remains
- ahead of Agents when both surfaces are available, while Agents stays in
- the preload set so agent-only estates still get a warm first destination.
+ Platform-first and aggregate workspace top-level pages must remain in the
+ app-shell route preload registry. `frontend-modern/src/routing/routePreload.ts`
+ carries a `ROUTE_PRELOADERS` entry per supported platform (Agents, Proxmox
+ plus the Docker, Kubernetes, TrueNAS, and vSphere families) and per
+ first-class aggregate workspace (Workloads, Storage, and Recovery) so
+ first-paint navigation between visible shell tabs stays warm and does not
+ depend on a cold dynamic import after the user clicks. New supported
+ platform families or first-class aggregate workspaces must extend that
+ registry rather than skipping the preload hot path; presentation-only or
+ retired routes must not be registered. Preload entries may warm route
+ modules, but they must not trigger additional unfiltered resource fetches,
+ metrics-history fan-out, recovery-history fan-out, storage scans, or
+ provider scans before the destination page owns its normal data query. The
+ preload order follows the provider-first shell order as a hot-path hint:
+ Proxmox remains ahead of Agents when both surfaces are available, while
+ Agents stays in the preload set so agent-only estates still get a warm
+ first destination; aggregate workspace entries are addressable for
+ hover/click warming without becoming generic app-bootstrap data work.
The authenticated app shell must not separately prewarm retired
Infrastructure or Workloads chart caches as a generic side effect; those
chart fetches belong to the route that renders the chart surface or to the
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 73b5eed628..a74622d657 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -181,12 +181,13 @@ recovery scope, or a storage/recovery-owned secret source.
1. Add or change recovery-point persistence, rollups, or series derivation through `internal/recovery/`
2. Add or change recovery page UX through `frontend-modern/src/components/Recovery/` and keep canonical route/query/filter state ownership in `frontend-modern/src/features/recovery/useRecoverySurfaceState.ts`
- `/recovery` remains a supported authenticated operator destination even
- when Recovery is not a primary platform tab. Route compatibility in
- `frontend-modern/src/App.tsx` must render the canonical Recovery surface
- rather than `NotFound`, and `/storage` compatibility must likewise render
- the Storage owner surface instead of duplicating storage/recovery state in
- the app shell.
+ `/recovery` is a first-class authenticated aggregate workspace.
+ `frontend-modern/src/App.tsx`, `frontend-modern/src/AppLayout.tsx`, the command
+ palette, keyboard shortcuts, route preloading, and active-tab routing must
+ treat Recovery as canonical product navigation rather than hidden
+ compatibility. `/storage` has the same aggregate-workspace status for the
+ Storage owner surface. The app shell may route to those surfaces, but it
+ must not duplicate storage/recovery state outside their owning components.
Recovery table surfaces must consume the frontend-primitives-owned
`TableCard` frame and `TableCardHeader` header band for protected-item,
recovery-event, and adjacent table-fallback chrome. Storage/recovery may own
@@ -256,7 +257,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 standalone Storage, Ceph, and Recovery route shells under the legacy frontend-modern pages directory were retired with the platform-first primary nav (2026-05-16); the underlying surfaces stay alive as embedded views inside the matching platform page sub-tabs through `frontend-modern/src/pages/Proxmox.tsx`.
+3. Add or change storage UX through `frontend-modern/src/components/Storage/Storage.tsx` (the canonical `StorageSurface`, embedded inside platform pages and mounted by the aggregate Storage workspace), `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); the canonical component surfaces remain alive both as aggregate Workloads / Storage / Recovery workspaces and as embedded views inside matching platform page sub-tabs. The Ceph legacy route remains a thin redirect to the Proxmox-owned 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
@@ -854,7 +855,7 @@ recovery scope, or a storage/recovery-owned secret source.
top-level tabs are warm after authentication, but it must not fetch storage
summary charts, recovery history, provider state, or preview data from
`frontend-modern/src/App.tsx` itself. The shared runtime bootstrap must
- likewise avoid prewarming retired Infrastructure or Workloads chart caches
+ likewise avoid prewarming Infrastructure or Workloads chart caches
as a generic authenticated-shell side effect; storage/recovery chart data
stays owned by the route or interaction that renders it.
The shared app shell's authenticated landing and primary-tab routing may
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 559c6c030a..71735def89 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -995,8 +995,8 @@ icon
(`frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx`)
and the PBS "Open Recovery Events" link
(`frontend-modern/src/components/Infrastructure/serviceDetailLinks.ts`) were
-removed because they targeted the retired `/workloads` and `/recovery` route
-shells; the workloads-href helper module
+removed because they were drawer-local cross-jump chips into broad aggregate
+workspaces rather than platform-aware resource actions; the workloads-href helper module
(`frontend-modern/src/components/Infrastructure/workloadsLink.ts`) was deleted
in the same pass. The K8s Namespaces and Deployments drawer "Open Pods" /
"View Pods" buttons
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index ee1c9eabcc..40ba547d59 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -45,6 +45,7 @@ import {
PATROL_PATH,
PROXMOX_PATH,
RECOVERY_PATH,
+ STORAGE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
WORKLOADS_PATH,
@@ -52,7 +53,6 @@ import {
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
- buildStoragePath,
buildTrueNASPath,
buildVmwarePath,
} from './routing/resourceLinks';
@@ -115,7 +115,6 @@ const SetupCompletionPreviewPage = lazy(() =>
})),
);
const ROOT_PATROL_PATH = PATROL_PATH;
-const STORAGE_PATH = buildStoragePath();
const PRIMARY_INFRASTRUCTURE_ROUTE_BY_ID: Record<PrimaryInfrastructureNavId, string> = {
proxmox: buildProxmoxPath(),
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index e537255e11..95dcbb9df9 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -11,6 +11,9 @@ import ServerIcon from 'lucide-solid/icons/server';
import ShipWheelIcon from 'lucide-solid/icons/ship-wheel';
import DatabaseIcon from 'lucide-solid/icons/database';
import CpuIcon from 'lucide-solid/icons/cpu';
+import BoxesIcon from 'lucide-solid/icons/boxes';
+import HardDriveIcon from 'lucide-solid/icons/hard-drive';
+import RotateCcwIcon from 'lucide-solid/icons/rotate-ccw';
import { ProxmoxIcon } from '@/components/icons/ProxmoxIcon';
import {
MobileNavBar,
@@ -40,8 +43,11 @@ import {
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildRecoveryPath,
+ buildStoragePath,
buildTrueNASPath,
buildVmwarePath,
+ buildWorkloadsPath,
} from '@/routing/resourceLinks';
import { getKioskModePreference, setKioskMode } from '@/utils/url';
import { updateStore } from '@/stores/updates';
@@ -57,6 +63,9 @@ const ROOT_KUBERNETES_PATH = buildKubernetesPath();
const ROOT_TRUENAS_PATH = buildTrueNASPath();
const ROOT_VMWARE_PATH = buildVmwarePath();
const ROOT_AGENTS_PATH = buildAgentsPath();
+const ROOT_WORKLOADS_PATH = buildWorkloadsPath();
+const ROOT_STORAGE_PATH = buildStoragePath();
+const ROOT_RECOVERY_PATH = buildRecoveryPath();
const ROOT_ALERTS_PATH = '/alerts';
const NAV_TAB_ICON_CLASS = 'w-4 h-4 shrink-0';
const AI_CHAT_LAUNCHER_BUTTON_CLASS =
@@ -212,6 +221,9 @@ export function AppLayout(props: AppLayoutProps) {
truenas: 'TrueNAS',
vmware: 'vSphere',
agents: 'Agents',
+ workloads: 'Workloads',
+ storage: 'Storage',
+ recovery: 'Recovery',
alerts: 'Alerts',
ai: 'Patrol',
settings: 'Settings',
@@ -320,13 +332,9 @@ export function AppLayout(props: AppLayoutProps) {
const getActiveTabDesktop = () => getActiveTabForPath(location.pathname);
const getActiveTabMobile = () => getActiveTabForPath(location.pathname);
- // 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
- // purely for route-compatibility with existing deep links.
+ // Platform/runtime 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.
const primaryTabs = createMemo<PrimaryTab[]>(() => {
const visible = infrastructureNavigationVisibility();
const isVisible = (id: PrimaryTab['id']) =>
@@ -403,6 +411,44 @@ export function AppLayout(props: AppLayoutProps) {
return allPrimaryTabs.filter((tab) => tab.alwaysShow || tab.enabled);
});
+ const workspaceTabs = createMemo<PrimaryTab[]>(() => [
+ {
+ id: 'workloads',
+ label: 'Workloads',
+ route: ROOT_WORKLOADS_PATH,
+ settingsRoute: '/settings/infrastructure',
+ tooltip: 'Aggregate workload inventory across VMs, containers, and Kubernetes resources',
+ enabled: true,
+ live: true,
+ icon: BoxesIcon,
+ alwaysShow: true,
+ },
+ {
+ id: 'storage',
+ label: 'Storage',
+ route: ROOT_STORAGE_PATH,
+ settingsRoute: '/settings/infrastructure',
+ tooltip: 'Aggregate storage pools, disks, datastores, and capacity posture',
+ enabled: true,
+ live: true,
+ icon: HardDriveIcon,
+ alwaysShow: true,
+ },
+ {
+ id: 'recovery',
+ label: 'Recovery',
+ route: ROOT_RECOVERY_PATH,
+ settingsRoute: '/settings/system-recovery',
+ tooltip: 'Backup, snapshot, replication, and recovery-point activity',
+ enabled: true,
+ live: true,
+ icon: RotateCcwIcon,
+ alwaysShow: true,
+ },
+ ]);
+
+ const mobilePrimaryTabs = createMemo<PrimaryTab[]>(() => [...primaryTabs(), ...workspaceTabs()]);
+
const utilityTabs = createMemo(() => {
const allAlerts = props.state().activeAlerts || [];
const breakdown = allAlerts.reduce(
@@ -508,6 +554,59 @@ export function AppLayout(props: AppLayoutProps) {
return tab.settingsRoute;
};
+ const renderPrimaryNavigationTab = (tab: PrimaryTab) => {
+ const isActive = () => getActiveTabDesktop() === tab.id;
+ const disabled = () => !tab.enabled;
+ const Icon = tab.icon;
+ const baseClasses =
+ 'tab relative px-1.5 sm:px-3 py-1.5 text-xs sm:text-sm font-medium flex items-center gap-1 sm:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
+
+ const className = () => {
+ if (isActive()) {
+ return `${baseClasses} bg-surface text-blue-600 dark:text-blue-400 border-border border-b border-b-surface shadow-sm font-semibold`;
+ }
+ if (disabled()) {
+ return `${baseClasses} cursor-not-allowed text-muted opacity-70 bg-base`;
+ }
+ return `${baseClasses} text-muted hover:text-base-content hover:bg-surface-hover`;
+ };
+
+ const title = () =>
+ disabled() ? `${tab.label} is not configured yet. Click to open settings.` : tab.tooltip;
+
+ return (
+ <div
+ class={className()}
+ role="tab"
+ tabIndex={0}
+ aria-label={tab.label}
+ aria-disabled={disabled()}
+ onMouseEnter={() => warmNavigationTarget(getPrimaryTargetRoute(tab))}
+ onClick={() => handlePrimaryClick(tab)}
+ onKeyDown={(event) => {
+ if (event.key === 'Enter' || event.key === ' ') {
+ event.preventDefault();
+ handlePrimaryClick(tab);
+ }
+ }}
+ title={title()}
+ >
+ <span aria-hidden="true" class="inline-flex items-center justify-center">
+ <Icon class={NAV_TAB_ICON_CLASS} />
+ </span>
+ <span class="hidden xs:inline-flex items-center gap-1">
+ <span>{tab.label}</span>
+ <Show when={tab.badge}>
+ <span class="px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-muted bg-surface-hover rounded">
+ {tab.badge}
+ </span>
+ </Show>
+ </span>
+ <span class="xs:hidden">{tab.label.charAt(0)}</span>
+ </div>
+ );
+ };
+
return (
<div
class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-20 lg:pb-0' : ''}`}
@@ -692,62 +791,10 @@ export function AppLayout(props: AppLayoutProps) {
aria-label="Primary navigation"
>
<div class="flex items-end gap-1" role="group" aria-label="Infrastructure">
- <For each={primaryTabs()}>
- {(tab) => {
- const isActive = () => getActiveTabDesktop() === tab.id;
- const disabled = () => !tab.enabled;
- const Icon = tab.icon;
- const baseClasses =
- 'tab relative px-1.5 sm:px-3 py-1.5 text-xs sm:text-sm font-medium flex items-center gap-1 sm:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
-
- const className = () => {
- if (isActive()) {
- return `${baseClasses} bg-surface text-blue-600 dark:text-blue-400 border-border border-b border-b-surface shadow-sm font-semibold`;
- }
- if (disabled()) {
- return `${baseClasses} cursor-not-allowed text-muted opacity-70 bg-base`;
- }
- return `${baseClasses} text-muted hover:text-base-content hover:bg-surface-hover`;
- };
-
- const title = () =>
- disabled()
- ? `${tab.label} is not configured yet. Click to open settings.`
- : tab.tooltip;
-
- return (
- <div
- class={className()}
- role="tab"
- tabIndex={0}
- aria-label={tab.label}
- aria-disabled={disabled()}
- onMouseEnter={() => warmNavigationTarget(getPrimaryTargetRoute(tab))}
- onClick={() => handlePrimaryClick(tab)}
- onKeyDown={(event) => {
- if (event.key === 'Enter' || event.key === ' ') {
- event.preventDefault();
- handlePrimaryClick(tab);
- }
- }}
- title={title()}
- >
- <span aria-hidden="true" class="inline-flex items-center justify-center">
- <Icon class={NAV_TAB_ICON_CLASS} />
- </span>
- <span class="hidden xs:inline-flex items-center gap-1">
- <span>{tab.label}</span>
- <Show when={tab.badge}>
- <span class="px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-muted bg-surface-hover rounded">
- {tab.badge}
- </span>
- </Show>
- </span>
- <span class="xs:hidden">{tab.label.charAt(0)}</span>
- </div>
- );
- }}
- </For>
+ <For each={primaryTabs()}>{renderPrimaryNavigationTab}</For>
+ </div>
+ <div class="flex items-end gap-1 pl-1 sm:pl-3" role="group" aria-label="Workspaces">
+ <For each={workspaceTabs()}>{renderPrimaryNavigationTab}</For>
</div>
<div class="flex items-end gap-1 ml-auto" role="group" aria-label="System">
<div class="flex items-end gap-1 pl-1 sm:pl-4">
@@ -847,7 +894,7 @@ export function AppLayout(props: AppLayoutProps) {
<Show when={!kioskMode()}>
<MobileNavBar
activeTab={getActiveTabMobile}
- primaryTabs={primaryTabs}
+ primaryTabs={mobilePrimaryTabs}
utilityTabs={utilityTabs}
onPrimaryClick={handlePrimaryClick}
onUtilityClick={handleUtilityClick}
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 3ca4660688..bfd680d016 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -36,14 +36,14 @@ describe('App architecture', () => {
expect(routePreloadSource).toContain('export const APP_SHELL_ROUTE_PRELOAD_PATHS = [');
expect(routePreloadSource).toContain('ROOT_PROXMOX_PATH,');
expect(routePreloadSource).toContain('PATROL_PATH,');
- // Legacy top-level routes (Infrastructure/Workloads/Storage/Recovery/Ceph)
- // were retired as primary nav tabs when navigation moved to platform-first.
// Infrastructure never shipped as a stable top-level route, so it must not
- // remain wired as a hidden compatibility surface.
+ // remain wired as a hidden compatibility surface. Workloads, Storage, and
+ // Recovery are explicit aggregate workspaces and must be owned by the shell
+ // instead of lingering as hidden routes.
expect(routePreloadSource).not.toContain('ROOT_INFRASTRUCTURE_PATH');
- expect(routePreloadSource).not.toContain('ROOT_WORKLOADS_PATH');
- expect(routePreloadSource).not.toContain('RECOVERY_ROUTE_PATH');
- expect(routePreloadSource).not.toContain('STORAGE_PATH');
+ expect(routePreloadSource).toContain("id: 'workloads',");
+ expect(routePreloadSource).toContain("id: 'storage',");
+ expect(routePreloadSource).toContain("id: 'recovery',");
expect(appSource).not.toContain('const InfrastructurePage = lazy(');
expect(appSource).not.toContain("import('./features/infrastructure/InfrastructurePageSurface')");
expect(appSource).not.toContain('component={InfrastructurePage}');
@@ -98,10 +98,10 @@ describe('App architecture', () => {
expect(appLayoutSource).toContain(
"tooltip: 'Standalone Pulse Agent machines, OS telemetry, storage, and command eligibility'",
);
- // Governed platform/runtime primary nav: Infrastructure / Workloads /
- // Storage / Recovery are not duplicated as equal primary tab
- // entries, and the Docker / Podman route is presented as the Containers
- // runtime lens in shell chrome.
+ // Governed shell nav: Infrastructure is not a standalone tab; the
+ // aggregate Workloads / Storage / Recovery destinations are first-class
+ // workspace tabs, and Docker / Podman is presented as the Containers
+ // runtime lens.
expect(appSource).toContain('getDefaultWorkspaceRoute');
expect(appSource).toContain('infrastructureNavigationResolved');
expect(appSource).toContain('buildPrimaryInfrastructureNavigationVisibility');
@@ -110,7 +110,10 @@ describe('App architecture', () => {
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).toContain("id: 'workloads',");
+ expect(appLayoutSource).toContain("id: 'storage',");
+ expect(appLayoutSource).toContain("id: 'recovery',");
+ expect(appLayoutSource).toContain("aria-label=\"Workspaces\"");
expect(appLayoutSource).not.toContain('buildStorageRecoveryTabSpecs(');
expect(appSource).not.toContain('DashboardPage');
expect(headerAuditSource).not.toContain("['src/pages/Dashboard.tsx', 'PageHeader']");
@@ -354,7 +357,9 @@ describe('App architecture', () => {
expect(routePreloadSource).not.toContain("import('@/pages/Recovery')");
expect(routePreloadSource).not.toContain("import('@/pages/Storage')");
expect(routePreloadSource).not.toContain("import('@/pages/Ceph')");
- expect(routePreloadSource).not.toContain("import('@/components/Workloads/WorkloadsSurface')");
+ expect(routePreloadSource).toContain("import('@/components/Workloads/WorkloadsSurface')");
+ expect(routePreloadSource).toContain("import('@/components/Storage/Storage')");
+ expect(routePreloadSource).toContain("import('@/components/Recovery/Recovery')");
expect(routePreloadSource).not.toContain("import('@/pages/RecoveryRoute')");
expect(appRuntimeContextSource).toContain(
"import { createContext, useContext } from 'solid-js';",
diff --git a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
index 16b9650ce8..6c9d510d77 100644
--- a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
+++ b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx
@@ -206,8 +206,8 @@ describe('FindingsPanel resource links', () => {
expect(
screen.getByText('Nextcloud is unreachable for users until readiness recovers.'),
).toBeInTheDocument();
- // The cross-jump chips to /infrastructure?resource=... and
- // /workloads?... were retired with the platform-first migration;
+ // Broad cross-jump chips into /infrastructure and aggregate workspaces
+ // were retired with the platform-first migration;
// Patrol findings now stay in place inside the panel.
expect(
screen.queryByRole('link', { name: 'Open related infrastructure for Nextcloud' }),
diff --git a/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts b/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts
index 58b11cc33d..b4e113da89 100644
--- a/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts
+++ b/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts
@@ -661,11 +661,10 @@ describe('aiFindingPresentation', () => {
expect(findingsPanelSource).toContain('href={action().href}');
});
- it('does not cross-jump expanded findings to the retired top-level Infrastructure/Workloads/Storage/Recovery routes', () => {
+ it('does not cross-jump expanded findings to broad Infrastructure or aggregate workspace routes', () => {
// The platform-first migration retired buildResolvedResourceSurfaceLinks
- // alongside the standalone /infrastructure, /workloads, /storage, and
- // /recovery routes; Patrol findings now stay in place rather than
- // offering external surface jumps.
+ // and the broad surface-link chips; Patrol findings now stay in place
+ // rather than offering external surface jumps.
expect(findingsPanelSource).not.toContain("from '@/hooks/useResources'");
expect(findingsPanelSource).not.toContain('buildResolvedResourceSurfaceLinks');
expect(findingsPanelSource).not.toContain('useResources()');
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts
index c5a57b6de0..4d9b1a1e0e 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts
+++ b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts
@@ -124,7 +124,7 @@ describe('resourceDetailDrawerOperationalModel', () => {
it('returns no cross-jump links for docker-host resources after the platform-first migration', () => {
// Surface link injection through buildResourceSurfaceLinksForResource was
- // retired with the standalone /workloads, /storage, /recovery routes;
+ // retired with the old broad cross-surface chip strip;
// only service-detail links (PMG thresholds) remain.
expect(
buildRelatedLinks(
diff --git a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
index 593c014a1e..4eb3c45206 100644
--- a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
+++ b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
@@ -25,6 +25,8 @@ const UNIFIED_NAV_SHORTCUTS: ShortcutGroup = {
{ keys: 'g then k', description: 'Go to Kubernetes' },
{ keys: 'g then n', description: 'Go to TrueNAS' },
{ keys: 'g then v', description: 'Go to vSphere' },
+ { keys: 'g then w', description: 'Go to Workloads' },
+ { keys: 'g then s', description: 'Go to Storage' },
{ keys: 'g then a', description: 'Go to Alerts' },
{ keys: 'g then r', description: 'Go to Patrol' },
{ keys: 'g then t', description: 'Go to Settings' },
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index d77ca0a278..9b14dafc1e 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -312,12 +312,12 @@ describe('shared primitive guardrails', () => {
expect(commandPaletteStateSource).toContain('createSignal');
expect(commandPaletteStateSource).toContain('buildProxmoxPath');
expect(commandPaletteStateSource).toContain('export function useCommandPaletteState');
- // Legacy navigation entries (Infrastructure / Workloads / Storage /
- // Recovery) were retired when primary nav moved to platform-first.
+ // Infrastructure was retired when shell navigation moved to explicit
+ // platform and aggregate workspace destinations.
expect(commandPaletteStateSource).not.toContain('buildInfrastructurePath');
- expect(commandPaletteStateSource).not.toContain('buildWorkloadsPath');
- expect(commandPaletteStateSource).not.toContain('buildStoragePath');
- expect(commandPaletteStateSource).not.toContain('buildRecoveryPath');
+ expect(commandPaletteStateSource).toContain('buildWorkloadsPath');
+ expect(commandPaletteStateSource).toContain('buildStoragePath');
+ expect(commandPaletteStateSource).toContain('buildRecoveryPath');
expect(commandPaletteModelSource).toContain('buildCommandPaletteCommands');
expect(commandPaletteModelSource).toContain('normalizeCommandPaletteQuery');
diff --git a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
index 69c3939d91..5aae16f315 100644
--- a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
@@ -61,13 +61,12 @@ describe('CommandPaletteModal', () => {
expect(commandPaletteStateSource).toContain('buildProxmoxPath');
expect(commandPaletteStateSource).toContain('export function useCommandPaletteState');
- // Legacy navigation entries (Infrastructure / Workloads / Storage / Recovery)
- // were retired when primary nav moved to platform-first. The palette
- // exposes the platform pages directly instead.
+ // Infrastructure was retired when route ownership moved to explicit
+ // platform and aggregate workspace destinations.
expect(commandPaletteStateSource).not.toContain('buildInfrastructurePath');
- expect(commandPaletteStateSource).not.toContain('buildWorkloadsPath');
- expect(commandPaletteStateSource).not.toContain('buildStoragePath');
- expect(commandPaletteStateSource).not.toContain('buildRecoveryPath');
+ expect(commandPaletteStateSource).toContain('buildWorkloadsPath');
+ expect(commandPaletteStateSource).toContain('buildStoragePath');
+ expect(commandPaletteStateSource).toContain('buildRecoveryPath');
expect(commandPaletteModelSource).toContain('buildCommandPaletteCommands');
expect(commandPaletteModelSource).toContain('normalizeCommandPaletteQuery');
@@ -81,9 +80,9 @@ describe('CommandPaletteModal', () => {
expect(commandPaletteModelSource).toContain("id: 'nav-vmware'");
expect(commandPaletteModelSource).toContain("id: 'nav-vmware-networks'");
expect(commandPaletteModelSource).not.toContain("id: 'nav-infrastructure'");
- expect(commandPaletteModelSource).not.toContain("id: 'nav-workloads'");
- expect(commandPaletteModelSource).not.toContain("id: 'nav-storage'");
- expect(commandPaletteModelSource).not.toContain("id: 'nav-recovery'");
+ expect(commandPaletteModelSource).toContain("id: 'nav-workloads'");
+ expect(commandPaletteModelSource).toContain("id: 'nav-storage'");
+ expect(commandPaletteModelSource).toContain("id: 'nav-recovery'");
});
it('renders platform entries, runtime lens commands, and vSphere network inventory', () => {
@@ -100,6 +99,12 @@ describe('CommandPaletteModal', () => {
expect(screen.getByText('Go to Containers')).toBeInTheDocument();
expect(screen.getByText('Go to Kubernetes Workloads')).toBeInTheDocument();
expect(screen.getByText('/kubernetes/workloads')).toBeInTheDocument();
+ expect(screen.getByText('Go to Workloads')).toBeInTheDocument();
+ expect(screen.getByText('/workloads')).toBeInTheDocument();
+ expect(screen.getByText('Go to Storage')).toBeInTheDocument();
+ expect(screen.getByText('/storage')).toBeInTheDocument();
+ expect(screen.getByText('Go to Recovery')).toBeInTheDocument();
+ expect(screen.getByText('/recovery')).toBeInTheDocument();
expect(screen.getByText('Go to vSphere')).toBeInTheDocument();
expect(screen.getByText('Go to vSphere Networks')).toBeInTheDocument();
expect(screen.getByText('/vmware/networks')).toBeInTheDocument();
@@ -142,6 +147,22 @@ describe('CommandPaletteModal', () => {
expect(onClose).toHaveBeenCalledTimes(1);
});
+ it('navigates to aggregate workspace routes', async () => {
+ const onClose = vi.fn();
+ render(() => (
+ <CommandPaletteModal
+ isOpen={true}
+ onClose={onClose}
+ infrastructureVisibility={infrastructureVisibility}
+ />
+ ));
+
+ await fireEvent.click(screen.getByText('Go to Storage'));
+
+ expect(navigateMock).toHaveBeenCalledWith('/storage');
+ expect(onClose).toHaveBeenCalledTimes(1);
+ });
+
it('uses the shared search input and keeps Enter selection behavior', async () => {
const onClose = vi.fn();
render(() => (
@@ -174,6 +195,9 @@ describe('CommandPaletteModal', () => {
));
expect(screen.getByText('Go to Proxmox')).toBeInTheDocument();
+ expect(screen.getByText('Go to Workloads')).toBeInTheDocument();
+ expect(screen.getByText('Go to Storage')).toBeInTheDocument();
+ expect(screen.getByText('Go to Recovery')).toBeInTheDocument();
expect(screen.queryByText('Go to Agents')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Containers')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Kubernetes')).not.toBeInTheDocument();
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index 015a5fa663..a3e01760ae 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -16,6 +16,7 @@ const AgentsIcon: Component<{ class?: string }> = (props) => <span class={props.
const ProxmoxIcon: Component<{ class?: string }> = (props) => <span class={props.class}>PX</span>;
const WorkloadsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>WO</span>;
const StorageIcon: Component<{ class?: string }> = (props) => <span class={props.class}>ST</span>;
+const RecoveryIcon: Component<{ class?: string }> = (props) => <span class={props.class}>RC</span>;
const AlertsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>AL</span>;
const SettingsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>SE</span>;
const PatrolIcon: Component<{ class?: string }> = (props) => (
@@ -48,10 +49,10 @@ describe('MobileNavBar', () => {
expect(mobileNavBarModelSource).toContain("'kubernetes'");
expect(mobileNavBarModelSource).toContain("'truenas'");
expect(mobileNavBarModelSource).toContain("'vmware'");
+ expect(mobileNavBarModelSource).toContain("'workloads'");
+ expect(mobileNavBarModelSource).toContain("'storage'");
+ expect(mobileNavBarModelSource).toContain("'recovery'");
expect(mobileNavBarModelSource).not.toContain("'infrastructure'");
- expect(mobileNavBarModelSource).not.toContain("'workloads'");
- expect(mobileNavBarModelSource).not.toContain("'storage'");
- expect(mobileNavBarModelSource).not.toContain("'recovery'");
});
it('keeps decorative icon labels out of mobile tab accessible names', () => {
@@ -83,7 +84,7 @@ describe('MobileNavBar', () => {
expect(within(navList).queryByRole('button', { name: 'Pulse Patrol Patrol' })).toBeNull();
});
- it('allows retired shell routes to render without an active mobile tab', () => {
+ it('allows inactive workspace tabs to render without an active mobile tab', () => {
const { container } = render(() => (
<MobileNavBar
activeTab={() => null}
@@ -177,6 +178,17 @@ describe('MobileNavBar', () => {
icon: StorageIcon,
alwaysShow: true,
},
+ {
+ id: 'recovery',
+ label: 'Recovery',
+ route: '/recovery',
+ settingsRoute: '/settings/system-recovery',
+ tooltip: 'Recovery',
+ enabled: true,
+ live: true,
+ icon: RecoveryIcon,
+ alwaysShow: true,
+ },
]}
utilityTabs={() => [
{
@@ -217,8 +229,9 @@ describe('MobileNavBar', () => {
expect(buttons[1]).toHaveAttribute('data-tab-id', 'agents');
expect(buttons[2]).toHaveAttribute('data-tab-id', 'workloads');
expect(buttons[3]).toHaveAttribute('data-tab-id', 'storage');
- expect(buttons[4]).toHaveAttribute('data-tab-id', 'alerts');
- expect(buttons[5]).toHaveAttribute('data-tab-id', 'settings');
+ expect(buttons[4]).toHaveAttribute('data-tab-id', 'recovery');
+ expect(buttons[5]).toHaveAttribute('data-tab-id', 'alerts');
+ expect(buttons[6]).toHaveAttribute('data-tab-id', 'settings');
expect(screen.getByText('2')).toBeInTheDocument();
expect(screen.getByText('3')).toBeInTheDocument();
diff --git a/frontend-modern/src/components/shared/commandPaletteModel.ts b/frontend-modern/src/components/shared/commandPaletteModel.ts
index 69b2711072..6c543dc045 100644
--- a/frontend-modern/src/components/shared/commandPaletteModel.ts
+++ b/frontend-modern/src/components/shared/commandPaletteModel.ts
@@ -24,6 +24,9 @@ export type CommandPaletteCommandPaths = {
dockerPath: string;
kubernetesPath: string;
kubernetesWorkloadsPath: string;
+ workloadsPath: string;
+ storagePath: string;
+ recoveryPath: string;
trueNasPath: string;
vmwarePath: string;
vmwareNetworksPath: string;
@@ -120,6 +123,32 @@ export function buildCommandPaletteCommands(options: {
});
}
+ commands.push(
+ {
+ id: 'nav-workloads',
+ label: 'Go to Workloads',
+ description: options.paths.workloadsPath,
+ shortcut: 'g w',
+ keywords: ['workloads', 'vms', 'containers', 'pods', 'inventory'],
+ action: () => options.navigate(options.paths.workloadsPath),
+ },
+ {
+ id: 'nav-storage',
+ label: 'Go to Storage',
+ description: options.paths.storagePath,
+ shortcut: 'g s',
+ keywords: ['storage', 'pools', 'disks', 'datastores', 'capacity'],
+ action: () => options.navigate(options.paths.storagePath),
+ },
+ {
+ id: 'nav-recovery',
+ label: 'Go to Recovery',
+ description: options.paths.recoveryPath,
+ keywords: ['recovery', 'backups', 'snapshots', 'replication', 'protection'],
+ action: () => options.navigate(options.paths.recoveryPath),
+ },
+ );
+
commands.push(
{
id: 'nav-alerts',
diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.ts
index 3c3ce167e6..dda0a705be 100644
--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts
+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts
@@ -41,6 +41,9 @@ const MOBILE_NAV_PRIMARY_PRIORITY = [
'truenas',
'vmware',
'agents',
+ 'workloads',
+ 'storage',
+ 'recovery',
] as const;
const MOBILE_NAV_UTILITY_PRIORITY = ['alerts', 'ai', 'settings'] as const;
diff --git a/frontend-modern/src/components/shared/useCommandPaletteState.ts b/frontend-modern/src/components/shared/useCommandPaletteState.ts
index 28855c7db9..4f904aad3f 100644
--- a/frontend-modern/src/components/shared/useCommandPaletteState.ts
+++ b/frontend-modern/src/components/shared/useCommandPaletteState.ts
@@ -5,8 +5,11 @@ import {
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildRecoveryPath,
+ buildStoragePath,
buildTrueNASPath,
buildVmwarePath,
+ buildWorkloadsPath,
} from '@/routing/resourceLinks';
import {
buildCommandPaletteCommands,
@@ -30,6 +33,9 @@ export function useCommandPaletteState(props: CommandPaletteModalProps) {
dockerPath: buildDockerPath(),
kubernetesPath: buildKubernetesPath(),
kubernetesWorkloadsPath: buildKubernetesPath('workloads'),
+ workloadsPath: buildWorkloadsPath(),
+ storagePath: buildStoragePath(),
+ recoveryPath: buildRecoveryPath(),
trueNasPath: buildTrueNASPath(),
vmwarePath: buildVmwarePath(),
vmwareNetworksPath: buildVmwarePath('networks'),
diff --git a/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx b/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx
index 209a1ab045..97edd64f29 100644
--- a/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx
+++ b/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx
@@ -22,10 +22,9 @@ describe('AlertResourceIncidentsPanel', () => {
vi.restoreAllMocks();
});
- it('does not surface cross-jump links to the retired top-level routes', () => {
- // Surface link chips to /infrastructure?resource=...,
- // /workloads?type=...&platform=..., /storage?source=..., and
- // /recovery?platform=... were retired with the platform-first migration.
+ it('does not surface broad cross-jump links from incident details', () => {
+ // Surface link chips into /infrastructure and broad aggregate workspaces
+ // were retired with the platform-first migration.
render(() => (
<AlertResourceIncidentsPanel
state={
diff --git a/frontend-modern/src/hooks/useKeyboardShortcuts.ts b/frontend-modern/src/hooks/useKeyboardShortcuts.ts
index 6dfa210651..7199267fc0 100644
--- a/frontend-modern/src/hooks/useKeyboardShortcuts.ts
+++ b/frontend-modern/src/hooks/useKeyboardShortcuts.ts
@@ -5,8 +5,10 @@ import {
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildStoragePath,
buildTrueNASPath,
buildVmwarePath,
+ buildWorkloadsPath,
} from '@/routing/resourceLinks';
import {
createEmptyInfrastructureNavigationVisibility,
@@ -98,6 +100,8 @@ export function useKeyboardShortcuts(options: KeyboardShortcutsOptions = {}) {
);
return {
...infrastructureRoutes,
+ w: buildWorkloadsPath(),
+ s: buildStoragePath(),
a: '/alerts',
r: '/patrol',
t: '/settings',
diff --git a/frontend-modern/src/pages/__tests__/Alerts.helpers.test.ts b/frontend-modern/src/pages/__tests__/Alerts.helpers.test.ts
index 934e0c7d35..292a20008d 100644
--- a/frontend-modern/src/pages/__tests__/Alerts.helpers.test.ts
+++ b/frontend-modern/src/pages/__tests__/Alerts.helpers.test.ts
@@ -470,9 +470,9 @@ describe('tab path helpers', () => {
);
expect(alertResourceIncidentsPanelSource).toContain('IncidentEventFilters');
expect(alertResourceIncidentsPanelSource).toContain('IncidentTimelineEventCard');
- // Cross-jump links to the legacy top-level Infrastructure / Workloads /
- // Storage / Recovery routes were retired with the platform-first
- // migration; the incidents panel no longer renders surface-link chips.
+ // Broad cross-jump chips into Infrastructure or aggregate workspaces were
+ // retired with the platform-first migration; the incidents panel no
+ // longer renders surface-link chips.
expect(alertResourceIncidentsPanelSource).not.toContain('buildResolvedResourceSurfaceLinks');
expect(alertResourceIncidentsPanelSource).not.toContain('allowInfrastructureFallback');
expect(alertResourceIncidentsPanelSource).not.toContain('buildInfrastructureResourceLink');
diff --git a/frontend-modern/src/routing/__tests__/navigation.test.ts b/frontend-modern/src/routing/__tests__/navigation.test.ts
index 847a0a515e..517212dcd6 100644
--- a/frontend-modern/src/routing/__tests__/navigation.test.ts
+++ b/frontend-modern/src/routing/__tests__/navigation.test.ts
@@ -9,13 +9,13 @@ describe('navigation routing helpers', () => {
expect(getActiveTabForPath('/agents/overview')).toBe('agents');
expect(getActiveTabForPath('/proxmox')).toBe('proxmox');
expect(getActiveTabForPath('/proxmox/storage')).toBe('proxmox');
- // Legacy top-level routes (/infrastructure, /workloads, /storage,
- // /recovery, /ceph) were retired when primary nav moved to platform-first.
+ // Infrastructure and Ceph are not standalone tabs. The aggregate
+ // Workloads, Storage, and Recovery workspaces remain first-class tabs.
expect(getActiveTabForPath('/infrastructure')).toBeNull();
- expect(getActiveTabForPath('/workloads?type=pod')).toBeNull();
- expect(getActiveTabForPath('/storage')).toBeNull();
+ expect(getActiveTabForPath('/workloads?type=pod')).toBe('workloads');
+ expect(getActiveTabForPath('/storage')).toBe('storage');
expect(getActiveTabForPath('/ceph')).toBeNull();
- expect(getActiveTabForPath('/recovery')).toBeNull();
+ expect(getActiveTabForPath('/recovery')).toBe('recovery');
expect(getActiveTabForPath('/alerts/open')).toBe('alerts');
expect(getActiveTabForPath('/patrol')).toBe('ai');
expect(getActiveTabForPath('/ai')).toBe('ai');
diff --git a/frontend-modern/src/routing/__tests__/platformTabs.test.ts b/frontend-modern/src/routing/__tests__/platformTabs.test.ts
deleted file mode 100644
index 2094575b78..0000000000
--- a/frontend-modern/src/routing/__tests__/platformTabs.test.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { describe, expect, it } from 'vitest';
-import { buildRecoveryPath, buildStoragePath } from '@/routing/resourceLinks';
-import { buildStorageRecoveryTabSpecs } from '@/routing/platformTabs';
-
-describe('buildStorageRecoveryTabSpecs', () => {
- it('returns canonical storage and recovery tabs', () => {
- const specs = buildStorageRecoveryTabSpecs();
- expect(specs).toHaveLength(2);
- expect(specs.map((spec) => spec.id)).toEqual(['storage', 'recovery']);
- expect(specs.map((spec) => spec.label)).toEqual(['Storage', 'Recovery']);
- expect(specs.map((spec) => spec.route)).toEqual([buildStoragePath(), buildRecoveryPath()]);
- expect(specs.map((spec) => spec.settingsRoute)).toEqual([
- '/settings/infrastructure',
- '/settings/system-recovery',
- ]);
- expect(specs.every((spec) => spec.badge === undefined)).toBe(true);
- });
-});
diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
index 14b7a78a65..a3bd64efa3 100644
--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
@@ -25,6 +25,7 @@ import {
parseStorageLinkSearch,
parseWorkloadsLinkSearch,
STORAGE_QUERY_PARAMS,
+ STORAGE_PATH,
WORKLOADS_QUERY_PARAMS,
} from '@/routing/resourceLinks';
@@ -120,6 +121,7 @@ describe('resource link routing contract', () => {
});
it('builds and parses storage query params', () => {
+ expect(STORAGE_PATH).toBe('/storage');
const href = buildStoragePath({
tab: 'disks',
group: 'storage',
diff --git a/frontend-modern/src/routing/__tests__/routePreload.test.ts b/frontend-modern/src/routing/__tests__/routePreload.test.ts
index b69144ccbd..9d036f2c57 100644
--- a/frontend-modern/src/routing/__tests__/routePreload.test.ts
+++ b/frontend-modern/src/routing/__tests__/routePreload.test.ts
@@ -8,7 +8,7 @@ describe('route preloading', () => {
expect(APP_SHELL_ROUTE_PRELOAD_PATHS).toContain(buildProxmoxPath());
});
- it('keeps all cold top-level app shell targets in the shared preload set', () => {
+ it('keeps the eager authenticated-shell preload set bounded', () => {
expect([...APP_SHELL_ROUTE_PRELOAD_PATHS]).toEqual([
buildProxmoxPath(),
buildAgentsPath(),
diff --git a/frontend-modern/src/routing/navigation.ts b/frontend-modern/src/routing/navigation.ts
index 6fc4166b15..81de723ea6 100644
--- a/frontend-modern/src/routing/navigation.ts
+++ b/frontend-modern/src/routing/navigation.ts
@@ -4,8 +4,11 @@ import {
KUBERNETES_PATH,
PATROL_PATH,
PROXMOX_PATH,
+ RECOVERY_PATH,
+ STORAGE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
+ WORKLOADS_PATH,
} from './resourceLinks';
export type AppTabId =
@@ -15,6 +18,9 @@ export type AppTabId =
| 'kubernetes'
| 'truenas'
| 'vmware'
+ | 'workloads'
+ | 'storage'
+ | 'recovery'
| 'alerts'
| 'ai'
| 'settings';
@@ -28,6 +34,9 @@ export function getActiveTabForPath(path: string): ActiveAppTabId {
if (path.startsWith(TRUENAS_PATH)) return 'truenas';
if (path.startsWith(VMWARE_PATH)) return 'vmware';
if (path.startsWith(AGENTS_PATH)) return 'agents';
+ if (path.startsWith(WORKLOADS_PATH)) return 'workloads';
+ if (path.startsWith(STORAGE_PATH)) return 'storage';
+ if (path.startsWith(RECOVERY_PATH)) return 'recovery';
if (path.startsWith('/alerts')) return 'alerts';
if (path.startsWith(PATROL_PATH) || path.startsWith('/ai')) return 'ai';
if (path.startsWith('/settings')) return 'settings';
diff --git a/frontend-modern/src/routing/platformTabs.ts b/frontend-modern/src/routing/platformTabs.ts
deleted file mode 100644
index 10e7a58432..0000000000
--- a/frontend-modern/src/routing/platformTabs.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import { buildRecoveryPath, buildStoragePath } from './resourceLinks';
-
-export type StorageRecoveryTabSpec = {
- id: 'storage' | 'recovery';
- label: string;
- route: string;
- settingsRoute: string;
- tooltip: string;
- badge?: 'preview';
-};
-
-/**
- * Returns the canonical Storage + Recovery tab specs for the platform nav.
- * Legacy dual-tab modes were removed in SB5-05.
- */
-export function buildStorageRecoveryTabSpecs(): StorageRecoveryTabSpec[] {
- return [
- {
- id: 'storage',
- label: 'Storage',
- route: buildStoragePath(),
- settingsRoute: '/settings/infrastructure',
- tooltip: 'Storage pools, disks, and datastores',
- },
- {
- id: 'recovery',
- label: 'Recovery',
- route: buildRecoveryPath(),
- settingsRoute: '/settings/system-recovery',
- tooltip: 'Backup, snapshot, and replication activity',
- },
- ];
-}
diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.ts
index 2a1abe0923..4998c1facb 100644
--- a/frontend-modern/src/routing/resourceLinks.ts
+++ b/frontend-modern/src/routing/resourceLinks.ts
@@ -33,6 +33,7 @@ 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';
@@ -250,7 +251,7 @@ export const buildStoragePath = (options: StorageLinkOptions = {}): string => {
if (summaryGroup) params.set(STORAGE_QUERY_PARAMS.summaryGroup, summaryGroup);
const serialized = params.toString();
- return serialized ? `/storage?${serialized}` : '/storage';
+ return serialized ? `${STORAGE_PATH}?${serialized}` : STORAGE_PATH;
};
export const parseRecoveryLinkSearch = (search: string) => {
diff --git a/frontend-modern/src/routing/routePreload.ts b/frontend-modern/src/routing/routePreload.ts
index 3231ab655d..8d99e466b0 100644
--- a/frontend-modern/src/routing/routePreload.ts
+++ b/frontend-modern/src/routing/routePreload.ts
@@ -6,8 +6,11 @@ import {
KUBERNETES_PATH,
PATROL_PATH,
PROXMOX_PATH,
+ RECOVERY_PATH,
+ STORAGE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
+ WORKLOADS_PATH,
} from '@/routing/resourceLinks';
type RoutePreloader = {
@@ -70,6 +73,21 @@ const ROUTE_PRELOADERS: readonly RoutePreloader[] = [
matches: (route) => route === AGENTS_PATH || route.startsWith(`${AGENTS_PATH}/`),
preload: () => import('@/pages/Agents').then(() => undefined),
},
+ {
+ id: 'workloads',
+ matches: (route) => route === WORKLOADS_PATH || route.startsWith(`${WORKLOADS_PATH}/`),
+ preload: () => import('@/components/Workloads/WorkloadsSurface').then(() => undefined),
+ },
+ {
+ id: 'storage',
+ matches: (route) => route === STORAGE_PATH || route.startsWith(`${STORAGE_PATH}/`),
+ preload: () => import('@/components/Storage/Storage').then(() => undefined),
+ },
+ {
+ id: 'recovery',
+ matches: (route) => route === RECOVERY_PATH || route.startsWith(`${RECOVERY_PATH}/`),
+ preload: () => import('@/components/Recovery/Recovery').then(() => undefined),
+ },
{
id: 'alerts',
matches: (route) => route === ALERTS_PATH || route.startsWith(`${ALERTS_PATH}/`),
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index c4577b9c49..9627250ad2 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -771,8 +771,6 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx",
"frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsx",
"frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts",
- "frontend-modern/src/features/infrastructure/__tests__/InfrastructurePageSurface.guardrails.test.ts",
- "frontend-modern/src/features/infrastructure/__tests__/infrastructurePageModel.test.ts",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesAutoscalingTable.test.tsx",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesClustersTable.test.tsx",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesConfigTable.test.tsx",
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 97a5aeeed0..e2f01113b5 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -192,66 +192,6 @@ class SubsystemLookupTest(unittest.TestCase):
"shared-component-guardrails",
)
- def test_lookup_paths_assigns_infrastructure_page_route_state_to_unified_resources(self) -> None:
- result = lookup_paths(
- ["frontend-modern/src/features/infrastructure/useInfrastructurePageRouteState.ts"]
- )
- self.assertEqual(result["unowned_runtime_files"], [])
- self.assertEqual(
- {item["subsystem"] for item in result["impacted_subsystems"]},
- {"unified-resources"},
- )
- file_entry = result["files"][0]
- self.assertEqual(file_entry["classification"], "runtime")
- self.assertEqual(
- {match["subsystem"] for match in file_entry["matches"]},
- {"unified-resources"},
- )
- match = file_entry["matches"][0]
- self.assertEqual(
- match["contract"],
- "docs/release-control/v6/internal/subsystems/unified-resources.md",
- )
- self.assertEqual(match["lane_context"]["lane_id"], "L13")
- self.assertEqual(
- match["verification_requirement"]["id"],
- "resource-consumers",
- )
- self.assertIn(
- "frontend-modern/src/features/infrastructure/__tests__/InfrastructurePageSurface.guardrails.test.ts",
- match["verification_requirement"]["exact_files"],
- )
-
- def test_lookup_paths_assigns_infrastructure_page_model_to_unified_resources(self) -> None:
- result = lookup_paths(
- ["frontend-modern/src/features/infrastructure/infrastructurePageModel.ts"]
- )
- self.assertEqual(result["unowned_runtime_files"], [])
- self.assertEqual(
- {item["subsystem"] for item in result["impacted_subsystems"]},
- {"unified-resources"},
- )
- file_entry = result["files"][0]
- self.assertEqual(file_entry["classification"], "runtime")
- self.assertEqual(
- {match["subsystem"] for match in file_entry["matches"]},
- {"unified-resources"},
- )
- match = file_entry["matches"][0]
- self.assertEqual(
- match["contract"],
- "docs/release-control/v6/internal/subsystems/unified-resources.md",
- )
- self.assertEqual(match["lane_context"]["lane_id"], "L13")
- self.assertEqual(
- match["verification_requirement"]["id"],
- "resource-consumers",
- )
- self.assertIn(
- "frontend-modern/src/features/infrastructure/__tests__/infrastructurePageModel.test.ts",
- match["verification_requirement"]["exact_files"],
- )
-
def test_lookup_paths_assigns_resource_detail_drawer_service_model_to_unified_resources(self) -> None:
result = lookup_paths(
["frontend-modern/src/components/Infrastructure/resourceDetailDrawerServiceModel.ts"]
@@ -4809,8 +4749,6 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx",
"frontend-modern/src/features/docker/__tests__/DockerPageSurface.test.tsx",
"frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts",
- "frontend-modern/src/features/infrastructure/__tests__/InfrastructurePageSurface.guardrails.test.ts",
- "frontend-modern/src/features/infrastructure/__tests__/infrastructurePageModel.test.ts",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesAutoscalingTable.test.tsx",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesClustersTable.test.tsx",
"frontend-modern/src/features/kubernetes/__tests__/KubernetesConfigTable.test.tsx",