Commit Graph

4 Commits

Author SHA1 Message Date
Hermes dd5ffe9fba CUB-176: central hub frontend — camera grid, start/stop controls, history viewer
CI/CD / lint-and-typecheck (pull_request) Successful in 7s
CI/CD / test (pull_request) Successful in 7s
CI/CD / build (pull_request) Failing after 8s
CI/CD / deploy (pull_request) Has been skipped
- CameraCard: color-coded status (green/yellow/red), per-camera start/stop, battery bar, recording indicator
- HistoryViewer: modal dialog with 24h status log browsing per camera
- App: responsive grid (1-4 cols), Start/Stop All global buttons, SSE connection badge, live stats strip
- API service: aligned with backend endpoints (list, detail, start, stop)
- Types: added StatusLog, CameraDetail, CameraInfo, StartStopResponse
- All 23 tests pass, lint clean, TypeScript + Vite build clean
2026-05-23 10:37:48 -04:00
Hermes db4663380b CUB-196: fix future timestamps, negative battery clamp, boundary tests
Grimm review fixes:
- formatRelativeTime: guard future timestamps (clock skew) → 'unknown'
- battery display: clamp negative values to 0%
- formatTimeLeft: floor fractional seconds
- Tests: +4 (future timestamp, negative battery, 15%/50% boundaries)
2026-05-21 14:07:57 +00:00
rex-bot 4ab7d41329 CUB-196: add accessibility and edge case fixes for CameraCard 2026-05-21 11:59:40 +00:00
rex-bot e82208f897 CUB-196: add CameraCard component with battery bar, recording indicator, online status 2026-05-21 11:51:40 +00:00