Skip to content

feat: add repository spotlight widget (pin your best repo) #1077

@Priyanshu-byte-coder

Description

@Priyanshu-byte-coder

Feature Request

Is your feature request related to a problem?
DevTrack shows aggregate stats but doesn't highlight specific repositories. Developers often have a "flagship" project they want to showcase on their public profile.

Describe the solution you'd like
Allow users to pin up to 3 repositories to spotlight on their public profile, similar to GitHub's pinned repositories:

  • Repo name, description, primary language, star count, fork count
  • Link to GitHub repo
  • Commit activity sparkline for the past 30 days

Implementation Details

  • New DB table: pinned_repos (user_id, repo_full_name, display_order)
  • Settings UI to search and pin repos (search from user's repos)
  • New PinnedReposWidget component
  • Show on both dashboard and public profile
  • Fetch fresh repo stats from GitHub API

Acceptance Criteria

  • Users can pin up to 3 repos in Settings
  • Pinned repos shown on public profile
  • Each card shows: name, description, language, stars, forks
  • 30-day commit sparkline on each card
  • Reorder pinned repos via drag or up/down arrows
  • Unpin option
  • Gracefully handles deleted/private repos

Additional context
GitHub's pinned repos are one of the most-used features. DevTrack's version adds the sparkline differentiator.

Metadata

Metadata

Assignees

Labels

gssoc26GSSoC 2026 contributiongssoc:assignedGSSoC: Issue assigned to a contributorlevel:advancedGSSoC: Advanced difficulty (55 pts)type:featureGSSoC type bonus: new feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions