Pulse/frontend-modern/src/components
rcourtman 449d77504f Improve PMG connection testing to validate metrics endpoints
Related to #551

Enhanced the PMG connection test to actually validate the metrics
endpoints that Pulse uses for monitoring, rather than only checking
the version endpoint. This provides users with immediate feedback if
their PMG credentials lack the necessary permissions to collect metrics.

Backend changes:
- Test mail statistics, cluster status, and quarantine endpoints during
  connection test (internal/api/config_handlers.go:1695-1714)
- Return warnings array in test response when endpoints are unavailable
- Increased timeout from 10s to 15s to accommodate multiple endpoint checks
- Added warning logs for failed endpoint checks

Frontend changes:
- Added showWarning() toast function for warning messages
- Enhanced NodeModal to display warning status with amber styling
- Added warnings list display in test results UI
- Updated Settings.tsx to show warnings from connection tests

This change helps users identify permission issues immediately rather
than discovering later that metrics aren't being collected despite a
"successful" connection.
2025-11-05 18:40:39 +00:00
..
__tests__ Unify API token reveal workflow 2025-10-15 22:58:31 +00:00
Alerts Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
Backups Add per-node temperature monitoring and fix critical config update bug 2025-11-05 14:11:53 +00:00
Dashboard Improve drawer layout and UX for Docker and Proxmox pages 2025-11-05 14:46:13 +00:00
Docker Improve drawer layout and UX for Docker and Proxmox pages 2025-11-05 14:46:13 +00:00
Hosts Add host agent multi-platform binary distribution and improve host details UI 2025-11-05 17:38:17 +00:00
icons Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
PMG Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
Proxmox Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
Replication Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
Settings Improve PMG connection testing to validate metrics endpoints 2025-11-05 18:40:39 +00:00
shared Add per-node temperature monitoring and fix critical config update bug 2025-11-05 14:11:53 +00:00
Storage Add per-node temperature monitoring and fix critical config update bug 2025-11-05 14:11:53 +00:00
Toast refactor: unify notifications into global toast 2025-10-22 12:39:01 +00:00
DemoBanner.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
ErrorBoundary.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
FirstRunSetup.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
Login.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
SecurityWarning.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
TokenRevealDialog.tsx Add reusable API token reveal dialog 2025-10-15 22:45:14 +00:00
UpdateBanner.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
UpdateConfirmationModal.tsx Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
UpdateProgressModal.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00