Skip to content

Mani shashank Add insights panel and duration filtering to PR Team Analytics#4775

Merged
one-community merged 1 commit intodevelopmentfrom
feature/pr-analytics-insights-panel
Feb 23, 2026
Merged

Mani shashank Add insights panel and duration filtering to PR Team Analytics#4775
one-community merged 1 commit intodevelopmentfrom
feature/pr-analytics-insights-panel

Conversation

@shashankm9
Copy link
Copy Markdown
Contributor

Description

image image image

Related PRS (if any):

...

Main changes explained:

  • Add insights panel displaying Total PRs, Avg Reviews/PR, and Most Reviewed PR
  • Implement functional duration filtering (Last Week, Last 2 Weeks, Last Month, All Time)
  • Update PRData with realistic date-based mock data
  • Improve dark mode contrast for chart visibility
  • Update metrics calculation to reflect filtered time periods
  • Ensure panel and chart update correctly based on duration selection"

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. clear site data/cache
  4. log as admin/owner user
  5. go to http://localhost:3000/pr-team-analytics/popular-prs
  6. verify the horizontal graph is working as expected
  7. verify the Insights Panel is working properly
    Showing:
    Total PRs reviewed in the selected duration
    Average reviews per PR
    Most reviewed PR (highlighted)
  8. verify the graph changes with the each Duration filter
  9. verify chart refresh with a loading indicator when filter selection changes
  10. verify the vertical scrolling within the graph works as expected
  11. verify the above features in dark mode as well

Screenshots or videos of changes:

week.30.mp4

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 30, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 4412a7b
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/697c39f82e3f270008c35c65
😎 Deploy Preview https://deploy-preview-4775--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Feb 13, 2026
Copy link
Copy Markdown

@rohanrastogi311 rohanrastogi311 left a comment

Choose a reason for hiding this comment

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

Hi Mani,

Well done with this implementation.

Image Image

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Mani Shashank,

I have reviewed your PR locally and it works as per requirement in both modes.

4775.mp4

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit a8454c8 into development Feb 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants