Skip to content

feat(analytics): wire PR Volume chart on maintainer analytics page - #822

Merged
jakharmonika364 merged 1 commit into
Coder-s-OG-s:mainfrom
namann5:feat/798-pr-volume-chart
Jul 28, 2026
Merged

feat(analytics): wire PR Volume chart on maintainer analytics page#822
jakharmonika364 merged 1 commit into
Coder-s-OG-s:mainfrom
namann5:feat/798-pr-volume-chart

Conversation

@namann5

@namann5 namann5 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Closes #798

Supersedes #800 (reopened after conflict resolution).

Adds Analytics links to the maintainer dashboard, wiring the PR Volume chart analytics page (#770).

- Add getPrVolumeTimeSeries server action with access control (maintainer only, scoped repos)
- Add buildPrVolumeTimeSeries pure helper for bucketing PR data by day/week
- Create /maintainer/analytics route with range selector (7d, 30d, 90d, all)
- Create PrVolumeChart client component using Recharts AreaChart (merged, AI blocked, stalled)
- Add link to analytics page from maintainer dashboard
- Add unit tests for bucket building (daily, weekly, merged/closed/aiBlocked counting)
- Add PrVolumeDataPoint type to maintainer types

Closes Coder-s-OG-s#798
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

@namann5 is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel.

A member of the Team first needs to authorize it.

@jakharmonika364 jakharmonika364 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jakharmonika364 jakharmonika364 added level:beginner Beginner level difficulty quality:clean Clean, well-structured contribution type:feature New feature gssoc:approved Approved by GSSOC admin SSoC26 Easy ECSoC26 ECSoC26-L1 Easy labels Jul 28, 2026
@jakharmonika364
jakharmonika364 merged commit 80ef629 into Coder-s-OG-s:main Jul 28, 2026
3 of 4 checks passed
@ecsoc-sentinel ecsoc-sentinel Bot added ECSoC26-L1 Easy and removed ECSoC26-L1 Easy labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Easy ECSoC26-L1 Easy ECSoC26 gssoc:approved Approved by GSSOC admin level:beginner Beginner level difficulty quality:clean Clean, well-structured contribution SSoC26 type:feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wire PR Volume chart on maintainer analytics page

2 participants