From b1c5c4e6ff28bf20b9fe8ced8283408156f4a87b Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Tue, 12 Aug 2025 21:01:48 +0000 Subject: [PATCH] fix: simplify and clean up Security tab UI - Show Quick Setup prominently when no auth configured - Hide API tokens and registration tokens when not needed - Consolidate Export/Import into single Backup & Restore section - Only show advanced features when authentication is enabled - Remove redundant descriptions and duplicate sections --- .../src/components/Settings/Settings.tsx | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx index e266a9b89..7db615ed7 100644 --- a/frontend-modern/src/components/Settings/Settings.tsx +++ b/frontend-modern/src/components/Settings/Settings.tsx @@ -1476,20 +1476,27 @@ const Settings: Component = () => { {/* Security Tab */}
- + {/* Show Quick Setup when no auth, otherwise show management tools */} + + {/* Only show API token manager when auth is enabled */} +
+

API Tokens

+ +
+ + } + >
-

Quick Security Setup

+

Security Setup

- -
-

API Security

- -
-

Export/Import Security

+

Backup & Restore

@@ -1511,43 +1518,36 @@ const Settings: Component = () => {
-
-
-

Configuration Export

-

- Export your entire configuration including all nodes and settings. Data is encrypted with your passphrase. -

- -
- -
-

Configuration Import

-

- Import a previously exported configuration. Requires the passphrase used during export. -

- -
+

+ Export or import your entire Pulse configuration. Exports are encrypted with your passphrase. +

+
+ +
-
-

Registration Tokens

-

- Generate secure, time-limited tokens to allow nodes to register with Pulse. -

- -
+ {/* Only show advanced features when auth is enabled */} + +
+

Node Registration

+

+ Control how new nodes can register with your Pulse instance. +

+ +
+