[claude] Workshop Activity Heatmap (24h Job Volume) (#9) #91
Reference in New Issue
Block a user
Delete Branch "claude/issue-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #9
What was done
Backend —
GET /api/stats/activityartifacts/api-server/src/routes/stats.tsgte(jobs.createdAt, windowStart)andGROUP BY date_trunc(hour, created_at){ hours: number[24], generatedAt: string }— 24 slots oldest→newest, zero-padded for empty hoursroutes/index.tsFrontend — heatmap component
div.hm-segsegments rendered in#heatmap-barinside#activity-heatmap(bottom-center)@keyframes hm-pulse#heatmap-tooltip) shows e.g.3pm: 12 jobs submitted#heatmap-overlayfull-screensetIntervalthe-matrix/js/ui.js; wired intoinitUI()Verification
pnpm typecheck— 0 errorspnpm lint— 0 errors (15 pre-existing warnings unchanged)