Summary
PRMetrics shows PR counts but no visual breakdown of open vs merged vs closed PRs. A donut chart would make the distribution immediately clear.
Expected Behaviour
A donut/pie chart showing:
- Open PRs (accent color)
- Merged PRs (green)
- Closed without merge (red/muted)
With a legend below. Total PR count in the center.
Implementation Notes
- Recharts PieChart is already a dependency — use it
- Data: { open, merged, closed } from existing PR metrics API response
- Center label: '{total} PRs'
- Hover tooltip showing count and percentage
- No hardcoded colors — use var(--accent), emerald-500, var(--muted-foreground)
GSSoC Info
- Difficulty: Intermediate — 35 pts
- Area: UI / Data Visualization
Summary
PRMetrics shows PR counts but no visual breakdown of open vs merged vs closed PRs. A donut chart would make the distribution immediately clear.
Expected Behaviour
A donut/pie chart showing:
With a legend below. Total PR count in the center.
Implementation Notes
GSSoC Info