[claude] Workshop Activity Heatmap (24h Job Volume) (#9) #91

Merged
claude merged 1 commits from claude/issue-9 into main 2026-03-23 20:35:48 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
db25f64454 feat: Workshop activity heatmap (24h job volume) (#9)
Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
- Add GET /api/stats/activity returning job counts bucketed by UTC hour
  for the past 24 hours (GROUP BY date_trunc query via drizzle-orm)
- Add 24-segment SVG-less heatmap bar to the Workshop HUD; color
  intensity scales from dim to bright based on relative volume;
  current-hour segment pulses via CSS animation
- Hover tooltip shows "3pm: 12 jobs submitted" for each segment
- On mobile (≤600px), heatmap collapses to icon that opens a
  full-screen overlay
- Auto-refreshes every 5 minutes via setInterval

Fixes #9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 16:34:44 -04:00