Skip to content

Conversation

offbeatjs
Copy link
Contributor

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

  • hero.tsx to add langauge selector checkboxes
  • src\app(public)\repos[language]\page.tsx edited to add multi language support by querying Github API

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)
Copy link

vercel bot commented Oct 11, 2025

@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.

Copy link

vercel bot commented Oct 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hacktoberfest-projects Ready Ready Preview Comment Oct 15, 2025 7:13am

Copy link
Owner

@max-programming max-programming left a 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

@max-programming
Copy link
Owner

max-programming commented Oct 11, 2025

@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 ✌️

@offbeatjs
Copy link
Contributor Author

Thanks for the awesome insights ! I'll do this asap

offbeatjs and others added 4 commits October 11, 2025 14:39
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`
@offbeatjs
Copy link
Contributor Author

Could you check this up ?

Copy link
Owner

@max-programming max-programming left a 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.
Copy link
Owner

@max-programming max-programming left a 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

offbeatjs and others added 3 commits October 13, 2025 21:43
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
@offbeatjs
Copy link
Contributor Author

Let me know if there are further changes needed.

@max-programming
Copy link
Owner

Some minor changes I'm gonna make before merging this in

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@max-programming max-programming merged commit ddd49d4 into max-programming:main Oct 15, 2025
3 checks passed
@max-programming
Copy link
Owner

@all-contributors please add @offbeatjs for code, design, ideas

Copy link
Contributor

@max-programming

I've put up a pull request to add @offbeatjs! 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow multiple language based searching for repositories

2 participants