Skip to content

Add profile stats cards to dashboardAdd profile stats cards to dashboard#312

Open
Deepachoudhary24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Deepachoudhary24:feature/profile-stats-clean
Open

Add profile stats cards to dashboardAdd profile stats cards to dashboard#312
Deepachoudhary24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Deepachoudhary24:feature/profile-stats-clean

Conversation

@Deepachoudhary24
Copy link
Copy Markdown

Summary

Added compact GitHub profile stat cards to the dashboard.

Closes #84

Type of Change

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

Changes Made

  • Added new /api/metrics/profile-stats API endpoint

  • Fetched GitHub profile data using GitHub API

  • Added profile stat cards for:

    • Member Since
    • Public Repos
    • Total Stars
    • Total Forks
    • Followers
  • Added loading skeletons

  • Added compact number formatting (e.g. 1.2k)

  • Rendered stats cards below the weekly summary section

How to Test

  1. Run npm install
  2. Run npm run dev
  3. Sign in with GitHub
  4. Open the dashboard
  5. Verify profile stats cards appear and load correctly

Screenshots (if UI change)

(Add screenshot here)

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 18, 2026

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

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.

[FEAT] Stat summary cards — Member Since, total stars, forks, and public repos

1 participant