Skip to content

feat(github): improve pr enriched data - #3204

Open
setchy wants to merge 3 commits into
mainfrom
fix/pr-activity
Open

feat(github): improve pr enriched data #3204
setchy wants to merge 3 commits into
mainfrom
fix/pr-activity

Conversation

@setchy

@setchy setchy commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary
Refines how pull request review information is aggregated and displayed in notification metrics, including reviewer state grouping and review-thread resolution counts.

Changes

  • Aggregate reviewers by their latest review state instead of listing all reviews.
  • Include reviewer names in review metric tooltips.
  • Decouple getPullRequestReviewIcon from GitifyPullRequestReview; it now accepts a local PullRequestReviewGroup type.
  • Extend the GitHub GraphQL pull request query with reviewer and review-thread data needed for aggregation.
  • Update ReviewsPill to compute grouped review states and thread totals from the new reviewer model.
  • Add/adjust tests across the pull request handler, GraphQL client, icon utilities, and ReviewsPill component to cover the new aggregation and grouping logic.

Testing

  • Pull request handler tests (reviewer aggregation, ordering by submittedAt, review-thread merging).
  • GraphQL client and query tests.
  • Icon utility tests updated for the new PullRequestReviewGroup type.
  • ReviewsPill component tests and snapshots.

setchy added 3 commits August 18, 2026 08:58
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
setchy requested a review from afonsojramos as a code owner August 18, 2026 14:16
@github-actions github-actions Bot added enhancement New feature or enhancement to existing functionality forge:github GitHub Cloud, GitHub Enterprise labels Aug 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

enhancement New feature or enhancement to existing functionality forge:github GitHub Cloud, GitHub Enterprise

Development

Successfully merging this pull request may close these issues.

1 participant