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
Drive infrastructure catalog grouping from platform manifest
rcourtman1cad23fd4c50
diff --git a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.jsonindex fbb142cbd8..4bb2b24904 100644--- a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json+++ b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json@@ -12,6 +12,7 @@"platforms": [{"id": "agent",+ "family": "Pulse-managed host","governance_state": "supported","onboarding_paths": ["install-workspace"],"ui_label": "Agent",@@ -22,6 +23,7 @@},{"id": "docker",+ "family": "Container runtime","governance_state": "supported","onboarding_paths": ["install-workspace"],"ui_label": "Containers",@@ -32,6 +34,7 @@},{"id": "kubernetes",+ "family": "Cluster runtime","governance_state": "supported","onboarding_paths": ["install-workspace"],"ui_label": "K8s",@@ -42,6 +45,7 @@},{"id": "proxmox-pve",+ "family": "Proxmox","governance_state": "supported","onboarding_paths": ["platform-connections"],"ui_label": "PVE",@@ -52,6 +56,7 @@},{"id": "proxmox-pbs",+ "family": "Proxmox","governance_state": "supported","onboarding_paths": ["platform-connections"],"ui_label": "PBS",@@ -62,6 +67,7 @@},{"id": "proxmox-pmg",+ "family": "Proxmox","governance_state": "supported","onboarding_paths": ["platform-connections"],"ui_label": "PMG",@@ -72,6 +78,7 @@},{"id": "truenas",+ "family": "TrueNAS","governance_state": "supported","onboarding_paths": ["platform-connections"],"ui_label": "TrueNAS",@@ -82,6 +89,7 @@},{"id": "vmware-vsphere",+ "family": "VMware","governance_state": "admitted","onboarding_paths": ["platform-connections"],"ui_label": "vSphere",@@ -92,6 +100,7 @@},{"id": "unraid",+ "family": "Unraid","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "Unraid",@@ -102,6 +111,7 @@},{"id": "synology-dsm",+ "family": "Synology","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "Synology",@@ -112,6 +122,7 @@},{"id": "microsoft-hyperv",+ "family": "Hyper-V","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "Hyper-V",@@ -122,6 +133,7 @@},{"id": "aws",+ "family": "AWS","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "AWS",@@ -132,6 +144,7 @@},{"id": "azure",+ "family": "Azure","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "Azure",@@ -142,6 +155,7 @@},{"id": "gcp",+ "family": "GCP","governance_state": "presentation-only","onboarding_paths": [],"ui_label": "GCP",diff --git a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.mdindex 6d53bfa973..a603a44f2e 100644--- a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md+++ b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md@@ -1,6 +1,6 @@# Pulse v6 Platform Support Model-Last updated: 2026-03-31+Last updated: 2026-04-21Status: ACTIVEThis file is the canonical governed model for platform support in Pulse v6.@@ -225,12 +225,13 @@ Rules:`PLATFORM_SUPPORT_MANIFEST.json` is the machine-readable projection of thesupported, admitted, and presentation-only platform vocabulary declared here,-plus the canonical onboarding-path classification for supported and admitted-platforms. Tests and shared frontend vocabulary may consume that manifest, and-the tracked frontend projection in+plus the canonical platform-family and onboarding-path classification for+supported and admitted platforms. Tests and shared frontend vocabulary may+consume that manifest, and the tracked frontend projection in`frontend-modern/src/utils/platformSupportManifest.generated.ts` must begenerated from it, but neither projection may introduce platform ids or-governance states or onboarding paths that are not declared in this document.+governance states or platform families or onboarding paths that are not+declared in this document.### Runtime variantsdiff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 84b3b65a41..3d4a591e63 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -1010,12 +1010,20 @@ add-infrastructure landing in `ConnectionEditor.tsx`: when the target can runthe Unified Agent, the landing must lead with the platform-API probe andpicker as the primary catalog story while keeping the host-install path in aseparate secondary section instead of teaching one provider-specific shortcut-as the frame for the whole screen. Product-specific host advantages such as-Proxmox auto-registration may be explained inside that host-install section,-but they must not become the headline copy or top visual weight for the-shared add-infrastructure landing. Returning `Back to catalog` must reset-probe input and result state rather than reopening the landing with stale-no-match or detected-product state already rendered.+as the frame for the whole screen. That top-level catalog must also collapse+the Proxmox family into one peer entry rather than rendering Proxmox VE, PBS,+and PMG as three separate first-class tiles beside VMware and TrueNAS; after+the operator picks that family, the shared editor may present a second-step+Proxmox product chooser before entering the inline credential slot. The shared+grouping membership for that catalog belongs to the governed platform-support+manifest family model rather than lane-local UI lists. Product-specific host+advantages such as Proxmox auto-registration may be explained inside that+host-install section, but they must not become the headline copy or top+visual weight for the shared add-infrastructure landing. Returning `Back to+catalog` must reset probe input and result state rather than reopening the+landing with stale no-match or detected-product state already rendered, and+the family-local `Back to platforms` path must restore the top-level platform+catalog without entering a credential slot.Render-order proof for that landing belongs to DOM-backed settings tests, notraw source-string position checks, so lifecycle ownership continues to guardthe operator-visible order after reasonable component extraction or copydiff --git a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsxindex 02f3f94116..25ef5c0e77 100644--- a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx+++ b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx@@ -3,8 +3,11 @@ import { Archive, ArrowRight, Cpu, Database, Mail, Server, ServerCog } from 'lucimport type { ConnectionType, ProbeCandidate } from '@/api/connections';import { AddressProbeStep } from './AddressProbeStep';import {+ buildConnectionEditorCatalogEntries,CONNECTION_TYPE_LABELS,- DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES,+ type ConnectionEditorCatalogFamilyEntry,+ type ConnectionEditorCatalogFamilyId,+ type ConnectionEditorCatalogEntry,createConnectionEditorState,type ConnectionEditorState,} from './useConnectionEditor';@@ -36,7 +39,10 @@ interface TileMeta {description: string;}-const PLATFORM_TILE_META: Partial<Record<ConnectionType, TileMeta>> = {+const PLATFORM_TILE_META: Record<+ Exclude<ConnectionType, 'agent' | 'docker' | 'kubernetes'>,+ TileMeta+> = {pve: { icon: Server, description: 'VMs, containers, storage, backups' },pbs: { icon: Archive, description: 'Backups, sync and verify jobs' },pmg: { icon: Mail, description: 'Mail stats, queues, quarantine' },@@ -54,29 +60,50 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {props.initialType ?? null,);const [selectedCandidate, setSelectedCandidate] = createSignal<ProbeCandidate | null>(null);+ const [selectedFamilyId, setSelectedFamilyId] =+ createSignal<ConnectionEditorCatalogFamilyId | null>(null);- const platformOptions = createMemo(() =>- (props.manualTypeOptions ?? DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES).filter(- (type) => type !== 'agent',- ),+ const platformCatalogEntries = createMemo<ConnectionEditorCatalogEntry[]>(() =>+ buildConnectionEditorCatalogEntries(props.manualTypeOptions),);+ const activeFamily = createMemo<ConnectionEditorCatalogFamilyEntry | null>(() => {+ const familyId = selectedFamilyId();+ if (!familyId) return null;+ const family = platformCatalogEntries().find(+ (entry): entry is ConnectionEditorCatalogFamilyEntry =>+ entry.kind === 'family' && entry.id === familyId,+ );+ return family ?? null;+ });const activeType = () => selectedType();const showCredentialSlot = () => activeType() !== null;const chooseCandidate = (candidate: ProbeCandidate) => {setSelectedCandidate(candidate);+ setSelectedFamilyId(null);setSelectedType(candidate.type);};const chooseManualType = (type: ConnectionType) => {setSelectedCandidate(null);+ setSelectedFamilyId(null);setSelectedType(type);};+ const chooseFamily = (familyId: ConnectionEditorCatalogFamilyId) => {+ setSelectedCandidate(null);+ setSelectedFamilyId(familyId);+ };++ const reopenFamilies = () => {+ setSelectedFamilyId(null);+ };+const reopenProbe = () => {state.reset();setSelectedCandidate(null);+ setSelectedFamilyId(null);setSelectedType(null);};@@ -106,35 +133,118 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {onInstallAgent={() => chooseManualType('agent')}/>- <div class="grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3">- <For each={platformOptions()}>- {(type) => {- const meta = PLATFORM_TILE_META[type];- const Icon = meta?.icon ?? Server;- const label = CONNECTION_TYPE_LABELS[type] ?? type;- return (- <button- type="button"- onClick={() => chooseManualType(type)}- class="group flex h-full flex-col gap-2 rounded-lg border border-border bg-surface p-4 text-left transition-colors hover:border-blue-500 hover:bg-blue-50/40 dark:hover:bg-blue-950/20"- >- <div class="flex items-center gap-2.5">- <div- aria-hidden="true"- class="flex h-8 w-8 flex-none items-center justify-center rounded-md border border-border bg-surface-alt text-base-content"+ <Show+ when={activeFamily()}+ fallback={+ <div class="grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3">+ <For each={platformCatalogEntries()}>+ {(entry) => {+ if (entry.kind === 'type') {+ const meta = PLATFORM_TILE_META[entry.type];+ const Icon = meta.icon;+ const label = CONNECTION_TYPE_LABELS[entry.type];+ return (+ <button+ type="button"+ onClick={() => chooseManualType(entry.type)}+ class="group flex h-full flex-col gap-2 rounded-lg border border-border bg-surface p-4 text-left transition-colors hover:border-blue-500 hover:bg-blue-50/40 dark:hover:bg-blue-950/20"+ >+ <div class="flex items-center gap-2.5">+ <div+ aria-hidden="true"+ class="flex h-8 w-8 flex-none items-center justify-center rounded-md border border-border bg-surface-alt text-base-content"+ >+ <Icon class="h-4 w-4" />+ </div>+ <div class="text-sm font-semibold text-base-content">{label}</div>+ </div>+ <div class="text-xs text-muted">{meta.description}</div>+ </button>+ );+ }++ const familyLeadType = entry.childTypes[0];+ const Icon = PLATFORM_TILE_META[familyLeadType]?.icon ?? Server;+ return (+ <button+ type="button"+ onClick={() => chooseFamily(entry.id)}+ class="group flex h-full flex-col gap-2 rounded-lg border border-border bg-surface p-4 text-left transition-colors hover:border-blue-500 hover:bg-blue-50/40 dark:hover:bg-blue-950/20">- <Icon class="h-4 w-4" />+ <div class="flex items-center gap-2.5">+ <div+ aria-hidden="true"+ class="flex h-8 w-8 flex-none items-center justify-center rounded-md border border-border bg-surface-alt text-base-content"+ >+ <Icon class="h-4 w-4" />+ </div>+ <div class="text-sm font-semibold text-base-content">+ {entry.label}+ </div>+ </div>+ <div class="text-xs text-muted">{entry.description}</div>+ </button>+ );+ }}+ </For>+ </div>+ }+ >+ {(familyAccessor) => {+ const family = familyAccessor();+ return (+ <div class="space-y-4 rounded-lg border border-border bg-surface p-4">+ <div class="flex flex-wrap items-start justify-between gap-3">+ <div class="space-y-1">+ <div class="text-sm font-semibold text-base-content">+ Choose a {family.label} product</div>- <div class="text-sm font-semibold text-base-content">{label}</div>+ <p class="text-xs text-muted">+ Pick the {family.label} product you want to connect. Pulse will open the+ matching credential flow next.+ </p></div>- <Show when={meta?.description}>- <div class="text-xs text-muted">{meta!.description}</div>- </Show>- </button>- );- }}- </For>- </div>+ <button+ type="button"+ onClick={reopenFamilies}+ class="inline-flex items-center rounded-md border border-border px-2.5 py-1 text-xs font-medium text-base-content transition-colors hover:bg-surface-hover"+ >+ ← Back to platforms+ </button>+ </div>++ <div class="grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3">+ <For each={family.childTypes}>+ {(type) => {+ const meta = PLATFORM_TILE_META[type];+ const Icon = meta.icon;+ return (+ <button+ type="button"+ onClick={() => chooseManualType(type)}+ class="group flex h-full flex-col gap-2 rounded-lg border border-border bg-surface-alt p-4 text-left transition-colors hover:border-blue-500 hover:bg-blue-50/40 dark:hover:bg-blue-950/20"+ >+ <div class="flex items-center gap-2.5">+ <div+ aria-hidden="true"+ class="flex h-8 w-8 flex-none items-center justify-center rounded-md border border-border bg-surface text-base-content"+ >+ <Icon class="h-4 w-4" />+ </div>+ <div class="text-sm font-semibold text-base-content">+ {CONNECTION_TYPE_LABELS[type]}+ </div>+ </div>+ <div class="text-xs text-muted">{meta.description}</div>+ </button>+ );+ }}+ </For>+ </div>+ </div>+ );+ }}+ </Show></section><section class="space-y-3 border-t border-border pt-6">diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsxindex a7161e7fd7..30e346e0b5 100644--- a/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx+++ b/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx@@ -92,7 +92,7 @@ describe('ConnectionEditor', () => {const probeButton = screen.getByRole('button', { name: /probe address/i });const vmwareButton = screen.getByRole('button', { name: /VMware vCenter \/ ESXi/i });const trueNASButton = screen.getByRole('button', { name: /TrueNAS SCALE/i });- const proxmoxButton = screen.getByRole('button', { name: /^Proxmox VE/i });+ const proxmoxButton = screen.getByRole('button', { name: /^Proxmox\b/i });// Catalog landing — lead with management-platform onboarding, then keep// host install as a secondary path below it.@@ -106,9 +106,41 @@ describe('ConnectionEditor', () => {expectNodeBefore(vmwareButton, trueNASButton);expectNodeBefore(trueNASButton, proxmoxButton);expectNodeBefore(proxmoxButton, agentButton);+ expect(screen.queryByText('Proxmox VE')).toBeNull();expect(screen.queryByText('Recommended')).toBeNull();});+ it('groups Proxmox products under one family step before entering credentials', async () => {+ const renderSlot = vi.fn(({ type }) => <div data-testid="slot">slot:{type}</div>);++ render(() => <ConnectionEditor renderCredentialSlot={renderSlot} onClose={() => {}} />);++ fireEvent.click(screen.getByRole('button', { name: /^Proxmox\b/i }));++ expect(screen.getByText('Choose a Proxmox product')).toBeInTheDocument();+ expect(screen.getByRole('button', { name: /^Proxmox VE/i })).toBeInTheDocument();+ expect(screen.getByRole('button', { name: /Proxmox Backup Server/i })).toBeInTheDocument();+ expect(screen.getByRole('button', { name: /Proxmox Mail Gateway/i })).toBeInTheDocument();++ fireEvent.click(screen.getByRole('button', { name: /^Proxmox VE/i }));++ await waitFor(() => expect(screen.getByTestId('slot').textContent).toBe('slot:pve'));+ expect(renderSlot.mock.calls.at(-1)![0].type).toBe('pve');+ });++ it('keeps a single available Proxmox product as a direct tile', () => {+ render(() => (+ <ConnectionEditor+ manualTypeOptions={['pve']}+ renderCredentialSlot={() => <div />}+ onClose={() => {}}+ />+ ));++ expect(screen.getByRole('button', { name: /^Proxmox VE/i })).toBeInTheDocument();+ expect(screen.queryByText('VE, Backup Server, Mail Gateway')).toBeNull();+ });+it('offers the agent path contextually when a probe returns no match', async () => {mockedProbe.mockResolvedValueOnce({ candidates: [], probedMs: 180 });@@ -154,6 +186,18 @@ describe('ConnectionEditor', () => {expect(call.candidate).toBeNull();});+ it('can return from a provider family to the top-level platform catalog', () => {+ render(() => <ConnectionEditor renderCredentialSlot={() => <div />} onClose={() => {}} />);++ fireEvent.click(screen.getByRole('button', { name: /^Proxmox\b/i }));+ expect(screen.getByText('Choose a Proxmox product')).toBeInTheDocument();++ fireEvent.click(screen.getByRole('button', { name: /back to platforms/i }));++ expect(screen.getByRole('button', { name: /^Proxmox\b/i })).toBeInTheDocument();+ expect(screen.queryByText('Choose a Proxmox product')).toBeNull();+ });+it('resets probe state when returning to the catalog from a credential slot', async () => {mockedProbe.mockResolvedValueOnce({ candidates: [], probedMs: 203 });diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/useConnectionEditor.ts b/frontend-modern/src/components/Settings/ConnectionEditor/useConnectionEditor.tsindex f11c7a423f..01d91e455c 100644--- a/frontend-modern/src/components/Settings/ConnectionEditor/useConnectionEditor.ts+++ b/frontend-modern/src/components/Settings/ConnectionEditor/useConnectionEditor.ts@@ -5,7 +5,10 @@ import {type ProbeCandidate,type ProbeResponse,} from '@/api/connections';-import { DEFAULT_INFRASTRUCTURE_SOURCE_ORDER } from '@/utils/platformSupportManifest';+import {+ DEFAULT_INFRASTRUCTURE_SOURCE_ORDER,+ getSourcePlatformFamily,+} from '@/utils/platformSupportManifest';const PROBE_ERROR_FALLBACK = 'Probe failed. Try again or enter credentials manually.';@@ -32,7 +35,36 @@ export interface ConnectionEditorState {runProbe: () => Promise<void>;}-type PlatformConnectionType = Extract<ConnectionType, 'pve' | 'pbs' | 'pmg' | 'truenas' | 'vmware'>;+export type PlatformConnectionType = Extract<+ ConnectionType,+ 'pve' | 'pbs' | 'pmg' | 'truenas' | 'vmware'+>;+export type ConnectionEditorCatalogFamilyId = string;++export interface ConnectionEditorCatalogTypeEntry {+ kind: 'type';+ type: PlatformConnectionType;+}++export interface ConnectionEditorCatalogFamilyEntry {+ kind: 'family';+ id: ConnectionEditorCatalogFamilyId;+ label: string;+ description: string;+ childTypes: PlatformConnectionType[];+}++export type ConnectionEditorCatalogEntry =+ | ConnectionEditorCatalogTypeEntry+ | ConnectionEditorCatalogFamilyEntry;++const CONNECTION_TYPE_TO_SOURCE_PLATFORM: Record<PlatformConnectionType, string> = {+ vmware: 'vmware-vsphere',+ truenas: 'truenas',+ pve: 'proxmox-pve',+ pbs: 'proxmox-pbs',+ pmg: 'proxmox-pmg',+};const SOURCE_PLATFORM_TO_CONNECTION_TYPE: Partial<Record<string, PlatformConnectionType>> = {'vmware-vsphere': 'vmware',@@ -53,7 +85,7 @@ const PLATFORM_CONNECTION_TYPE_FALLBACK_ORDER: PlatformConnectionType[] = ['pmg',];-export const DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES: PlatformConnectionType[] = Array.from(+const DEFAULT_CONNECTION_EDITOR_AVAILABLE_TYPES: PlatformConnectionType[] = Array.from(new Set([...CONNECTION_EDITOR_PRIORITY_TYPES,...DEFAULT_INFRASTRUCTURE_SOURCE_ORDER.flatMap((platformKey) => {@@ -64,6 +96,108 @@ export const DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES: PlatformConnectionType[]]),);+function isPlatformConnectionType(value: ConnectionType): value is PlatformConnectionType {+ return (+ value === 'pve' ||+ value === 'pbs' ||+ value === 'pmg' ||+ value === 'truenas' ||+ value === 'vmware'+ );+}++const platformTypeOrder = (type: PlatformConnectionType): number => {+ const index = DEFAULT_CONNECTION_EDITOR_AVAILABLE_TYPES.indexOf(type);+ return index === -1 ? DEFAULT_CONNECTION_EDITOR_AVAILABLE_TYPES.length : index;+};++const orderPlatformTypes = (types: readonly PlatformConnectionType[]): PlatformConnectionType[] =>+ Array.from(new Set(types)).sort(+ (left, right) => platformTypeOrder(left) - platformTypeOrder(right),+ );++// CONNECTION_TYPE_LABELS drives both the detected-candidate header copy and+// the manual fallback menu. Keeping one table avoids drift between probe+// results and the manual route labels.+export const CONNECTION_TYPE_LABELS: Record<ConnectionType, string> = {+ pve: 'Proxmox VE',+ pbs: 'Proxmox Backup Server',+ pmg: 'Proxmox Mail Gateway',+ vmware: 'VMware vCenter / ESXi',+ truenas: 'TrueNAS SCALE',+ agent: 'Pulse Unified Agent',+ docker: 'Docker',+ kubernetes: 'Kubernetes',+};++const buildCatalogFamilyId = (familyLabel: string): ConnectionEditorCatalogFamilyId =>+ familyLabel+ .trim()+ .toLowerCase()+ .replace(/[^a-z0-9]+/g, '-');++const getCatalogFamilyLabel = (type: PlatformConnectionType): string | null =>+ getSourcePlatformFamily(CONNECTION_TYPE_TO_SOURCE_PLATFORM[type]);++const describeCatalogFamily = (+ familyLabel: string,+ childTypes: readonly PlatformConnectionType[],+): string =>+ childTypes+ .map((type) => {+ const label = CONNECTION_TYPE_LABELS[type];+ const prefix = `${familyLabel} `;+ return label.startsWith(prefix) ? label.slice(prefix.length) : label;+ })+ .join(', ');++export const DEFAULT_CONNECTION_EDITOR_CATALOG_ENTRIES: ConnectionEditorCatalogEntry[] = (() => {+ return buildConnectionEditorCatalogEntries(DEFAULT_CONNECTION_EDITOR_AVAILABLE_TYPES);+})();++export function buildConnectionEditorCatalogEntries(+ options?: readonly ConnectionType[],+): ConnectionEditorCatalogEntry[] {+ if (!options || options.length === 0) {+ return DEFAULT_CONNECTION_EDITOR_CATALOG_ENTRIES;+ }++ const availableTypes = orderPlatformTypes(options.filter(isPlatformConnectionType));+ const entries: ConnectionEditorCatalogEntry[] = [];+ const consumedTypes = new Set<PlatformConnectionType>();++ for (const type of availableTypes) {+ if (consumedTypes.has(type)) continue;++ const familyLabel = getCatalogFamilyLabel(type);+ if (!familyLabel) {+ entries.push({ kind: 'type', type });+ consumedTypes.add(type);+ continue;+ }++ const familyChildTypes = availableTypes.filter(+ (candidateType) => getCatalogFamilyLabel(candidateType) === familyLabel,+ );+ if (familyChildTypes.length < 2) {+ entries.push({ kind: 'type', type });+ consumedTypes.add(type);+ continue;+ }++ familyChildTypes.forEach((childType) => consumedTypes.add(childType));+ entries.push({+ kind: 'family',+ id: buildCatalogFamilyId(familyLabel),+ label: familyLabel,+ description: describeCatalogFamily(familyLabel, familyChildTypes),+ childTypes: familyChildTypes,+ });+ }++ return entries;+}+// Validation on the client side is intentionally lenient: the backend is the// real authority on what constitutes a probeable address. We only reject the// obviously empty case so the API does not see a payload it will always@@ -125,17 +259,3 @@ export function createConnectionEditorState(): ConnectionEditorState {runProbe,};}--// CONNECTION_TYPE_LABELS drives both the detected-candidate header copy and-// the manual fallback menu. Keeping one table avoids drift between probe-// results and the manual route labels.-export const CONNECTION_TYPE_LABELS: Record<ConnectionType, string> = {- pve: 'Proxmox VE',- pbs: 'Proxmox Backup Server',- pmg: 'Proxmox Mail Gateway',- vmware: 'VMware vCenter / ESXi',- truenas: 'TrueNAS SCALE',- agent: 'Pulse Unified Agent',- docker: 'Docker',- kubernetes: 'Kubernetes',-};diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex 3367b6d21a..cd14cd988a 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -236,7 +236,7 @@ describe('InfrastructureWorkspace', () => {const platformHeading = screen.getByText('Connect a platform');const vmwareButton = screen.getByRole('button', { name: /VMware vCenter \/ ESXi/i });const trueNASButton = screen.getByRole('button', { name: /TrueNAS SCALE/i });- const proxmoxButton = screen.getByRole('button', { name: /^Proxmox VE/i });+ const proxmoxButton = screen.getByRole('button', { name: /^Proxmox\b/i });const agentButton = screen.getByRole('button', { name: /Install Pulse Agent/i });expect(platformHeading).toBeInTheDocument();@@ -279,10 +279,12 @@ describe('InfrastructureWorkspace', () => {expect(screen.getByTestId('vmware-section')).toBeInTheDocument();});- it('routes to the Proxmox credential slot when Proxmox VE tile is clicked', () => {+ it('routes through the Proxmox family picker before opening the Proxmox credential slot', () => {renderWorkspace();fireEvent.click(screen.getByRole('button', { name: /Add infrastructure/i }));+ fireEvent.click(screen.getByRole('button', { name: /^Proxmox\b/i }));+ expect(screen.getByText('Choose a Proxmox product')).toBeInTheDocument();fireEvent.click(screen.getByRole('button', { name: /^Proxmox VE/i }));expect(screen.getByTestId('proxmox-section')).toBeInTheDocument();diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex 37da40cc92..bc1ec2b922 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -85,9 +85,12 @@ describe('settings architecture guardrails', () => {expect(connectionEditorSource).toContain("import { AddressProbeStep } from './AddressProbeStep';",);- expect(connectionEditorSource).toContain('DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES');+ expect(connectionEditorSource).toContain('buildConnectionEditorCatalogEntries');+ expect(connectionEditorSource).toContain('selectedFamilyId');expect(connectionEditorSource).toContain('<AddressProbeStep');expect(connectionEditorSource).toContain('Connect a platform');+ expect(connectionEditorSource).toContain('Choose a {family.label} product');+ expect(connectionEditorSource).toContain('Back to platforms');expect(connectionEditorSource).toContain('Install on a host instead');expect(connectionEditorSource).toContain('On supported Proxmox hosts');expect(connectionEditorSource).toContain('register them automatically');@@ -105,9 +108,14 @@ describe('settings architecture guardrails', () => {expect(connectionEditorStateSource).toContain('ConnectionsAPI.probe(value)');expect(connectionEditorStateSource).toContain('export const CONNECTION_TYPE_LABELS');expect(connectionEditorStateSource).toContain('DEFAULT_INFRASTRUCTURE_SOURCE_ORDER');+ expect(connectionEditorStateSource).toContain('getSourcePlatformFamily');expect(connectionEditorStateSource).toContain(- 'export const DEFAULT_CONNECTION_EDITOR_PLATFORM_TYPES',+ 'export const DEFAULT_CONNECTION_EDITOR_CATALOG_ENTRIES',);+ expect(connectionEditorStateSource).toContain(+ 'export function buildConnectionEditorCatalogEntries',+ );+ expect(connectionEditorStateSource).not.toContain('PROXMOX_FAMILY_TYPES');expect(nodeCredentialSlotSource).toContain('useNodeModalState(modalProps)');expect(nodeCredentialSlotSource).toContain('<NodeModalBasicInfoSection');diff --git a/frontend-modern/src/utils/platformSupportManifest.generated.ts b/frontend-modern/src/utils/platformSupportManifest.generated.tsindex dc900ee3df..fdff0d0fc9 100644--- a/frontend-modern/src/utils/platformSupportManifest.generated.ts+++ b/frontend-modern/src/utils/platformSupportManifest.generated.ts@@ -1,11 +1,11 @@// This file is generated by scripts/release_control/generate_platform_support_frontend_module.py.// Do not edit by hand.// Source: docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json-// Source SHA256: afe3841efbb355a9d6245e3aea6af47d31d87a870a44cba5c79ec749448cd78f+// Source SHA256: 55c8ab8c350f52aeb9bfa8658ac413b85ef925de54409481f31fbd3a675bf30eexport const PLATFORM_SUPPORT_MANIFEST_SOURCE = {path: 'docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json',- sha256: 'afe3841efbb355a9d6245e3aea6af47d31d87a870a44cba5c79ec749448cd78f',+ sha256: '55c8ab8c350f52aeb9bfa8658ac413b85ef925de54409481f31fbd3a675bf30e',} as const;export const PLATFORM_SUPPORT_MANIFEST = {schemaVersion: 1,@@ -21,6 +21,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {platforms: [{id: 'agent',+ family: 'Pulse-managed host',governanceState: 'supported',onboardingPaths: ['install-workspace'],uiLabel: 'Agent',@@ -31,6 +32,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'docker',+ family: 'Container runtime',governanceState: 'supported',onboardingPaths: ['install-workspace'],uiLabel: 'Containers',@@ -41,6 +43,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'kubernetes',+ family: 'Cluster runtime',governanceState: 'supported',onboardingPaths: ['install-workspace'],uiLabel: 'K8s',@@ -51,6 +54,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'proxmox-pve',+ family: 'Proxmox',governanceState: 'supported',onboardingPaths: ['platform-connections'],uiLabel: 'PVE',@@ -61,6 +65,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'proxmox-pbs',+ family: 'Proxmox',governanceState: 'supported',onboardingPaths: ['platform-connections'],uiLabel: 'PBS',@@ -71,6 +76,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'proxmox-pmg',+ family: 'Proxmox',governanceState: 'supported',onboardingPaths: ['platform-connections'],uiLabel: 'PMG',@@ -81,6 +87,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'truenas',+ family: 'TrueNAS',governanceState: 'supported',onboardingPaths: ['platform-connections'],uiLabel: 'TrueNAS',@@ -91,6 +98,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'vmware-vsphere',+ family: 'VMware',governanceState: 'admitted',onboardingPaths: ['platform-connections'],uiLabel: 'vSphere',@@ -101,6 +109,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'unraid',+ family: 'Unraid',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'Unraid',@@ -111,6 +120,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'synology-dsm',+ family: 'Synology',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'Synology',@@ -121,6 +131,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'microsoft-hyperv',+ family: 'Hyper-V',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'Hyper-V',@@ -131,6 +142,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'aws',+ family: 'AWS',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'AWS',@@ -141,6 +153,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'azure',+ family: 'Azure',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'Azure',@@ -151,6 +164,7 @@ export const PLATFORM_SUPPORT_MANIFEST = {},{id: 'gcp',+ family: 'GCP',governanceState: 'presentation-only',onboardingPaths: [],uiLabel: 'GCP',@@ -275,6 +289,22 @@ export const SOURCE_PLATFORM_ONBOARDING_PATH_KEYS = ['install-workspace','platform-connections',] as const;+export const SOURCE_PLATFORM_FAMILY = {+ agent: 'Pulse-managed host',+ docker: 'Container runtime',+ kubernetes: 'Cluster runtime',+ 'proxmox-pve': 'Proxmox',+ 'proxmox-pbs': 'Proxmox',+ 'proxmox-pmg': 'Proxmox',+ truenas: 'TrueNAS',+ 'vmware-vsphere': 'VMware',+ unraid: 'Unraid',+ 'synology-dsm': 'Synology',+ 'microsoft-hyperv': 'Hyper-V',+ aws: 'AWS',+ azure: 'Azure',+ gcp: 'GCP',+} as const;export const SOURCE_PLATFORM_ONBOARDING_PATHS = {agent: ['install-workspace'],docker: ['install-workspace'],@@ -379,3 +409,4 @@ export type GeneratedPlatformType = (typeof PLATFORM_TYPE_KEYS)[number];export type GeneratedKnownSourcePlatform = (typeof KNOWN_SOURCE_PLATFORM_KEYS)[number];export type GeneratedSourcePlatformManifestEntry =(typeof SOURCE_PLATFORM_MANIFEST_ENTRIES)[number];+export type SourcePlatformFamily = (typeof SOURCE_PLATFORM_MANIFEST_ENTRIES)[number]['family'];diff --git a/frontend-modern/src/utils/platformSupportManifest.ts b/frontend-modern/src/utils/platformSupportManifest.tsindex 8329579a42..e9fe472144 100644--- a/frontend-modern/src/utils/platformSupportManifest.ts+++ b/frontend-modern/src/utils/platformSupportManifest.ts@@ -12,6 +12,7 @@ import {SOURCE_PLATFORM_ALIAS_MAP,SOURCE_PLATFORM_AUDIT_TOKENS,SOURCE_PLATFORM_DISPLAY_TOKENS,+ SOURCE_PLATFORM_FAMILY,SOURCE_PLATFORM_MANIFEST_ENTRIES,SOURCE_PLATFORM_STORAGE_FAMILY,SUPPORTED_PLATFORM_IDS,@@ -19,6 +20,7 @@ import {type GeneratedSourcePlatformOnboardingPath,type GeneratedSourcePlatformManifestEntry,type PlatformGovernanceState,+ type SourcePlatformFamily,type SourcePlatformStorageFamily,} from '@/utils/platformSupportManifest.generated';@@ -27,6 +29,7 @@ export type {GeneratedKnownSourcePlatform,GeneratedSourcePlatformOnboardingPath as SourcePlatformOnboardingPath,PlatformGovernanceState,+ SourcePlatformFamily,SourcePlatformStorageFamily,};@@ -49,6 +52,7 @@ export {SOURCE_PLATFORM_ALIAS_MAP,SOURCE_PLATFORM_AUDIT_TOKENS,SOURCE_PLATFORM_DISPLAY_TOKENS,+ SOURCE_PLATFORM_FAMILY,SOURCE_PLATFORM_MANIFEST_ENTRIES,SUPPORTED_PLATFORM_IDS,};@@ -80,6 +84,14 @@ export const getSourcePlatformOnboardingPaths = (return SOURCE_PLATFORM_ONBOARDING_PATHS[manifestPlatform.id];};+export const getSourcePlatformFamily = (+ value: string | null | undefined,+): SourcePlatformFamily | null => {+ const manifestPlatform = getSourcePlatformManifestEntry(value);+ if (!manifestPlatform) return null;+ return SOURCE_PLATFORM_FAMILY[manifestPlatform.id];+};+export const sourcePlatformSupportsOnboardingPath = (value: string | null | undefined,onboardingPath: GeneratedSourcePlatformOnboardingPath,diff --git a/scripts/release_control/generate_platform_support_frontend_module.py b/scripts/release_control/generate_platform_support_frontend_module.pyindex e24dd23f4e..f8aa6077a4 100755--- a/scripts/release_control/generate_platform_support_frontend_module.py+++ b/scripts/release_control/generate_platform_support_frontend_module.py@@ -144,6 +144,7 @@ def normalize_manifest(raw_manifest: dict[str, Any]) -> dict[str, Any]:platforms.append({"id": platform_id,+ "family": require_string(record.get("family"), f"platforms[{index}].family"),"governanceState": governance_state,"onboardingPaths": onboarding_paths,"uiLabel": require_string(record.get("ui_label"), f"platforms[{index}].ui_label"),@@ -195,6 +196,9 @@ def normalize_manifest(raw_manifest: dict[str, Any]) -> dict[str, Any]:platform["id"]: {"label": platform["uiLabel"], "tone": platform["uiTone"]}for platform in platforms}+ family_by_id = {+ platform["id"]: platform["family"] for platform in platforms+ }onboarding_paths_by_id = {platform["id"]: platform["onboardingPaths"] for platform in platforms}@@ -232,6 +236,7 @@ def normalize_manifest(raw_manifest: dict[str, Any]) -> dict[str, Any]:"auditTokens": audit_tokens,"displayTokens": display_tokens,"onboardingPathKeys": onboarding_path_keys,+ "familyById": family_by_id,"onboardingPathsById": onboarding_paths_by_id,"presentation": {**presentation, "generic": DEFAULT_GENERIC_PRESENTATION},"storageFamilyById": storage_family_by_id,@@ -278,6 +283,7 @@ def render_module(normalized: dict[str, Any], manifest_hash: str) -> str:render_const("SOURCE_PLATFORM_AUDIT_TOKENS", normalized["auditTokens"]),render_const("SOURCE_PLATFORM_DISPLAY_TOKENS", normalized["displayTokens"]),render_const("SOURCE_PLATFORM_ONBOARDING_PATH_KEYS", normalized["onboardingPathKeys"]),+ render_const("SOURCE_PLATFORM_FAMILY", normalized["familyById"]),render_const("SOURCE_PLATFORM_ONBOARDING_PATHS", normalized["onboardingPathsById"]),render_const("SOURCE_PLATFORM_PRESENTATION", normalized["presentation"]),render_const("SOURCE_PLATFORM_STORAGE_FAMILY", normalized["storageFamilyById"]),@@ -292,6 +298,8 @@ def render_module(normalized: dict[str, Any], manifest_hash: str) -> str:" (typeof KNOWN_SOURCE_PLATFORM_KEYS)[number];\n","export type GeneratedSourcePlatformManifestEntry =\n"" (typeof SOURCE_PLATFORM_MANIFEST_ENTRIES)[number];\n",+ "export type SourcePlatformFamily =\n"+ " (typeof SOURCE_PLATFORM_MANIFEST_ENTRIES)[number]['family'];\n",]return "".join(sections)