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
Make connected systems task-first
rcourtman02283c533540
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.mdindex 659f3c31eb..9a4991e185 100644--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md@@ -594,15 +594,20 @@ frame and the shared `Table` shell from `frontend-primitives`; lifecycle workmust not restore a local `overflow-x-auto` wrapper or a page-local table cardaround that table.The same source-manager landing surface must keep onboarding primary and-compact: `Add infrastructure` remains the obvious action, the setup summary is-one short status strip, and detailed governance/fleet state stays in the-systems table rows or deeper fleet surfaces instead of expanding into duplicate-explanatory bands above the table.-Network discovery is the exception because manual scans are an operator command-whose progress must be observable in the source manager. `InfrastructureSourceManager.tsx`-must keep one explicit Network discovery band above the setup summary that-shows the current enabled/scanning/error/result state, scan scope, last scan-metadata, and review action for discovered candidates before anything is added.+compact: `Add infrastructure` stays in the Connected systems header, connection+posture is one short actionable line, and detailed governance/fleet state stays+in the systems table rows or deeper fleet surfaces instead of expanding into+duplicate explanatory bands above the table. A coverage gap that has an+immediate lifecycle action, such as missing Proxmox host telemetry, must name+that gap and expose the install action rather than appearing only as a count.+Manual discovery remains observable because scans are an operator command, but+it is optional setup rather than the primary connected-systems job.+`InfrastructureSourceManager.tsx` must keep one explicit Discover Proxmox+systems band after the configured-systems ledger that shows the current+enabled/scanning/error/result state, scan scope, last scan metadata, and review+action for discovered candidates before anything is added. When discovery is+off, the landing action must configure discovery instead of presenting a+disabled Run command.Its copy must describe only the platform APIs represented by the LAN discoverycandidate model, and it must not imply TrueNAS, VMware, Docker, Kubernetes, oragent command discovery when this source-manager path cannot surface those@@ -1307,10 +1312,12 @@ surface and no new `internal/api/` lifecycle handler.must not fork a second discovery-specific credential wizard or treatdiscovery results as already-enrolled systems before the operator savesthe governed add form. That same landing-owned shell now keeps discovery- compact: the persistent page may expose only a concise discovery status- line plus `Run discovery` / `Discovery settings` actions, while new-source- admission stays on the per-platform table actions instead of competing- with discovery at the top of the page. Command-backed discovery sweeps and+ compact and secondary: the persistent page may expose only a concise+ discovery status line after the systems ledger plus `Run discovery`,+ `Settings`, or `Configure discovery` actions appropriate to the current+ state. New-source admission stays on the header and per-platform table+ actions instead of competing with discovery at the top of the page.+ Command-backed discovery sweeps andforced single-resource refreshes remain API/AI-owned admin operations:lifecycle surfaces may expose the controls, but route-level authority mustrequire `settings:write` plus the Discovery enablement gate, not@@ -2551,7 +2558,11 @@ primary objects the operator manages. The landing table is instance-first, nottype-first: existing connections or agent-backed hosts render inside oneplatform-banded systems ledger, each platform section owns its own `Add`action, and the page does not fork back into a second monitored-systems ledger-below.+below. The default ledger prioritizes system identity, collection coverage,+health/last activity, and actions; raw management addresses remain in the+governed detail flow or an explicitly expanded cluster-member row. Cluster+members are collapsed under an accurate node count by default so member rows+cannot make the top-level connected-system count appear contradictory.Adding infrastructure therefore happens in two governed steps. The`?add=pick` modal owns grouped source-type selection and may offer`Detect API platform` as a secondary utility. The `?add=detect` modal owns@@ -2566,9 +2577,12 @@ explicit actions inside `InfrastructureWorkspace.tsx`, not extra sidebarentries or body-replacing workspace subtabs.That same landing/table contract now also owns collection-method phrasing.`connectionsTableModel.ts`, `useConnectionsLedger.ts`, and-`InfrastructureSourceManager.tsx` must present the same plain-language subtitle (`via platform API`, `via Pulse Agent`, or `via-platform API and Pulse Agent`) from the shared ledger contract instead of-shipping badge-only heuristics that operators have to decode visually.+`InfrastructureSourceManager.tsx` must preserve the same plain-language+collection identity (`via platform API`, `via Pulse Agent`, or `via platform+API and Pulse Agent`) from the shared ledger contract. The compact landing may+render its API / Agent / API + Agent badge beside the system name, with the full+phrase available through accessible metadata and the detail flow, instead of+spending a separate table column on collection method.Source badge class selection may use semantic gray treatment for API-only rowsand typed non-gray tones for agent, probe, or combined sources, but the sourceidentity remains the API/Agent/Probe label and subtitle from the shared ledgerdiff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 51f5ebc135..7ca4b7a59b 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -1041,18 +1041,19 @@ not a replacement status card, CTA band, or page-local nested card.`/settings/infrastructure`: the landing route should read as onesource-manager workspace with configured infrastructure instances firstand no redundant monitored-systems ledger beneath it. The landing route may- include a dedicated first-viewport toolbar that explains platform APIs and- Pulse Agent telemetry as infrastructure sources and exposes `Add-infrastructure`, `Run discovery`, and `Discovery settings` inside the- source manager. Per-source add actions, including `Install Pulse Agent`,+ keep `Add infrastructure` in the Connected systems header while the ledger+ remains the first primary content. Discovery is optional setup after the+ ledger, not a competing first-viewport toolbar. Per-source add actions,+ including `Install Pulse Agent`,belong on the governed source rows, and `Detect address` stays inside thesingle API-platform probe path instead of a duplicate toolbar action. It may- also show a compact coverage strip derived from the same unified connection- rows and discovered candidates so operators can confirm connected-system- count, API coverage,- agent coverage, sources that still need an agent, and discovery review state- without opening a tour or second ledger. Existing sources stay visible in- stable source-catalog order, and add, detect, install, review, and manage+ also show one compact posture line derived from the same unified connection+ rows so operators can confirm the top-level connected-system count, active+ state, actionable health, and limited coverage without opening a tour or+ second ledger. That line must expose the relevant install action when host+ telemetry is missing rather than expanding into a metric strip. Existing+ sources stay visible in stable source-catalog order, and add, detect,+ install, review, and manageflows open assecondary interactions from that same destination instead of taking over thewhole page.@@ -1070,10 +1071,11 @@ infrastructure`, `Run discovery`, and `Discovery settings` inside theThe same shared shell boundary now also owns grouped source-row composition.`useConnectionsLedger.ts`, `InfrastructureSourceManager.tsx`, and`InfrastructureWorkspace.tsx` must render attached collection methods as a- plain-language row subtitle on the owning row (`via platform API`, `via-Pulse Agent`, or `via platform API and Pulse Agent`), with fuller detail in- the edit dialog, instead of duplicating the same machine across multiple- peer groups or forcing operators to decode badge jargon.+ compact labeled badge beside the owning system (`API`, `Agent`, or `API ++Agent`), with the plain-language source phrase available through accessible+ metadata and fuller detail in the edit dialog, instead of duplicating the+ same machine across multiple peer groups or spending a dedicated Method+ column on implementation detail.The table-level product/system group rows in`InfrastructureSourceManager.tsx` must also use the shared grouped table rowpresentation helper, not local table-background classes, so source-manager@@ -1090,21 +1092,21 @@ Pulse Agent`, or `via platform API and Pulse Agent`), with fuller detail inalways-on version column for Pulse Agent; exact version text belongs in theedit/detail surfaces, while the landing table only surfaces a compactwarning badge when an attached or standalone agent actually has an update- available. That same table boundary must reuse the existing `System` and- `Endpoint` cells for compact standalone-agent identity such as- `Unraid 7.1.0` plus a reported host address; it must not add a new- diagnostics column just to surface host facts the unified agent already- reports.+ available. That same table boundary must reuse the `System` cell for compact+ standalone-agent identity such as `Unraid 7.1.0`; raw reported addresses+ belong in the governed Manage detail or an explicitly expanded+ cluster-member row, not an always-on diagnostics column.That same shared shell boundary now owns one canonical infrastructuredestination in the Settings sidebar. `InfrastructureWorkspace.tsx` owns thesource-manager landing inside that destination, while route-backed add flowsand local edit flows stay single-purpose instead of stacking multiplepage-level workspaces at once.The source-manager landing now also owns the explicit discovery strip for- that destination. `InfrastructureSourceManager.tsx` exposes one Network- discovery status/action band from the shared landing shell with scan state,- saved scope, last result metadata, errors, `Run discovery`, `Discovery-settings`, and candidate review when discovered sources are waiting. It must+ that destination. `InfrastructureSourceManager.tsx` exposes one optional+ Discover Proxmox systems status/action band after the systems ledger with+ scan state, saved scope, last result metadata, errors, `Run discovery`,+ `Settings` / `Configure discovery`, and candidate review when discovered+ sources are waiting. It mustnot start a network scan just because the page rendered. New-sourceadmission belongs on the table's per-platform `Add` actions, the compactfirst-run/readiness actions, or the discovery band's explicit review action,diff --git a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsxindex a5692cfe65..6e9de896b0 100644--- a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx+++ b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx@@ -8,7 +8,16 @@ import {type Accessor,type Component,} from 'solid-js';-import { AlertTriangle, Cpu, Plus, RotateCw, Search, SlidersHorizontal } from 'lucide-solid';+import {+ AlertTriangle,+ ChevronDown,+ ChevronRight,+ Cpu,+ Plus,+ RotateCw,+ Search,+ SlidersHorizontal,+} from 'lucide-solid';import { Button } from '@/components/shared/Button';import SettingsPanel from '@/components/shared/SettingsPanel';import {@@ -187,7 +196,7 @@ const memberMethodPresentation = (return infrastructureSourcePresentation(member.source);};-type SetupConfidenceActionKind = 'add' | 'agent' | 'detect' | 'review' | 'scan';+type SetupConfidenceActionKind = 'add' | 'agent' | 'scan';interface SetupConfidenceAction {kind: SetupConfidenceActionKind;@@ -436,23 +445,15 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP(row) => Boolean(row.problem) || row.members.some((member) => member.problem),).length,);- const discoveryReadinessLabel = createMemo(() => {- if (props.discoveryScanStatus().scanning) return 'Scanning now';- if (discoveredCandidateCount() > 0) return `${discoveredCandidateCount()} to review`;- const lastResult = lastDiscoveryResultText();- if (lastResult) return `Last scan ${lastResult}`;- return props.discoveryEnabled ? 'Ready to scan' : 'Discovery off';- });const discoveryMonitorTitle = createMemo(() => {const status = props.discoveryScanStatus();- if (status.scanning) return 'Scanning configured networks';+ if (status.scanning) return 'Scanning';if (discoveredCandidateCount() > 0) {- return `${formatCount(discoveredCandidateCount(), 'candidate')} ready to review`;+ return `${discoveredCandidateCount()} to review`;}- if (!props.discoveryEnabled) return 'Discovery is off';- if (discoveryErrorSummary(status.errors)) return 'Last discovery scan needs attention';- if (lastDiscoveryResultText()) return 'No new candidates from the last scan';- return 'Ready to scan configured networks';+ if (!props.discoveryEnabled) return 'Off';+ if (discoveryErrorSummary(status.errors)) return 'Needs attention';+ return 'Ready';});const discoveryMonitorDetail = createMemo(() => {const status = props.discoveryScanStatus();@@ -480,8 +481,8 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPif (status.scanning && status.lastScanStartedAt) {return `Started ${formatRelativeTimestamp(status.lastScanStartedAt) ?? 'just now'}`;}- if (lastDiscoveryResultText()) return `Last scan ${lastDiscoveryResultText()}`;- return props.discoveryEnabled ? 'No scan has run yet' : 'Disabled';+ if (lastDiscoveryResultText()) return `Last scanned ${lastDiscoveryResultText()}`;+ return props.discoveryEnabled ? 'Never scanned' : 'Not configured';});const setupConfidenceAction = createMemo<SetupConfidenceAction>(() => {if (connectedSystemCount() === 0) {@@ -498,7 +499,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPconst target = namesText ?? formatCount(apiOnlySystemCount(), 'API-backed system');return {kind: 'agent',- label: 'Install agents',+ label: apiOnlySystemCount() === 1 ? 'Install agent' : 'Install agents',detail: `Install Pulse Agent on ${target} when you want node-local telemetry such as temperatures, SMART data, and host identity.`,onClick: handleInstallAgentShortcut,};@@ -521,32 +522,25 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPdetail: completeAction.detail,};});- const setupSummaryMetrics = createMemo(() => [- {- label: 'Systems',- value: formatCount(connectedSystemCount(), 'system'),- },- {- label: 'Live',- value: formatCount(liveFleetSystemCount(), 'system'),- },- {- label: 'Needs attention',- value: formatCount(fleetAttentionSystemCount(), 'system'),- },- {- label: 'Needs agent',- value: formatCount(apiOnlySystemCount(), 'system'),- },- {- label: 'Discovery',- value: discoveryReadinessLabel(),- },- ]);-const [layoutWidth, setLayoutWidth] = createSignal(typeof window !== 'undefined' ? window.innerWidth : 1024,);+ const [expandedSystemIds, setExpandedSystemIds] = createSignal<ReadonlySet<string>>(new Set());++ const membersExpanded = (row: InfrastructureSystemRow): boolean =>+ expandedSystemIds().has(row.id);++ const toggleMembers = (row: InfrastructureSystemRow) => {+ setExpandedSystemIds((current) => {+ const next = new Set(current);+ if (next.has(row.id)) {+ next.delete(row.id);+ } else {+ next.add(row.id);+ }+ return next;+ });+ };const updateLayoutWidth = (width: number) => {if (!Number.isFinite(width) || width <= 0) return;@@ -583,35 +577,11 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP});const useCardLayout = createMemo(() => layoutWidth() <= CARD_LAYOUT_MAX_WIDTH_PX);- const headerActions = () => (- <Show when={!props.readOnly}>- <div class="border-b border-border bg-surface px-4 py-3">- <div class="flex flex-wrap items-center gap-2">- <Show when={props.onAddInfrastructure}>- <Button- type="button"- variant="primary"- size="mdCompact"- class="min-h-9 gap-2"- onClick={props.onAddInfrastructure}- >- <Plus class="h-4 w-4" />- Add infrastructure- </Button>- </Show>- </div>- </div>- </Show>- );-const setupConfidenceActionIcon = (kind: SetupConfidenceActionKind) => (<><Show when={kind === 'agent'}><Cpu class="h-4 w-4" /></Show>- <Show when={kind === 'detect' || kind === 'review'}>- <Search class="h-4 w-4" />- </Show><Show when={kind === 'scan'}><RotateCw class={`h-4 w-4 ${props.discoveryScanStatus().scanning ? 'animate-spin' : ''}`} /></Show>@@ -623,17 +593,20 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPconst discoveryMonitorBand = () => (<section- aria-label="Network discovery"+ aria-label="Discover Proxmox systems"aria-live="polite"- class="border-b border-border bg-surface px-4 py-3"+ class="border-t border-border bg-surface-alt/35 px-4 py-3"><div class="flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between"><div class="min-w-0 flex-1">- <div class="flex flex-wrap items-center gap-2">- <div class="flex items-center gap-2 text-sm font-semibold text-base-content">+ <div class="text-[11px] font-medium uppercase tracking-[0.08em] text-muted">+ Optional setup+ </div>+ <div class="mt-1 flex flex-wrap items-center gap-2">+ <h3 class="flex items-center gap-2 text-sm font-semibold text-base-content"><Search class="h-4 w-4 text-blue-600 dark:text-blue-300" aria-hidden="true" />- Network discovery- </div>+ Discover Proxmox systems+ </h3><spanclass={`inline-flex items-center rounded-full px-2 py-0.5 text-[11px] font-medium ${props.discoveryScanStatus().scanning@@ -662,14 +635,26 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP<Show when={!props.readOnly}><div class="flex flex-wrap gap-2 lg:justify-end">- <Show when={props.onRunDiscovery}>+ <Show when={discoveredCandidateCount() > 0 && props.onReviewDiscoveredSource}><Buttontype="button"variant="primary"size="mdCompact"class="min-h-9 gap-2"+ onClick={() => props.onReviewDiscoveredSource?.(props.discoveredNodes()[0])}+ >+ <Search class="h-4 w-4" aria-hidden="true" />+ {discoveredCandidateCount() === 1 ? 'Review candidate' : 'Review first candidate'}+ </Button>+ </Show>+ <Show when={props.discoveryEnabled && props.onRunDiscovery}>+ <Button+ type="button"+ variant={discoveredCandidateCount() > 0 ? 'secondary' : 'primary'}+ size="mdCompact"+ class="min-h-9 gap-2"onClick={props.onRunDiscovery}- disabled={props.discoveryScanStatus().scanning || !props.discoveryEnabled}+ disabled={props.discoveryScanStatus().scanning}title={`Scan configured networks for reachable ${discoveryScanTargetLabel}. Discovered candidates appear here for review before they are added.`}><RotateCw@@ -689,19 +674,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPtitle={`Configure which networks Pulse scans for ${discoveryScanTargetLabel}.`}><SlidersHorizontal class="h-4 w-4" aria-hidden="true" />- Discovery settings- </Button>- </Show>- <Show when={discoveredCandidateCount() > 0 && props.onReviewDiscoveredSource}>- <Button- type="button"- variant="secondary"- size="mdCompact"- class="min-h-9 gap-2"- onClick={() => props.onReviewDiscoveredSource?.(props.discoveredNodes()[0])}- >- <Search class="h-4 w-4" aria-hidden="true" />- {discoveredCandidateCount() === 1 ? 'Review candidate' : 'Review first candidate'}+ {props.discoveryEnabled ? 'Settings' : 'Configure discovery'}</Button></Show></div>@@ -711,52 +684,48 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP);const setupSummaryBand = () => (- <section- aria-label="Infrastructure setup summary"- class="border-b border-border bg-surface px-4 py-3"- >- <h3 class="sr-only">Setup status</h3>- <div class="flex flex-col gap-3 xl:flex-row xl:items-center xl:justify-between">- {/* Compact summary line replaces the previous 5-cell stats grid.- The same metrics are surfaced inline so a glance reads the- shape of the infrastructure ('4 systems, 4 live, 1 needs agent')- without giving up significant vertical real estate above the- table that the page is actually about. */}- <dl class="flex min-w-0 flex-1 flex-wrap items-baseline gap-x-4 gap-y-1 text-sm">- <For each={setupSummaryMetrics()}>- {(metric, index) => (- <div class="flex items-baseline gap-1.5">- <Show when={index() > 0}>- <span aria-hidden="true" class="text-muted">- ·- </span>- </Show>- <dt class="text-[11px] font-medium uppercase tracking-[0.06em] text-muted">- {metric.label}- </dt>- <dd class="font-semibold text-base-content">{metric.value}</dd>- </div>- )}- </For>- </dl>- {/* Recommendation button hides for the apiOnly install-agents case- because row-level install-agent chips now surface the same- attention per-system. Other recommendations (discovery scan,- coverage coherent, add infrastructure) still render here. */}- <Show- when={- !props.readOnly &&- Boolean(setupConfidenceAction().onClick) &&- setupConfidenceAction().kind !== 'agent'- }- >+ <section aria-label="Connection posture" class="border-b border-border bg-surface px-4 py-3">+ <h3 class="sr-only">Connection posture</h3>+ <div class="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">+ <div class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-sm">+ <span class="font-semibold text-base-content">+ {formatCount(connectedSystemCount(), 'system')} connected+ </span>+ <Show when={connectedSystemCount() > 0}>+ <span aria-hidden="true" class="text-muted">+ ·+ </span>+ <span class="text-muted">+ {liveFleetSystemCount() === connectedSystemCount()+ ? 'All active'+ : `${formatCount(liveFleetSystemCount(), 'system')} active`}+ </span>+ </Show>+ <Show when={fleetAttentionSystemCount() > 0}>+ <span aria-hidden="true" class="text-muted">+ ·+ </span>+ <span class="font-medium text-amber-700 dark:text-amber-300">+ {formatCount(fleetAttentionSystemCount(), 'system')} needs attention+ </span>+ </Show>+ <Show when={apiOnlySystemCount() > 0}>+ <span aria-hidden="true" class="text-muted">+ ·+ </span>+ <span class="font-medium text-amber-700 dark:text-amber-300">+ {formatCount(apiOnlySystemCount(), 'system')} has limited coverage+ </span>+ </Show>+ </div>+ <Show when={!props.readOnly && Boolean(setupConfidenceAction().onClick)}><Buttontype="button"variant="secondary"size="mdCompact"onClick={() => setupConfidenceAction().onClick?.()}disabled={setupConfidenceAction().disabled}- class="min-h-9 gap-2 self-start xl:self-center"+ class="min-h-9 gap-2 self-start sm:self-center">{setupConfidenceActionIcon(setupConfidenceAction().kind)}{setupConfidenceAction().label}@@ -764,8 +733,8 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP</Show></div>- <Show when={setupConfidenceAction().kind !== 'agent'}>- <p class="mt-3 text-xs leading-5 text-muted">{setupConfidenceAction().detail}</p>+ <Show when={connectedSystemCount() === 0}>+ <p class="mt-2 text-xs leading-5 text-muted">{setupConfidenceAction().detail}</p></Show></section>);@@ -780,32 +749,41 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPreturn (<div ref={layoutContainerRef} class="min-w-0">- <SettingsPanel title="Connected systems" noPadding>- {headerActions()}- {discoveryMonitorBand()}+ <SettingsPanel+ title="Connected systems"+ noPadding+ action={+ !props.readOnly && props.onAddInfrastructure ? (+ <Button+ type="button"+ variant="primary"+ size="mdCompact"+ class="min-h-9 w-full gap-2 sm:w-auto"+ onClick={props.onAddInfrastructure}+ >+ <Plus class="h-4 w-4" />+ Add infrastructure+ </Button>+ ) : undefined+ }+ >{setupSummaryBand()}<Show when={!useCardLayout()}><Table class="w-full min-w-[820px] table-fixed text-sm"><TableHeader class="bg-surface-alt/60"><TableRow>- <TableHead class="w-[20%] py-1.5 pl-3 pr-3 text-left text-[11px] font-medium text-muted whitespace-nowrap">+ <TableHead class="w-[30%] py-1.5 pl-3 pr-3 text-left text-[11px] font-medium text-muted whitespace-nowrap">System</TableHead>- <TableHead class="w-[10%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">- Method- </TableHead>- <TableHead class="w-[16%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">- Host- </TableHead>- <TableHead class="w-[16%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">+ <TableHead class="w-[32%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">Coverage</TableHead>- <TableHead class="w-[22%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">- Status+ <TableHead class="w-[23%] px-3 py-1.5 text-left text-[11px] font-medium text-muted whitespace-nowrap">+ Health</TableHead><Show when={actionColumnVisible()}>- <TableHead class="w-[7rem] px-3 py-1.5 text-right text-[11px] font-medium text-muted whitespace-nowrap">+ <TableHead class="w-[12rem] px-3 py-1.5 text-right text-[11px] font-medium text-muted whitespace-nowrap">Actions</TableHead></Show>@@ -837,7 +815,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPwhen={actionColumnVisible()}fallback={<TableRow class={groupRowClass()}>- <TableCell colspan={5} class={getGroupedTableRowCellClass()}>+ <TableCell colspan={3} class={getGroupedTableRowCellClass()}><div class="flex min-w-0 items-center gap-2"><span>{group.label}</span></div>@@ -846,7 +824,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP}><TableRow class={groupRowClass()}>- <TableCell colspan={6} class={getGroupedTableRowCellClass()}>+ <TableCell colspan={4} class={getGroupedTableRowCellClass()}><div class="flex items-center justify-between gap-2 whitespace-nowrap"><span>{group.label}</span><Show@@ -881,52 +859,50 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP}`}><TableCell class="py-1.5 pl-3 pr-3 align-middle">- <div- class={`truncate text-[13px] ${- row.isCluster- ? 'font-medium text-base-content'- : 'text-base-content/80'- }`}- title={rowSystemTitle(row)}- >- {row.name}- </div>- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- {(() => {- const presentation = infrastructureSourcePresentation(- row.source,- );- const title =- agentMethodTitleFor(row) ?? presentation.title;- return (- <span- class={`${presentation.badgeClassName} whitespace-nowrap`}- title={title}- >- {presentation.label}- </span>- );- })()}- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- <Show- when={row.host}- fallback={- <span class="text-xs text-muted" aria-hidden="true">- —- </span>- }- >+ <div class="flex min-w-0 flex-wrap items-center gap-1.5"><div- class="truncate text-[12px] text-muted"- title={row.host}+ class={`min-w-0 truncate text-[13px] ${+ row.isCluster+ ? 'font-medium text-base-content'+ : 'text-base-content/90'+ }`}+ title={rowSystemTitle(row)}>- {row.host}+ {row.name}</div>- </Show>+ {(() => {+ const presentation = infrastructureSourcePresentation(+ row.source,+ );+ const title =+ agentMethodTitleFor(row) ?? presentation.title;+ return (+ <span+ class={`${presentation.badgeClassName} flex-shrink-0 whitespace-nowrap`}+ title={title}+ >+ {presentation.label}+ </span>+ );+ })()}+ <Show when={row.members.length > 0}>+ <button+ type="button"+ class="inline-flex items-center gap-0.5 rounded px-1 py-0.5 text-[11px] font-medium text-muted transition-colors hover:bg-surface-alt hover:text-base-content"+ aria-expanded={membersExpanded(row)}+ aria-label={`${membersExpanded(row) ? 'Hide' : 'Show'} ${formatCount(row.members.length, 'node')} for ${row.name}`}+ onClick={() => toggleMembers(row)}+ >+ <Show+ when={membersExpanded(row)}+ fallback={<ChevronRight class="h-3.5 w-3.5" />}+ >+ <ChevronDown class="h-3.5 w-3.5" />+ </Show>+ {formatCount(row.members.length, 'node')}+ </button>+ </Show>+ </div></TableCell><TableCell class="px-3 py-1.5 align-middle">@@ -939,12 +915,23 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP}><div- class="truncate text-[12px] text-muted"+ class="whitespace-normal text-[12px] leading-4 text-muted"title={row.coverageLabels.join(', ')}>{row.coverageLabels.join(', ')}</div></Show>+ <Show+ when={+ row.ownerType === 'pve' &&+ rowHasApiCoverage(row) &&+ !rowHasAgentCoverage(row)+ }+ >+ <div class="mt-0.5 text-[11px] font-medium text-amber-700 dark:text-amber-300">+ Host telemetry not installed+ </div>+ </Show></TableCell><TableCell class="px-3 py-1.5 align-middle">@@ -982,16 +969,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP<span class="text-xs text-muted">Read only</span>}>- <div class="flex items-center justify-end gap-1">- {/* Row-level install-agent shortcut, scoped to- Proxmox VE: the agent adds node-local- telemetry (temps, SMART, host identity)- that the PVE API doesn't expose. PBS and- other API-only sources are fully covered- without an agent, so we don't nudge for- one there. Rendered icon-only so the row- stays a single line; the full guided flow- lives behind Manage. */}+ <div class="flex items-center justify-end gap-1.5"><Showwhen={row.ownerType === 'pve' &&@@ -1002,15 +980,18 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP)}>- <button+ <Buttontype="button"+ variant="outline"+ size="xs"+ class="gap-1.5"onClick={handleInstallAgentShortcut}- class="inline-flex items-center justify-center rounded p-1 text-blue-700 transition-colors hover:bg-blue-50 dark:text-blue-300 dark:hover:bg-blue-950/30"aria-label="Install agent"title="Install Pulse Agent on this system to add node-local telemetry (temperatures, SMART, host identity).">- <Plus class="h-3.5 w-3.5" />- </button>+ <Cpu class="h-3.5 w-3.5" />+ Install agent+ </Button></Show><Buttontype="button"@@ -1030,7 +1011,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP<Show when={row.problem || row.lastErrorMessage}><TableRow class="border-b border-border-subtle"><TableCell- colspan={actionColumnVisible() ? 6 : 5}+ colspan={actionColumnVisible() ? 4 : 3}class="bg-surface px-3 pb-1.5 pt-0"><Show when={row.problem}>@@ -1059,7 +1040,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP</TableRow></Show>- <Show when={row.members.length > 0}>+ <Show when={row.members.length > 0 && membersExpanded(row)}><For each={row.members}>{(member, memberIndex) => {const memberPresentation =@@ -1072,59 +1053,35 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP<><TableRow class="border-b border-border-subtle bg-surface-alt/30"><TableCell class="py-1.5 pl-3 pr-3 align-middle">- <div class="flex min-w-0 items-center gap-2 pl-4">- <span class="h-1.5 w-1.5 flex-shrink-0 rounded-full bg-border" />- <div- class="truncate text-[13px] text-base-content/85"- title={memberSystemTitle(member)}- >- {member.name}- </div>- </div>- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- <Show- when={memberPresentation}- fallback={- <span- class="text-xs text-muted"- title={memberSourceTitle}- >- —- </span>- }- >- {(presentation) => (- <span- class={`${presentation().badgeClassName} whitespace-nowrap`}- title={memberSourceTitle}- >- {presentation().label}- </span>- )}- </Show>- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- <Show- when={member.host}- fallback={- <span- class="text-xs text-muted"- aria-hidden="true"+ <div class="min-w-0 pl-4">+ <div class="flex min-w-0 items-center gap-1.5">+ <span class="h-1.5 w-1.5 flex-shrink-0 rounded-full bg-border" />+ <div+ class="truncate text-[13px] text-base-content/85"+ title={memberSystemTitle(member)}>- —- </span>- }- >- <div- class="truncate text-[12px] text-muted"- title={member.host}- >- {member.host}+ {member.name}+ </div>+ <Show when={memberPresentation}>+ {(presentation) => (+ <span+ class={`${presentation().badgeClassName} flex-shrink-0 whitespace-nowrap`}+ title={memberSourceTitle}+ >+ {presentation().label}+ </span>+ )}+ </Show></div>- </Show>+ <Show when={member.host}>+ <div+ class="mt-0.5 truncate pl-3.5 text-[11px] text-muted"+ title={member.host}+ >+ {member.host}+ </div>+ </Show>+ </div></TableCell><TableCell class="px-3 py-1.5 align-middle">@@ -1140,7 +1097,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP}><div- class="truncate text-[12px] text-muted"+ class="whitespace-normal text-[12px] leading-4 text-muted"title={member.coverageLabels.join(', ')}>{member.coverageLabels.join(', ')}@@ -1177,7 +1134,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP{(problem) => (<TableRow class="border-b border-border-subtle bg-surface-alt/30"><TableCell- colspan={actionColumnVisible() ? 6 : 5}+ colspan={actionColumnVisible() ? 4 : 3}class="pb-1.5 pl-9 pr-3 pt-0"><div@@ -1210,35 +1167,33 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerPreturn (<TableRow class={discoveryRowClass}><TableCell class="py-1.5 pl-3 pr-3 align-middle">- <div- class="truncate text-[13px] text-base-content/85"- title={`${discoveredServerName(server)}${server.version ? ` · ${server.version}` : ''}`}- >- {discoveredServerName(server)}- </div>- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- <span- class="inline-flex items-center rounded-full border border-dashed border-border bg-surface-alt px-2 py-0.5 text-[11px] font-medium text-muted whitespace-nowrap"- title="Discovery candidate — review to attach a source"- >- Candidate- </span>- </TableCell>-- <TableCell class="px-3 py-1.5 align-middle">- <div- class="truncate whitespace-nowrap text-[12px] text-muted"- title={discoveredServerEndpoint(server)}- >- {discoveredServerEndpoint(server)}+ <div class="min-w-0">+ <div class="flex items-center gap-1.5">+ <div+ class="truncate text-[13px] text-base-content/85"+ title={`${discoveredServerName(server)}${server.version ? ` · ${server.version}` : ''}`}+ >+ {discoveredServerName(server)}+ </div>+ <span+ class="inline-flex flex-shrink-0 items-center rounded-full border border-dashed border-border bg-surface-alt px-2 py-0.5 text-[11px] font-medium text-muted whitespace-nowrap"+ title="Discovery candidate — review to attach a source"+ >+ Candidate+ </span>+ </div>+ <div+ class="mt-0.5 truncate text-[11px] text-muted"+ title={discoveredServerEndpoint(server)}+ >+ {discoveredServerEndpoint(server)}+ </div></div></TableCell><TableCell class="px-3 py-1.5 align-middle"><div- class="truncate whitespace-nowrap text-[12px] text-muted"+ class="whitespace-normal text-[12px] leading-4 text-muted"title={discoveredCoverageText(server)}>{discoveredCoverageText(server)}@@ -1294,7 +1249,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP<Show when={!hasAnyConfigured() && !hasAnyDiscovered()}><TableRow><TableCell- colspan={actionColumnVisible() ? 6 : 5}+ colspan={actionColumnVisible() ? 4 : 3}class="px-4 py-8 text-center text-sm text-muted">{emptyStateContent()}@@ -1368,6 +1323,23 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP{row.identitySubtitle}</div></Show>+ <Show when={row.members.length > 0}>+ <button+ type="button"+ class="mt-1 inline-flex items-center gap-0.5 rounded px-1 py-0.5 text-[11px] font-medium text-muted transition-colors hover:bg-surface-alt hover:text-base-content"+ aria-expanded={membersExpanded(row)}+ aria-label={`${membersExpanded(row) ? 'Hide' : 'Show'} ${formatCount(row.members.length, 'node')} for ${row.name}`}+ onClick={() => toggleMembers(row)}+ >+ <Show+ when={membersExpanded(row)}+ fallback={<ChevronRight class="h-3.5 w-3.5" />}+ >+ <ChevronDown class="h-3.5 w-3.5" />+ </Show>+ {formatCount(row.members.length, 'node')}+ </button>+ </Show></div><spanclass={`${presentation.badgeClassName} flex-shrink-0`}@@ -1377,22 +1349,24 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP</span></header>- <Show when={row.host}>- <div- class="mt-1 truncate text-[12px] text-muted"- title={row.host}- >- {row.host}- </div>- </Show>-<Show when={row.coverageLabels.length > 0}><div class="mt-1 text-[12px] leading-4 text-muted">{row.coverageLabels.join(', ')}</div></Show>+ <Show+ when={+ row.ownerType === 'pve' &&+ rowHasApiCoverage(row) &&+ !rowHasAgentCoverage(row)+ }+ >+ <div class="mt-0.5 text-[11px] font-medium text-amber-700 dark:text-amber-300">+ Host telemetry not installed+ </div>+ </Show>- <Show when={row.members.length > 0}>+ <Show when={row.members.length > 0 && membersExpanded(row)}><div class="mt-3 border-t border-border-subtle pt-2"><div class="text-[11px] font-medium uppercase tracking-[0.08em] text-muted">Cluster nodes@@ -1506,15 +1480,36 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP</span></div><Show when={!props.readOnly && rowInteractive(row)}>- <Button- type="button"- variant="outline"- size="xs"- class="min-w-[4.5rem] flex-shrink-0"- onClick={() => props.onOpenConnection?.(row)}- >- Manage- </Button>+ <div class="flex flex-wrap justify-end gap-1.5">+ <Show+ when={+ row.ownerType === 'pve' &&+ rowHasApiCoverage(row) &&+ !rowHasAgentCoverage(row) &&+ Boolean(props.onAddSourceStep || props.onAddSource)+ }+ >+ <Button+ type="button"+ variant="outline"+ size="xs"+ class="gap-1.5"+ onClick={handleInstallAgentShortcut}+ >+ <Cpu class="h-3.5 w-3.5" />+ Install agent+ </Button>+ </Show>+ <Button+ type="button"+ variant="outline"+ size="xs"+ class="min-w-[4.5rem] flex-shrink-0"+ onClick={() => props.onOpenConnection?.(row)}+ >+ Manage+ </Button>+ </div></Show></div><Show when={row.problem}>@@ -1615,6 +1610,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP</Show></div></Show>+ {discoveryMonitorBand()}</SettingsPanel></div>);diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsxindex 3458e1b675..d5e701939c 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx@@ -113,8 +113,8 @@ describe('InfrastructureSourceManager setup summary', () => {expect(screen.queryByRole('button', { name: /^Monitor endpoint$/i })).toBeNull();expect(onAddSourceStep).not.toHaveBeenCalled();- const discovery = screen.getByRole('region', { name: /^Network discovery$/i });- expect(within(discovery).getByText('Ready to scan configured networks')).toBeInTheDocument();+ const discovery = screen.getByRole('region', { name: /^Discover Proxmox systems$/i });+ expect(within(discovery).getByText('Ready')).toBeInTheDocument();expect(within(discovery).getByText(/Run discovery to look for unattached Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway APIs/i,@@ -124,7 +124,7 @@ describe('InfrastructureSourceManager setup summary', () => {fireEvent.click(within(discovery).getByRole('button', { name: /^Run discovery$/i }));expect(onRunDiscovery).toHaveBeenCalledTimes(1);- fireEvent.click(within(discovery).getByRole('button', { name: /^Discovery settings$/i }));+ fireEvent.click(within(discovery).getByRole('button', { name: /^Settings$/i }));expect(onOpenDiscoverySettings).toHaveBeenCalledTimes(1);});@@ -146,8 +146,8 @@ describe('InfrastructureSourceManager setup summary', () => {/>));- const discovery = screen.getByRole('region', { name: /^Network discovery$/i });- expect(within(discovery).getByText('Scanning configured networks')).toBeInTheDocument();+ const discovery = screen.getByRole('region', { name: /^Discover Proxmox systems$/i });+ expect(within(discovery).getByText('Scanning')).toBeInTheDocument();expect(within(discovery).getByText(/Pulse is scanning 10\.0\.0\.0\/24 for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway APIs/i,@@ -177,8 +177,8 @@ describe('InfrastructureSourceManager setup summary', () => {/>));- const discovery = screen.getByRole('region', { name: /^Network discovery$/i });- expect(within(discovery).getByText('1 candidate ready to review')).toBeInTheDocument();+ const discovery = screen.getByRole('region', { name: /^Discover Proxmox systems$/i });+ expect(within(discovery).getByText('1 to review')).toBeInTheDocument();expect(within(discovery).getByText(/Review and add credentials before Pulse starts monitoring it/i),).toBeInTheDocument();@@ -249,13 +249,12 @@ describe('InfrastructureSourceManager setup summary', () => {/>));- expect(screen.getByText('Setup status')).toBeInTheDocument();- expect(screen.getByText('Systems')).toBeInTheDocument();- expect(screen.queryByText('Endpoints')).toBeNull();+ expect(screen.getByText('Connection posture')).toBeInTheDocument();+ expect(screen.getByText('2 systems connected')).toBeInTheDocument();expect(screen.queryByText('MQTT power meter')).toBeNull();- expect(screen.getByText('Live')).toBeInTheDocument();- expect(screen.getByText('Needs attention')).toBeInTheDocument();- expect(screen.getByText('Needs agent')).toBeInTheDocument();+ expect(screen.getByText('All active')).toBeInTheDocument();+ expect(screen.getByText('1 system needs attention')).toBeInTheDocument();+ expect(screen.getByText('1 system has limited coverage')).toBeInTheDocument();expect(screen.queryByText('Fleet governance')).toBeNull();// The row now surfaces a single plain-English problem line under its// status badge instead of a chip-per-signal stack. Info-toned signals@@ -305,7 +304,7 @@ describe('InfrastructureSourceManager setup summary', () => {/>));- expect(screen.getByText('Needs attention').nextElementSibling?.textContent).toBe('0 systems');+ expect(screen.queryByText(/needs attention/i)).toBeNull();expect(screen.queryByText('Config pending')).toBeNull();expect(screen.queryByText('Rollout pending')).toBeNull();});@@ -354,12 +353,14 @@ describe('InfrastructureSourceManager setup summary', () => {/>));- expect(screen.getByText('Needs attention').nextElementSibling?.textContent).toBe('1 system');+ expect(screen.getByText('1 system needs attention')).toBeInTheDocument();// "Fleet OK" is no longer rendered as a synthetic ok-chip; an empty// problem line is the absence of trouble. The cluster-member row// surfaces its single actionable problem ("Config drift") with the// detail attached as a tooltip.expect(screen.queryByText('Fleet OK')).toBeNull();+ expect(screen.queryByText('Config drift')).toBeNull();+ fireEvent.click(screen.getByRole('button', { name: 'Show 1 node for homelab' }));expect(screen.getByText('Config drift')).toHaveAttribute('title','Desired and applied fingerprints differ.',diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsxindex dd5d9230e7..071d3237e6 100644--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx@@ -293,8 +293,8 @@ describe('InfrastructureWorkspace', () => {// contents distinctly. Card-level description was dropped because it// duplicated the page-level subtitle.await waitFor(() => expect(screen.getByText('Connected systems')).toBeInTheDocument());- expect(screen.getByRole('button', { name: /^Run discovery$/i })).toBeInTheDocument();- expect(screen.getByRole('button', { name: /^Discovery settings$/i })).toBeInTheDocument();+ expect(screen.queryByRole('button', { name: /^Run discovery$/i })).toBeNull();+ expect(screen.getByRole('button', { name: /^Configure discovery$/i })).toBeInTheDocument();expect(screen.getByRole('button', { name: /^Add infrastructure$/i })).toBeInTheDocument();expect(screen.queryByRole('button', { name: /^Detect address$/i })).toBeNull();// Row-level 'Install agent' surfaces per system that has API coverage@@ -302,25 +302,15 @@ describe('InfrastructureWorkspace', () => {// one of these buttons should exist.expect(screen.getAllByRole('button', { name: /^Install agent$/i }).length).toBeGreaterThan(0);const readiness = screen.getByRole('region', {- name: /Infrastructure setup summary/i,+ name: /Connection posture/i,});- expect(within(readiness).getByText('Setup status')).toBeInTheDocument();- expect(within(readiness).getByText('Systems')).toBeInTheDocument();- expect(within(readiness).getByText('Live')).toBeInTheDocument();- expect(within(readiness).getByText('Needs attention')).toBeInTheDocument();- expect(within(readiness).getByText('Needs agent')).toBeInTheDocument();- expect(within(readiness).getByText('Discovery')).toBeInTheDocument();+ expect(within(readiness).getByText('Connection posture')).toBeInTheDocument();+ expect(within(readiness).getByText('1 system connected')).toBeInTheDocument();+ expect(within(readiness).getByText('All active')).toBeInTheDocument();+ expect(within(readiness).getByText('1 system has limited coverage')).toBeInTheDocument();expect(within(readiness).queryByText('Infrastructure coverage')).toBeNull();expect(within(readiness).queryByText('Fleet governance')).toBeNull();- expect(within(readiness).getAllByText('1 system').length).toBeGreaterThan(0);- expect(within(readiness).getAllByText('0 systems').length).toBeGreaterThan(0);- expect(within(readiness).getByText('Discovery off')).toBeInTheDocument();- // Global 'Install agents' recommendation button is hidden when- // row-level 'Install agent' chips already surface the apiOnly state- // per-system.- expect(- within(readiness).queryByRole('button', { name: /Install agents/i }),- ).not.toBeInTheDocument();+ expect(within(readiness).getByRole('button', { name: /^Install agent$/i })).toBeInTheDocument();expect(screen.getByText('Proxmox VE')).toBeInTheDocument();expect(screen.getByText('Proxmox VE').closest('tr')?.className).toContain('grouped-table-row');expect(screen.queryByText('VMware vCenter')).toBeNull();@@ -485,7 +475,9 @@ describe('InfrastructureWorkspace', () => {const dialog = await screen.findByRole('dialog');expect(- within(dialog).getByText('Pulse does not currently see any agents behind the target version.'),+ within(dialog).getByText(+ 'Pulse does not currently see any agents behind the target version.',+ ),).toBeInTheDocument();expect(within(dialog).queryByText('zeus')).not.toBeInTheDocument();expect(within(dialog).queryByText(/upgrade agent:agent-zeus/)).not.toBeInTheDocument();@@ -660,12 +652,8 @@ describe('InfrastructureWorkspace', () => {await waitFor(() => expect(screen.getByText('discovered-pve.lab')).toBeInTheDocument());expect(screen.getByText('Discovered')).toBeInTheDocument();- const readiness = screen.getByRole('region', {- name: /Infrastructure setup summary/i,- });- expect(within(readiness).getByText('1 to review')).toBeInTheDocument();- const discovery = screen.getByRole('region', { name: /Network discovery/i });- expect(within(discovery).getByText('1 candidate ready to review')).toBeInTheDocument();+ const discovery = screen.getByRole('region', { name: /Discover Proxmox systems/i });+ expect(within(discovery).getByText('1 to review')).toBeInTheDocument();expect(within(discovery).getByText(/Review and add credentials before Pulse starts monitoring it/i),).toBeInTheDocument();@@ -677,7 +665,7 @@ describe('InfrastructureWorkspace', () => {fireEvent.click(screen.getByRole('button', { name: /Run discovery/i }));expect(triggerDiscoveryScan).toHaveBeenCalledTimes(1);- fireEvent.click(screen.getByRole('button', { name: /Discovery settings/i }));+ fireEvent.click(screen.getByRole('button', { name: /^Settings$/i }));expect(screen.getByRole('dialog', { name: /Discovery settings/i })).toBeInTheDocument();expect(screen.getByText(/Configure the saved network scope and background scan behavior/i),@@ -954,11 +942,10 @@ describe('InfrastructureWorkspace', () => {await waitFor(() => expect(screen.getByText('Unraid')).toBeInTheDocument());expect(screen.queryByText('Pulse Agent hosts')).toBeNull();expect(screen.getByText('Tower')).toBeInTheDocument();- // The OS/identity descriptor now rides in the system name's tooltip so the- // table row stays single-line; the agent detail drawer still shows it as- // visible text (asserted below).+ // Identity and network coordinates stay available through the managed+ // detail flow without competing with health and coverage in the ledger.expect(screen.getByTitle('Tower · Unraid 7.1.0')).toBeInTheDocument();- expect(screen.getByText('192.168.0.10')).toBeInTheDocument();+ expect(screen.queryByText('192.168.0.10')).toBeNull();fireEvent.click(screen.getByRole('button', { name: /^Add Unraid$/i }));expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure?add=unraid', {scroll: false,@@ -1148,15 +1135,15 @@ describe('InfrastructureWorkspace', () => {await waitFor(() => expect(screen.getByText('homelab')).toBeInTheDocument());const readiness = screen.getByRole('region', {- name: /Infrastructure setup summary/i,+ name: /Connection posture/i,});- expect(within(readiness).getByText('Needs attention').nextElementSibling).toHaveTextContent(- '0 systems',- );+ expect(within(readiness).queryByText(/needs attention/i)).toBeNull();// Cluster and member descriptors moved into the system name's tooltip to// keep table rows single-line.expect(screen.getByTitle('homelab · Cluster · 2 nodes')).toBeInTheDocument();expect(screen.queryByText('Fleet OK')).toBeNull();+ expect(screen.queryByTitle('delly · Primary node')).toBeNull();+ fireEvent.click(screen.getByRole('button', { name: 'Show 2 nodes for homelab' }));expect(screen.getByTitle('delly · Primary node')).toBeInTheDocument();expect(screen.getAllByText('Agent').length).toBeGreaterThan(0);expect(screen.getByText('delly')).toBeInTheDocument();diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex e0c118f4db..fe1d4496ea 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -1120,7 +1120,8 @@ describe('settings architecture guardrails', () => {expect(discoverySettingsFormSource).toContain('role="radiogroup"');expect(discoverySettingsFormSource).toContain('role="radio"');expect(discoverySettingsFormSource).toContain('selectDiscoveryMode');- expect(infrastructureSourceManagerSource).toContain('Discovery settings');+ expect(infrastructureSourceManagerSource).toContain('Discover Proxmox systems');+ expect(infrastructureSourceManagerSource).toContain('Configure discovery');expect(monitoredSystemImpactPreviewSource).toContain('getMonitoredSystemImpactPreviewTitle');expect(monitoredSystemImpactPreviewSource).toContain('formatMonitoredSystemImpactPreviewSummary',@@ -1153,15 +1154,15 @@ describe('settings architecture guardrails', () => {expect(infrastructureSourceManagerSource).toContain('Review');expect(infrastructureSourceManagerSource).toContain('Manage');expect(infrastructureSourceManagerSource).not.toContain('Detect address');- expect(infrastructureSourceManagerSource).not.toContain("'Install agent'");+ expect(infrastructureSourceManagerSource).toContain("'Install agent'");expect(infrastructureSourceManagerSource).toContain('Add infrastructure');expect(infrastructureSourceManagerSource).not.toContain('Monitor endpoint');expect(infrastructureSourceManagerSource).toContain('getInfrastructureEmptyStateSummary');- expect(infrastructureSourceManagerSource).toContain('Setup status');- expect(infrastructureSourceManagerSource).toContain('Systems');- expect(infrastructureSourceManagerSource).toContain('Live');- expect(infrastructureSourceManagerSource).toContain('Needs attention');- expect(infrastructureSourceManagerSource).toContain('Needs agent');+ expect(infrastructureSourceManagerSource).toContain('Connection posture');+ expect(infrastructureSourceManagerSource).toContain("'system')} connected");+ expect(infrastructureSourceManagerSource).toContain('All active');+ expect(infrastructureSourceManagerSource).toContain('needs attention');+ expect(infrastructureSourceManagerSource).toContain('has limited coverage');expect(infrastructureSourceManagerSource).toContain('setupConfidenceAction');expect(infrastructureSourceManagerSource).not.toContain('Infrastructure coverage');expect(infrastructureSourceManagerSource).not.toContain('Fleet governance');