Skip to content

fix(contributor): show repository-specific pull requests#662

Open
mayurigade-hub wants to merge 1 commit into
GitMetricsLab:mainfrom
mayurigade-hub:fix/contributor-profile-repository-pr-filter
Open

fix(contributor): show repository-specific pull requests#662
mayurigade-hub wants to merge 1 commit into
GitMetricsLab:mainfrom
mayurigade-hub:fix/contributor-profile-repository-pr-filter

Conversation

@mayurigade-hub
Copy link
Copy Markdown
Contributor

Related Issue


Description

Updated the contributor profile page to fetch pull requests only from the current project repository instead of all GitHub repositories.

Previously, the GitHub search query used:

author:${username}+type:pr

which returned pull requests created by the contributor across all repositories on GitHub.

This change updates the query to include the project repository filter so that only pull requests related to this project are displayed on the contributor profile page.

Changes made:

  • Updated the GitHub search query to include the repository name
  • Ensured contributor profiles display only project-related pull requests
  • Improved accuracy and relevance of contributor information

How Has This Been Tested?

  • Opened contributor profiles from the Contributors page
  • Verified that only pull requests from the project repository are displayed
  • Confirmed that unrelated pull requests from other repositories no longer appear
  • Verified that the profile page loads correctly without errors

Screenshots (if applicable)

N/A


Type of Change

  • Bug fix
  • New feature
  • Code style update
  • Breaking change
  • Documentation update

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for github-spy failed.

Name Link
🔨 Latest commit a2e396c
🔍 Latest deploy log https://app.netlify.com/projects/github-spy/deploys/6a1d2bdbfc8503000818995d

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 1, 2026

Warning

Review limit reached

@mayurigade-hub, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 10 minutes and 27 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7988fc4a-0b27-4162-a216-cdf71be39e3a

📥 Commits

Reviewing files that changed from the base of the PR and between 53f820b and a2e396c.

📒 Files selected for processing (2)
  • src/pages/ContributorProfile/ContributorProfile.tsx
  • src/utils/constants.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mayurigade-hub
Copy link
Copy Markdown
Contributor Author

Hello Maintainers
Please review this
Thank you!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Contributor Profile Shows Pull Requests From All GitHub Repositories

1 participant