From 15f0ef779b13b73b01d97005edabcd814e17f420 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 23 Dec 2025 09:44:28 +0000 Subject: [PATCH] ux: Add step numbers to agent setup flow. Related to #872 - Step 1: Generate API token (with blue circle) - Step 2: Installation commands (with green circle when unlocked) - Shows locked preview of Step 2 before token generation, making it clear that installation commands will appear after generating a token - Addresses user feedback about the unclear agent creation flow --- .../src/components/Settings/UnifiedAgents.tsx | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/frontend-modern/src/components/Settings/UnifiedAgents.tsx b/frontend-modern/src/components/Settings/UnifiedAgents.tsx index 6ff64bb98..4fc6d0e33 100644 --- a/frontend-modern/src/components/Settings/UnifiedAgents.tsx +++ b/frontend-modern/src/components/Settings/UnifiedAgents.tsx @@ -434,8 +434,11 @@ export const UnifiedAgents: Component = () => {
-

Generate API token

-

+

+ 1 + Generate API token +

+

Create a fresh token scoped for Host, Docker, and Kubernetes monitoring.

@@ -496,13 +499,39 @@ export const UnifiedAgents: Component = () => {
+ {/* Show locked step 2 preview when token required but not yet generated */} + +
+
+
+

+ 2 + Installation commands +

+

Generate a token above to unlock installation commands.

+
+
+
+ + + +

Click "Generate token" above to see installation commands

+
+
+
+
-

Installation commands

-

The installer auto-detects Docker, Kubernetes, and Proxmox on the target machine.

+

+ + 2 + + Installation commands +

+

The installer auto-detects Docker, Kubernetes, and Proxmox on the target machine.