Pulse/frontend-modern/src
rcourtman 730c6bf864 Fix Docker agent removal and improve security
This commit addresses multiple issues in the Docker/host agent removal flow:

Agent Stop Fix:
- Add systemctl stop command after agent acknowledgement to prevent systemd restart
- Previous behavior: agent disabled but systemd immediately restarted it (Restart=always)
- New behavior: agent disables itself, sends ack, then stops systemd service completely

UX Improvements:
- Add real-time elapsed time counter during removal wait
- Show progress indicators prominently (no longer hidden in dropdown)
- Display expected time range (30-60 seconds) and last heartbeat
- Auto-show timeout warning after 2 minutes with actionable "Force remove" button
- Add contextual help explaining what's happening at each stage

Security Enhancement:
- Automatically revoke API tokens when removing Docker/host agents
- Previous behavior: tokens remained valid after agent removal
- New behavior: tokens are revoked and persisted immediately on removal
- Prevents removed agents from re-authenticating with old credentials
2025-10-29 12:27:36 +00:00
..
api Add custom URL editing to Docker containers and services 2025-10-28 22:50:31 +00:00
components Fix Docker agent removal and improve security 2025-10-29 12:27:36 +00:00
constants Add API token scopes and standalone host agent 2025-10-23 11:40:31 +00:00
hooks refactor: remove legacy DISABLE_AUTH flag and enhance authentication UX 2025-10-27 19:46:51 +00:00
pages Consolidate pending changes 2025-10-28 23:20:44 +00:00
stores refactor: remove legacy DISABLE_AUTH flag and enhance authentication UX 2025-10-27 19:46:51 +00:00
styles Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
test feat: enhance alerts system with tests and improved thresholds 2025-10-15 22:25:04 +00:00
types Add disk metrics, block I/O, and mount details to Docker monitoring 2025-10-29 12:05:36 +00:00
utils Simplify metric bar labels 2025-10-29 10:37:18 +00:00
App.tsx ui: align tables and docker styling 2025-10-28 18:51:52 +00:00
constants.ts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
index.css Adjust header layout and widen guest name column 2025-10-27 20:55:28 +00:00
index.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
SimpleApp.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
Test.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
vite-env.d.ts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00