Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Clarify infrastructure API detect modal

rcourtman822507149273
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 37c60572c8..4d56ac10ec 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -1453,7 +1453,10 @@ below.
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
-probe-driven handoff into `ConnectionEditor.tsx`, while typed add routes jump
+probe-driven handoff into `ConnectionEditor.tsx`; its outer shell title and
+description must also use API-platform / management-API-endpoint language so
+operators do not mistake the probe for Unraid, Docker, or generic Pulse Agent
+host detection. Typed add routes jump
straight into the matching credential or install body. The shared Settings
sidebar still owns only the top-level `Infrastructure` destination; movement
between landing, picker, detect flow, add form, and edit form belongs to
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 57510a011b..48f2a5bad6 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -329,6 +329,11 @@ prompt explain the same operator-facing priority.
before stripping infrastructure onboarding queries such as `?add=pick`,
`?add=agent`, or `?add=detect`, so first-session and explicit add-flow
handoffs do not lose their modal target during session bootstrap.
+ When those infrastructure modal targets are preserved, the settings shell
+ must keep the owning add-flow copy intact: the detect target is an API
+ platform probe, not a generic infrastructure-source detector, and its outer
+ dialog frame should match the management-API endpoint language owned by the
+ agent-lifecycle onboarding contract.
That same settings-shell boundary also owns explicit organization-route
stability. Deep links such as `/settings/organization`,
`/settings/organization/access`, and adjacent organization shells must keep
diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
index 7ae314ddb4..d634a5a62e 100644
--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
@@ -824,7 +824,7 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
const addDialogTitle = createMemo(() => {
const step = routeStep();
if (!step || step === 'pick') return 'Add infrastructure';
- if (step === 'detect') return 'Detect infrastructure source';
+ if (step === 'detect') return 'Detect API platform';
const catalogItem = activeCatalogItem();
if (catalogItem) return `Add ${catalogItem.label}`;
return `Add ${describeManagedSourceType(activeAddType())}`;
@@ -836,7 +836,7 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
return 'Choose the system, platform, host, or service you want Pulse to monitor.';
}
if (step === 'detect') {
- return 'Probe an address and let Pulse open the matching credential flow when it recognizes the platform.';
+ return 'Probe a management API endpoint and let Pulse open the matching credential flow when it recognizes the platform.';
}
const discovered = selectedDiscoveredSource();
if (discovered && discovered.type === activeAddType()) {
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
index d3ec384c4b..c3a01152f9 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
@@ -667,10 +667,10 @@ describe('InfrastructureWorkspace', () => {
renderWorkspace();
await waitFor(() => expect(screen.getByRole('dialog')).toBeInTheDocument());
- expect(screen.getByText('Detect infrastructure source')).toBeInTheDocument();
+ expect(screen.getByText('Detect API platform')).toBeInTheDocument();
expect(
screen.getByText(
- 'Probe an address and let Pulse open the matching credential flow when it recognizes the platform.',
+ 'Probe a management API endpoint and let Pulse open the matching credential flow when it recognizes the platform.',
),
).toBeInTheDocument();
expect(