Files
Checkmate/client
Claude 0a90a30045 Complete Docker monitoring integration with Capture API
This commit completes the Docker container monitoring feature using Capture API.

Frontend changes:
- Updated Infrastructure create/edit form to support Docker monitors
  - Conditional UI based on monitor type (hardware vs docker)
  - Docker-specific labels and placeholders
  - Capture server URL field (e.g., http://192.168.1.100:59232)
  - API secret field for Bearer token authentication
  - Enforced 30-second minimum polling interval for Docker
  - Conditionally hide hardware thresholds for Docker monitors

- Updated useInfrastructureSubmit hook
  - Accept monitorType parameter (hardware or docker)
  - Build form with type-specific fields
  - Only add thresholds for hardware monitors
  - Submit with correct monitor type to backend

- Created DockerContainersTable component
  - Displays all containers from Capture API response
  - Shows: container name, ID, status, health, image, uptime, ports
  - Color-coded status indicators (green=healthy, yellow=warning, red=error)
  - Formats uptime/downtime duration
  - Handles empty state gracefully

- Updated Infrastructure Details page
  - Conditionally render Docker container table for docker monitors
  - Keep existing hardware metrics (gauges, charts) for hardware monitors
  - Hide network tab for Docker monitors (not applicable)
  - Display container data from latest check

Implementation complete and ready for testing.
2025-11-15 22:33:05 +00:00
..
2025-04-20 11:29:53 -07:00
2025-04-20 11:29:53 -07:00
2025-10-08 14:52:21 -07:00
2025-06-24 15:40:50 +08:00
2025-04-20 11:43:32 -07:00
2025-04-20 11:29:53 -07:00
2025-04-20 11:40:32 -07:00
2025-05-27 09:10:32 -07:00
2025-11-12 12:06:34 -06:00
2025-10-08 13:44:41 -07:00
2025-05-27 09:10:32 -07:00
2025-05-27 09:10:32 -07:00
2025-09-26 14:36:15 -07:00
2025-09-26 14:22:25 -07:00
2025-10-27 10:27:45 -07:00

This directory contains the client side (frontend) of Checkmate.