Skip to content

feat: Add contributors leaderboard by project count (#7959) - #9551

Open
nishtha-agarwal-211 wants to merge 8 commits into
dhairyagothi:Mainfrom
nishtha-agarwal-211:feat/contributors-leaderboard-7959
Open

nishtha-agarwal-211 wants to merge 8 commits into
dhairyagothi:Mainfrom
nishtha-agarwal-211:feat/contributors-leaderboard-7959

Conversation

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor

📝 Description

This PR implements a visual Contributors Leaderboard ordered by project count on the contributors page, satisfying the GSSoC feature request.

Key Changes:

  1. Registry & Schema Validation:
    • Added the contributor property as a required field in schema/projects.schema.json.
    • Populated the contributor field for all 242 existing projects in projects.json using Git commit history.
    • Updated validate-metadata.js and validate-projects-fixture.js to enforce this schema validation.
  2. UI & Styles:
    • Built a Top 3 Podium layout in contributor.html with custom Gold, Silver, and Bronze highlights.
    • Appended CSS styling in contributor.css featuring glassmorphism, floating animation badges, hover glows, and mobile responsiveness.
    • Rendered ranks 4+ in a grid list with a customizable "Show All Ranks" toggle button.
  3. Project Maintainer Highlight:
    • Programmatically highlighted the repository owner/maintainer (dhairyagothi) on the leaderboard card and list row with a special glowing "Maintainer" badge.

📷 Visual Verification (Screenshots)

1. Top 3 Podium Ranks with Maintainer Badge

Top 3 Podium Ranks

2. Leaderboard Ranks 4 to 10

Ranks 4-10

Closes #7959

Copilot AI review requested due to automatic review settings June 24, 2026 05:32
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@nishtha-agarwal-211 is attempting to deploy a commit to the Dhairya Gothi 's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dhairyagothi dhairyagothi added gssoc:approved Approved by admin level:advanced Advanced difficulty task type:refactor Refactoring/improvement labels Jun 25, 2026
Comment thread projects.json

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will not work some day some one will do contribute and add their github username in all projects and how can i indetify previous projects who have done that ??

@dhairyagothi dhairyagothi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

find other alternative @nishtha-agarwal-211

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor Author

find other alternative @nishtha-agarwal-211

Hi @dhairyagothi, I've updated the PR with two features to solve this:

  1. Protection: The validation script now compares changes against the Main branch and fails if someone tries to modify an existing project's contributor.
  2. Audit Tool: Added a script (npm run audit:contributors) that scans git history for each project path and reports mismatches, so you can easily verify who built what.

Let me know if this works!

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor Author

Hey @dhairyagothi , Can you please review this pr when you have time!

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor Author

Hi @dhairyagothi ! Hope you're doing well. Just following up on this PR. It is up-to-date with main and ready for review whenever you get a chance. Thank you for your time and support!

This branch has not been deployed

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

Labels

gssoc:approved Approved by admin level:advanced Advanced difficulty task type:refactor Refactoring/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add contributors leaderboard by project count

3 participants