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.

infra: surface the agent's Proxmox auto-register shortcut

rcourtman85b816c606a5
diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
index d8b9781030..096f829ac2 100644
--- a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
+++ b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
@@ -102,7 +102,7 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {
<section class="space-y-3">
<div class="flex items-center gap-3 text-xs font-semibold uppercase tracking-wide text-muted">
<span class="h-px flex-1 bg-border" aria-hidden="true" />
- Or pick a platform to connect
+ Or connect a remote platform API
<span class="h-px flex-1 bg-border" aria-hidden="true" />
</div>
@@ -140,7 +140,7 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {
<section class="space-y-3">
<div class="flex items-center gap-3 text-xs font-semibold uppercase tracking-wide text-muted">
<span class="h-px flex-1 bg-border" aria-hidden="true" />
- Or install a host-level agent
+ Or install the agent on the host
<span class="h-px flex-1 bg-border" aria-hidden="true" />
</div>
@@ -163,14 +163,15 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {
</div>
</div>
<div class="text-xs text-muted">
- Reports CPU temperature, disk SMART, systemd services, and network metrics
- from the host itself. Auto-detects Docker, Kubernetes, and Proxmox on that
- machine.
+ <span class="font-medium text-base-content">On a Proxmox host, this is the
+ fastest path.</span> The agent creates the PVE / PBS API token itself and
+ auto-registers the node — no address or credentials to paste above.
</div>
<div class="text-xs text-muted">
- Use it for bare-metal Linux / Unraid / FreeBSD, or install it on Proxmox /
- TrueNAS hosts <span class="font-medium">in addition to</span> a platform
- connection above for deeper per-host telemetry.
+ It also reports CPU temperature, disk SMART, systemd services, and network
+ metrics from the host, and auto-detects Docker and Kubernetes on that
+ machine. Required for bare-metal Linux / Unraid / FreeBSD targets that have
+ no platform API to connect.
</div>
</div>
<div
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index bb279e8e37..f74a7404f4 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -81,7 +81,12 @@ describe('settings architecture guardrails', () => {
expect(connectionEditorSource).toContain('const DEFAULT_PLATFORM_TYPES: ConnectionType[] =');
expect(connectionEditorSource).not.toContain("'agent'] =");
expect(connectionEditorSource).toContain('<AddressProbeStep');
- expect(connectionEditorSource).toContain('Or install a host-level agent');
+ expect(connectionEditorSource).toContain('Or install the agent on the host');
+ // Honest framing: the agent auto-registers PVE/PBS when installed on a
+ // Proxmox node, so the card must surface that shortcut rather than
+ // pretending the agent is only for host metrics.
+ expect(connectionEditorSource).toContain('On a Proxmox host, this is the');
+ expect(connectionEditorSource).toContain('auto-registers the node');
// The agent install path is a first-class ledger-header action, not a
// subtext offramp inside the editor — make sure it doesn't drift back.
expect(connectionEditorSource).not.toContain('Install the Unified Agent on a host');