Files
Termix/src/ui/desktop/apps/host-manager/HostManagerViewer.tsx
ZacharyZcR 82f1e043ae feat: Add direct SSH connection, file management, and server status monitoring to host manager
Adds inline quick actions to host manager cards for efficient multi-host management:

Server Status Monitoring:
- Real-time status indicators (online/offline/degraded) for each host card
- Status updates every 10 seconds
- Respects per-host status check configuration
- Uses same status logic as sidebar host components

Quick Action Buttons:
- Terminal: Opens SSH terminal session (when enableTerminal is true)
- File Manager: Opens file browser (when enableFileManager is true)
- Server Details: Opens server monitoring dashboard (always available)
- Buttons appear in bottom section of each host card
- Hover effects with color-coded borders (blue/emerald/purple)

Benefits:
- Enables centralized monitoring and management of multiple hosts
- Reduces clicks needed to access common operations
- Provides at-a-glance status overview in grid view
- Maintains consistent UX with sidebar host components
2025-11-09 16:26:08 +08:00

59 KiB