Skip to content

feat : added a top laung feature for top repos#513

Open
Muragesh-24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Muragesh-24:repo_laug
Open

feat : added a top laung feature for top repos#513
Muragesh-24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Muragesh-24:repo_laug

Conversation

@Muragesh-24
Copy link
Copy Markdown
Contributor

Summary

Adds per repo programming language badges to TopRepos, showing the top languages for each repository with colored dots and percentages.
Closes #170

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup

Changes Made

  • Enriched the repos metrics API with per repo language data from GitHub’s /repos/{owner}/{repo}/languages endpoint.
  • Rendered a compact language badge row in TopRepos with GitHub-style color dots.
  • Kept the layout stable by reserving space for the language row even when data is missing.
  • Added graceful fallback behavior when language fetches fail or return no data.

How to Test

  1. Open the dashboard and navigate to Top Repositories.
  2. Hover or inspect a repo entry and confirm the language badges appear with percentages and colored dots.
  3. Switch the time range and confirm the repo list and language rows still render correctly.
  4. Verify repos without language data do not show a broken row.

Screenshots

image

Checklist

  • Linked issue in summary
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Self-reviewed the diff
  • Added/updated tests if applicable

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:feature GSSoC type bonus: new feature labels May 21, 2026
@github-actions
Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

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

Labels

gssoc26 GSSoC 2026 contribution type:feature GSSoC type bonus: new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add per-repo language breakdown tooltip in TopRepos

1 participant