feat(homepage): add trending repos carousel section (fixes #36) - #52
Open
Diwakar-odds wants to merge 1 commit into
Open
feat(homepage): add trending repos carousel section (fixes #36)#52Diwakar-odds wants to merge 1 commit into
Diwakar-odds wants to merge 1 commit into
Conversation
|
@Diwakar-odds is attempting to deploy a commit to the aditthyass' projects Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Thank you for reviewing this Pull Request! 馃殌 Technical Analysis & ECSoC26 Label RequestThis PR implements the requested "Trending Repos" section on the homepage and resolves issue #36 by achieving the following:
Based on the official ECSoC'26 guidelines, I kindly request the maintainers to assign the
Please let me know if there are any changes required. I'm ready to address any feedback! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(homepage): add trending repos carousel section (fixes #36)
Summary
Added a new "Trending Repos" horizontal carousel section to the homepage using the GitHub Search API, directly above the main repository grid.
Motivation
Closes #36
The roadmap listed "Trending repos/orgs" as a planned feature. This PR fulfills the issue requirements by leveraging the existing
getTrendingReposAPI utility to display a live feed of recently created repositories that have rapidly gained stars.Changes
src/pages/HomePage.jsx:trendingTimeRange('weekly' or 'monthly') andtrendingRepos.getTrendingReposfunction inside auseEffect.RepoCardalong withRepoCardSkeletonto maintain visual consistency.Acceptance Criteria
created:>YYYY-MM-DD stars:>5 sort:stars.Impact & Side Effects
This adds a network request to the homepage load sequence, though it happens concurrently with the main repository list fetch, ensuring performance remains stable.
How to Test
Quality Checklist