What Needs to Be Done
Add a GitHub-style heatmap (green squares calendar) alongside or as an alternative to the bar chart in the contributions section.
Why This Matters
GitHub's heatmap is the most recognizable developer activity visualization. It gives an immediate sense of consistency and streaks — much more intuitive than a bar chart for long time ranges.
Files to Create/Modify
src/components/ContributionHeatmap.tsx — new component
src/app/dashboard/page.tsx — add below or as tab alongside ContributionGraph
- Optionally use a library like `react-activity-calendar` or build custom with CSS Grid
Acceptance Criteria
Tech Context
Data source: same /api/metrics/contributions?days=90 endpoint.
For the calendar grid: CSS Grid with 7 rows (days of week) × N columns (weeks).
Color palette example: slate-800 (0), indigo-900 (1-2), indigo-700 (3-5), indigo-500 (6+), indigo-400 (10+).
What Needs to Be Done
Add a GitHub-style heatmap (green squares calendar) alongside or as an alternative to the bar chart in the contributions section.
Why This Matters
GitHub's heatmap is the most recognizable developer activity visualization. It gives an immediate sense of consistency and streaks — much more intuitive than a bar chart for long time ranges.
Files to Create/Modify
src/components/ContributionHeatmap.tsx— new componentsrc/app/dashboard/page.tsx— add below or as tab alongside ContributionGraphAcceptance Criteria
Tech Context
Data source: same
/api/metrics/contributions?days=90endpoint.For the calendar grid: CSS Grid with 7 rows (days of week) × N columns (weeks).
Color palette example: slate-800 (0), indigo-900 (1-2), indigo-700 (3-5), indigo-500 (6+), indigo-400 (10+).