The 'Removed Docker Hosts' section was not appearing in Settings -> Agents even when hosts were blocked from re-enrolling. This prevented users from using the 'Allow re-enroll' button to unblock their Docker agents. Root cause: The WebSocket store was missing: 1. The 'removedDockerHosts' property in its initial state 2. A handler to process removedDockerHosts data from WebSocket messages This meant the backend was correctly sending the data, but the frontend was completely ignoring it. Changes: - Add removedDockerHosts to WebSocket store initial state and message handler - Add removedDockerHosts to App.tsx fallback state for consistency - Add missing BroadcastState call after AllowDockerHostReenroll succeeds Also includes previous fixes from this session: - Add PULSE_AGENT_URL as alias for PULSE_AGENT_CONNECT_URL (config.go) - Add runtime Docker/Podman auto-detection in pulse-agent (main.go) Fixes issue reported by darthrater78 in discussion #845 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| aiChat.ts | ||
| alertsActivation.ts | ||
| events.ts | ||
| metricsHistory.ts | ||
| metricsSampler.ts | ||
| metricsViewMode.ts | ||
| notifications.ts | ||
| tokenReveal.ts | ||
| updates.ts | ||
| websocket-global.ts | ||
| websocket.ts | ||