feat: add search filter to TopRepos widget (Fixes #1909)#1929
Conversation
|
@YashKrTripathi 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. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
This PR has merge conflicts with git fetch origin
git rebase origin/main
git push --force-with-lease |
|
done @Priyanshu-byte-coder merged the conflicts |
b3f4f8f
into
Priyanshu-byte-coder:main
|
🎉 Merged! Thanks for contributing to DevTrack. If the project has been useful to you, a ⭐ star on the repo is the easiest way to support it — it helps DevTrack get discovered by more developers. Keep an eye on open issues for your next contribution! |
Summary
Added a small search input at the top of the
TopReposwidget to allow users to client-side filter the displayed repository list by name. This makes it much faster for users with many repositories to find specific ones without scrolling.Closes #1909
Type of Change
Changes Made
TopReposcard.aria-labelattributes to the input and clear button for better accessibility.How to Test
Steps for the reviewer to verify this works:
TopReposwidget.aria-labelusing browser dev tools or a screen reader.Screenshots (if UI change)
Checklist
npm run lintpasses locallynpm run type-check)Accessibility Checklist
Additional Notes
The search filtering occurs completely on the client side, avoiding unnecessary API calls and ensuring a highly responsive user experience.