-
Notifications
You must be signed in to change notification settings - Fork 108
Enable multi-language repo search and selection #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updated the hero component to allow users to select multiple programming languages via checkboxes, both from main and 'other' languages. Modified the repo page logic to accept and process multiple languages, fetching and merging results from GitHub for each selected language. This enhances the search experience by supporting multi-language queries. (commit desc by copilot)
@offbeatjs is attempting to deploy a commit to the Max Programming's projects Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this implementation!
Here are a few requested changes
@offbeatjs I have reviewed the code and it's good but the implementation doesn't work. I have requested some changes to make the implementation perfect. Please let me know if you get stuck anywhere or you don't understand something ✌️ |
Thanks for the awesome insights ! I'll do this asap |
Co-authored-by: Usman Sabuwala <51731966+max-programming@users.noreply.github.com>
fixed the requested changes - added search button below - directory move from `/(public)/repos/[language]/_components` to `/(public)/repos/_components`
Could you check this up ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loving it so far @offbeatjs!
I've left a few comments for further improvements
- Replaced CSV params with Array - Moved the search bar up, and the button where it was.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more changes and we're good to go
Co-authored-by: Usman Sabuwala <51731966+max-programming@users.noreply.github.com>
Refactored the hero search form to separate the input and submit button, improving accessibility and layout. Added a loading skeleton for the repos page to enhance user experience during data fetching. Also simplified language parameter parsing in the repos page. - the repos/loading.tsx is exact same as the /repos/[language]/loading.tsx
Let me know if there are further changes needed. |
Some minor changes I'm gonna make before merging this in |
@all-contributors please add @offbeatjs for code, design, ideas |
I've put up a pull request to add @offbeatjs! 🎉 |
Updated the hero component to allow users to select multiple programming languages via checkboxes, both from main and 'other' languages. Modified the repo page logic to accept and process multiple languages, fetching and merging results from GitHub for each selected language. This enhances the search experience by supporting multi-language queries.
(commit desc by copilot)
what's changed tl;dr