Skip to content

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

Open
namann5 wants to merge 1 commit into
Coder-s-OG-s:mainfrom
namann5:feat/798-pr-volume-chart
Open

feat(analytics): wire PR Volume chart on maintainer analytics page#822
namann5 wants to merge 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wire PR Volume chart on maintainer analytics page

1 participant