towerops/lib/towerops_web
Graham McIntire 4297556700
Implement all quick win improvements for agent UI and functionality
1. Fixed Docker Compose example to include socket mount
   - Added /var/run/docker.sock mount for auto-updates in agent modal

2. Show total equipment count with inheritance
   - Display both direct and inherited equipment counts in agents table
   - Shows breakdown: 'X total' with 'Y direct · Z inherited' details

3. Add visual status indicators with better CSS
   - Added animated pulsing dots for online agents
   - Color-coded status dots (green=online, yellow=warning, red=offline)
   - Improved status badge styling

4. Create agent detail page with metrics
   - New /agents/:id page showing comprehensive agent health
   - 4 metric cards: Status, Equipment count, Last seen, Agent info
   - Displays agent metadata (hostname, version, uptime)
   - Lists all polling targets with assignment source badges
   - Shows direct vs inherited equipment assignments
   - Clickable agent names in table link to detail page

5. Add health endpoint to Rust agent
   - Added /health HTTP endpoint on port 8080
   - Returns JSON with agent status, version, uptime, metrics pending
   - Uses lightweight tiny_http server
   - Non-blocking background thread
   - Ready for monitoring/health checks
2026-01-14 18:46:03 -06:00
..
components Add Agents navigation link to authenticated layout 2026-01-13 13:14:23 -06:00
controllers Fix protobuf body parsing causing 400 errors on agent heartbeat 2026-01-14 18:35:20 -06:00
live Implement all quick win improvements for agent UI and functionality 2026-01-14 18:46:03 -06:00
plugs Fix agent IP detection to use real client IP from proxy headers 2026-01-14 17:04:59 -06:00
endpoint.ex Fix protobuf body parsing causing 400 errors on agent heartbeat 2026-01-14 18:35:20 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex Implement all quick win improvements for agent UI and functionality 2026-01-14 18:46:03 -06:00
telemetry.ex format 2025-12-21 11:31:08 -06:00
user_auth.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00