Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Separate infrastructure subviews from systems ledger
rcourtman90c5c63cedc4
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 031b333074..9ec8d73698 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -858,6 +858,11 @@ ledger. Inline detail drawers may surface reporting-item and ignored-itemcontrols, but installer setup, platform-specific configuration, and profilemanagement must remain secondary flows rather than being dumped underneath thedefault ledger.+Those secondary infrastructure views must also replace the workspace body+rather than stacking beneath the systems ledger. When the operator opens+platform connection management, install tooling, or the legacy operations+workspace route, `InfrastructureWorkspace.tsx` must not keep the systems table+mounted above that second surface.That same lifecycle-owned platform-connections workspace must keep API-backedprovider state operationally useful, not CRUD-only. `TrueNASSettingsPanel.tsx`and `useTrueNASSettingsPanelState.ts` must surface the shared runtime health,diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex ce75a8923c..f887959e52 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -222,6 +222,10 @@ work extends shared components instead of creating new local variants.workspaces, and profile management remain secondary flows opened by explicitdeep links or drawers instead of being dumped inline underneath the defaulttable.+ Those deep-linked secondary views must replace the body below the shared+ page header instead of keeping the systems ledger mounted above them, so the+ same system or connection context is not duplicated once in the default+ ledger and again inside a secondary management workspace.6. Keep Proxmox deep-link route selection on the shared settings-navigation boundary. `frontend-modern/src/components/Settings/settingsNavigationModel.ts` and `frontend-modern/src/components/Settings/useSettingsNavigation.ts` must treat the canonical PBS and PMG Proxmox deep links as agent-selection authority even though those URLs resolve to the shared `infrastructure-operations` tab. Reloading or remounting on a PBS or PMG deep link must not silently fall back to the PVE selector state.7. Keep shared storage feature presenters on canonical platform truth. When reusable storage presenters under `frontend-modern/src/features/storageBackups/` classify canonical resources for the shared storage route, API-backed virtualization datastores such as VMware must stay inventory-only datastores instead of inheriting PBS-specific backup-repository or protected-target copy from older fallback branches.8. Keep shared source/platform vocabulary on the governed manifest boundary. `frontend-modern/src/utils/platformSupportManifest.generated.ts` must be the tracked frontend projection of `docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json`, `frontend-modern/src/utils/platformSupportManifest.ts`, `frontend-modern/src/utils/sourcePlatforms.ts`, and `frontend-modern/src/utils/sourcePlatformOptions.ts` must consume that generated projection instead of embedding divergent future-label lists, setup/onboarding path allowlists, or presentation-only guesses, and `frontend-modern/scripts/canonical-platform-audit.mjs` must fail when the generated projection drifts from the governed manifest.diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsxindex efdf7cec4a..02a57b6968 100644--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx@@ -1,4 +1,4 @@-import { Component, Show, createEffect, createMemo, createSignal } from 'solid-js';+import { Component, Match, Show, Switch, createEffect, createMemo, createSignal } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';import { Dialog } from '@/components/shared/Dialog';import { presentationPolicyIsReadOnly } from '@/stores/sessionPresentationPolicy';@@ -28,20 +28,6 @@ import {export type InfrastructureWorkspaceProps = InfrastructurePlatformSettingsProps;-const scrollSectionIntoView = (section?: HTMLDivElement) => {- if (- typeof window === 'undefined' ||- !section ||- typeof section.scrollIntoView !== 'function'- ) {- return;- }-- window.requestAnimationFrame(() => {- section.scrollIntoView({ block: 'start', behavior: 'smooth' });- });-};-const proxmoxRouteForKind = (kind: 'pve' | 'pbs' | 'pmg') =>`/settings/infrastructure/platforms/proxmox/${kind}`;@@ -55,10 +41,6 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =const [pickerOpen, setPickerOpen] = createSignal(false);const [profilesOpen, setProfilesOpen] = createSignal(false);- let inventorySectionRef: HTMLDivElement | undefined;- let platformSectionRef: HTMLDivElement | undefined;- let installSectionRef: HTMLDivElement | undefined;-const rows = createMemo<InfrastructureSystemRow[]>(() =>buildInfrastructureSystemRows({activeRows: state.activeRows(),@@ -71,10 +53,7 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =: [{label: 'Manage connections',- onSelect: () => {- navigate(buildInfrastructureWorkspacePath('platforms'));- scrollSectionIntoView(platformSectionRef);- },+ onSelect: () => navigate(buildInfrastructureWorkspacePath('platforms')),tone: 'secondary' as const,},{@@ -105,7 +84,6 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =props.setModalResetKey((value) => value + 1);props.setShowNodeModal(true);navigate(proxmoxRouteForKind(nodeKind));- scrollSectionIntoView(platformSectionRef);};const handleAddSystem = (choice: AddSystemChoice) => {@@ -113,21 +91,18 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =if (choice.kind === 'agent') {navigate(buildInfrastructureWorkspacePath('install'));- scrollSectionIntoView(installSectionRef);return;}if (choice.kind === 'truenas') {props.trueNASSettings.openCreateDialog();navigate('/settings/infrastructure/platforms/truenas');- scrollSectionIntoView(platformSectionRef);return;}if (choice.kind === 'vmware') {props.vmwareSettings.openCreateDialog();navigate('/settings/infrastructure/platforms/vmware');- scrollSectionIntoView(platformSectionRef);return;}@@ -152,36 +127,18 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =createEffect(() => {if (readOnlyWorkspace() && activeView() !== 'inventory') {navigate(buildInfrastructureWorkspacePath('inventory'), { replace: true });- return;- }-- const view = activeView();- if (view === 'inventory') {- return;- }-- if (view === 'operations') {- scrollSectionIntoView(inventorySectionRef);- return;- }-- if (view === 'platforms') {- scrollSectionIntoView(platformSectionRef);- return;- }-- if (view === 'install') {- scrollSectionIntoView(installSectionRef);}});return (<div class="space-y-8">- <ConnectionsTable- rows={rows}- headerActions={headerActions()}- onManageRow={(row) => handleManageAction(row.manage)}- />+ <Show when={activeView() === 'inventory'}>+ <ConnectionsTable+ rows={rows}+ headerActions={headerActions()}+ onManageRow={(row) => handleManageAction(row.manage)}+ />+ </Show><AddSystemPickerisOpen={pickerOpen()}@@ -227,23 +184,19 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =</Show></Dialog>- <Show when={activeView() === 'operations'}>- <div ref={inventorySectionRef}>+ <Switch>+ <Match when={activeView() === 'operations'}><InfrastructureInventorySection />- </div>- </Show>+ </Match>- <Show when={!readOnlyWorkspace() && activeView() === 'platforms'}>- <div ref={platformSectionRef} class="space-y-6">+ <Match when={!readOnlyWorkspace() && activeView() === 'platforms'}><PlatformConnectionsWorkspace {...props} />- </div>- </Show>+ </Match>- <Show when={!readOnlyWorkspace() && activeView() === 'install'}>- <div ref={installSectionRef}>+ <Match when={!readOnlyWorkspace() && activeView() === 'install'}><InfrastructureInstallerSection />- </div>- </Show>+ </Match>+ </Switch></div>);};diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex 691af0ab5d..91555aa85c 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -251,10 +251,12 @@ describe('InfrastructureWorkspace', () => {mockPathname = '/settings/infrastructure/platforms/truenas';renderWorkspace();- expect(screen.getByText('Systems')).toBeInTheDocument();+ expect(screen.queryByText('Systems')).toBeNull();expect(screen.getByTestId('platform-section')).toBeInTheDocument();expect(screen.queryByTestId('inventory-section')).toBeNull();expect(screen.queryByTestId('install-section')).toBeNull();+ expect(screen.queryByRole('button', { name: 'Manage connections' })).toBeNull();+ expect(screen.queryByRole('button', { name: 'Agent profiles' })).toBeNull();expect(screen.queryByTestId('agent-profiles')).toBeNull();});@@ -262,10 +264,11 @@ describe('InfrastructureWorkspace', () => {mockPathname = '/settings/infrastructure/install';renderWorkspace();- expect(screen.getByText('Systems')).toBeInTheDocument();+ expect(screen.queryByText('Systems')).toBeNull();expect(screen.getByTestId('install-section')).toBeInTheDocument();expect(screen.queryByTestId('inventory-section')).toBeNull();expect(screen.queryByTestId('platform-section')).toBeNull();+ expect(screen.queryByRole('button', { name: 'Manage connections' })).toBeNull();});it('opens agent profiles in a dedicated drawer instead of inline', () => {