Added [search-bar]: search bar added to contributions page#354
Added [search-bar]: search bar added to contributions page#354Jerusha547 wants to merge 2 commits into
Conversation
✅ Deploy Preview for github-spy ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Contributors page now includes a client-side search interface that filters the displayed contributor cards by GitHub login in real time. A new ChangesContributor Search
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🎉 Thank you @Jerusha547 for your contribution. Please make sure your PR follows https://github.com/GitMetricsLab/github_tracker/blob/main/CONTRIBUTING.md#-pull-request-guidelines
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/pages/Contributors/Contributors.tsx`:
- Around line 186-191: The Button rendering the contributor link (the component
instance with props href={contributor.html_url} and target="_blank") is missing
rel="noopener noreferrer"; update that Button to include rel="noopener
noreferrer" to mitigate reverse-tabnabbing when opening external links in a new
tab (keep the Button, startIcon, sx, and other props unchanged).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 867b6749-0809-4084-af92-29e84b4af29e
📒 Files selected for processing (1)
src/pages/Contributors/Contributors.tsx
Related Issue
Description
Implemented a contributor search feature on the Contributors page to improve usability and navigation.
Changes made:
Added a search bar below the “🤝 Contributors” heading
Implemented real-time contributor filtering
Added case-insensitive username search
Added “No contributors found” message for empty search results
Improved responsive grid behavior during filtering
Prevented contributor cards from shrinking when fewer results are displayed
Added autofocus to the search input field
This enhancement makes it easier for users to quickly find contributors in larger contributor lists.
How Has This Been Tested?
Tested contributor search with existing usernames
Tested partial username matching
Tested case-insensitive searches
Tested no-result scenarios
Tested locally
Screenshots (if applicable)
search-bar.mp4
Type of Change
Summary by CodeRabbit