Purav Taking over unfinished PR #3861 - PR Review Team Analytics Dashboard - #5413
Purav Taking over unfinished PR #3861 - PR Review Team Analytics Dashboard#5413pixelpix13 wants to merge 1 commit into
Conversation
…ngs. Port Manvitha's review-summary chart onto latest development with dark mode, responsive layout, and PR Dashboard navigation. Co-authored-by: Cursor <cursoragent@cursor.com>
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
kzou55
left a comment
There was a problem hiding this comment.
Hi Purav,
I ran and tested the PR locally alongside its associated backend.
Verified
-
Page title is "Reviewers Ranked by Requirement Satisfied"
-
Duration Filter works: Last Week, Last 2 weeks, Last Month, All Time
-
Chart has correct stacked bars, totals, and tooltips
-
Reviewer names are readable (not only on hover)
-
Loading State looks good(used a slow network)
Recording.2026-07-27.201255.mp4
-
Choosing a duration from the dropdown shows the network make the request
-
http://localhost:5173/analytics/dashboardhas the same component
-
Confirmed /pr-dashboard/analytics does not contain the stated PR Review Team Analytics component




Description
This PR is a takeover of the unfinished frontend work from #3861 (
Manvitha-PR-Review-Team-Analytics-Dashboard).Manvitha's branch was outdated and conflicting with
development, so this PR rebuilds the feature on latestdevelopmentand only brings over the analytics feature work (not a full merge of the old branch).What this adds
GET /api/analytics/review-summaryRelated PRs
Main changes explained
GITHUB_REVIEW_SUMMARYendpoint helper inURL.js./pr-dashboard/reviewers(preferred / linked from Header)/analytics/dashboard(kept for original test path from XXXX taking over for Manvitha pr review team analytics dashboard #3861)Backend +
.envsetup (required)Reviewers must run the related backend PR and set a GitHub token, or the chart will stay empty / show an error.
1. Backend
(
feature/Purav-PR-Review-Team-Analytics-Dashboard)http://localhost:4500)2. Environment variable
In the backend
.env, add a valid GitHub token:How to create the token (same guidance as #2285 / #1648 / #3861):
public_repo/repo, or fine-grained with Pull requests: Read3. Frontend
feature/Purav-PR-Review-Team-Analytics-Dashboardnpm install(or project equivalent)https://localhost:5173orhttp://localhost:5173How to test
Primary path (recommended)
http://localhost:5173/pr-dashboard/reviewersAlternate path (legacy from #3861)
http://localhost:5173/analytics/dashboard(same component as
/pr-dashboard/reviewers)Not this PR
These are different existing pages:
/pr-dashboard/analytics→ Top Popular PRsNetwork check (optional)
In DevTools → Network, selecting a duration should call:
Screenshots
Light mode
Dark mode
Navigation
Video of changes
PR.2285+5413.mp4
Notes for reviewers
development.GITHUB_TOKENare required for real data.Test plan
GITHUB_TOKENset/pr-dashboard/reviewersfrom Header → PR Dashboard/analytics/dashboardalso loads the same dashboard/pr-dashboard/analytics(Popular PRs)