mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-01 06:18:46 +00:00
PR-Agent flagged two more real regressions vs the original health page: 1. Stale timestamp (HealthStatusRibbon): formatRelativeTime reads Date.now() during render, but nothing forces a re-render after mount so the 'last scan' label froze and never advanced to '1 minute ago', '2 hours ago', etc. Restore the per-second tick (matching the original health.tsx behavior) so the label behaves like a real relative timestamp. 2. Hidden copy action (HealthPriorityCard): the fix-copy button was gated by group-hover, making it invisible to keyboard users and unreachable on mobile (no hover state). Make it always visible with an aria-label so screen-reader and touch users can copy the fix command.