Skip to content

feat: add PR review participation rate metric widget #191#280

Closed
zishanq7861 wants to merge 0 commit into
Priyanshu-byte-coder:mainfrom
zishanq7861:feat-pr-reviews
Closed

feat: add PR review participation rate metric widget #191#280
zishanq7861 wants to merge 0 commit into
Priyanshu-byte-coder:mainfrom
zishanq7861:feat-pr-reviews

Conversation

@zishanq7861
Copy link
Copy Markdown

Closes #191

Implemented the PR Review Participation Rate feature matching all acceptance criteria:

  • Updated src/app/api/metrics/prs/route.ts to fetch both authored and reviewed PRs using the reviewed-by filter constraint.
  • Calculated the total code review count and computed the participation percentage rate.
  • Updated src/components/PRMetrics.tsx to display the "Reviews given" stat with a custom Tailwind CSS hover tooltip.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

@zishanq7861 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

Same issues as PR #279 — please fix in both PRs before merge:

  1. Use session.githubLogin not session.user?.name for username
  2. Use 'Bearer' not 'token' in Authorization header
  3. Use author:LOGIN not involves:LOGIN (involves is too broad)

Also conflicts with recently merged changes. Please rebase: git fetch upstream && git rebase upstream/main

@Priyanshu-byte-coder Priyanshu-byte-coder added the gssoc:approved GSSoC: PR approved for scoring label May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC: PR approved for scoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add PR review participation rate metric

2 participants