Skip to content

added repo list new UI#1122

Open
indresh404 wants to merge 11 commits into
Priyanshu-byte-coder:mainfrom
indresh404:repo-lists
Open

added repo list new UI#1122
indresh404 wants to merge 11 commits into
Priyanshu-byte-coder:mainfrom
indresh404:repo-lists

Conversation

@indresh404
Copy link
Copy Markdown
Contributor

Summary

Adds and stabilizes the new Repo Analytics Explorer dashboard experience, including real 7-day repository activity tracking, improved analytics panel behavior, pagination, naming consistency updates, and light-mode fixes.

Closes #154

Type of Change

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

Changes Made

  • Added a new Repo Analytics Explorer section with responsive repository cards and analytics side panel.
  • Replaced mock/random repository activity graph data with real GitHub commit activity from the last 7 days.
  • Added proper XAxis weekday labels (Sun–Sat) to repository activity charts.
  • Fixed repository consistency metric logic using active commit days over the last 7 days.
  • Added repository pagination (6 cards per page) with next/previous navigation.
  • Moved Repo Analytics section below the commit activity row for better dashboard hierarchy.
  • Removed Commit Heatmap section from the analytics side panel.
  • Fixed analytics side panel overlay clipping and prevented background scrolling while open.
  • Renamed module/folder/import naming from project-analytics to repo-analytics for improved clarity.
  • Updated explorer endpoint usage to /api/metrics/repo-explorer.
  • Fixed /api/user/settings behavior when Supabase placeholder environment variables are missing to avoid runtime instability.
  • Improved light-mode support by replacing hardcoded dark-only styles with theme-aware styling.
  • Updated Repo and View buttons styling for improved visual consistency.

How to Test

  1. Run npm run dev and open /dashboard.

  2. Confirm the Repo Analytics section appears below the commit activity row.

  3. Verify repository cards render with real 7-day activity data.

  4. Confirm Sun–Sat labels appear correctly on activity charts.

  5. Verify consistency % reflects active commit days over the last 7 days.

  6. Confirm pagination shows 6 repositories per page with working next/previous navigation.

  7. Open the analytics side panel and verify:

    • backdrop covers the full screen,
    • background page scrolling is disabled,
    • panel shadow is fully visible,
    • Commit Heatmap section is removed.
  8. Switch between dark/light themes and verify styles adapt correctly.

  9. Verify Repo and View buttons render correctly in both themes.

  10. Confirm no crashes occur if Supabase env values are placeholders/missing.

  11. Run npm run type-check and npm run lint and verify both pass.

Screenshots

image 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 25, 2026

@indresh404 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:design GSSoC type bonus: UI/design (+10 pts) labels May 25, 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

@indresh404
Copy link
Copy Markdown
Contributor Author

@indresh404
Copy link
Copy Markdown
Contributor Author

@Priyanshu-byte-coder /review

@github-actions github-actions Bot added the type:testing GSSoC type bonus: tests (+10 pts) label May 25, 2026
@Priyanshu-byte-coder Priyanshu-byte-coder added level:advanced GSSoC: Advanced difficulty (55 pts) gssoc:approved GSSoC: PR approved for scoring labels May 26, 2026
@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

Merge conflict after several PRs landed on main — likely on e2e/landing.spec.js or a shared component. Rebase to unblock:

git fetch origin && git rebase origin/main
# resolve conflicts, then:
git push --force-with-lease

All CI checks look good otherwise — once rebased this is ready to merge.

@indresh404
Copy link
Copy Markdown
Contributor Author

@Priyanshu-byte-coder check

@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

CI is failing on this PR. Please fix the failing checks before it can be merged.

@indresh404
Copy link
Copy Markdown
Contributor Author

/review

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

Labels

gssoc:approved GSSoC: PR approved for scoring gssoc26 GSSoC 2026 contribution level:advanced GSSoC: Advanced difficulty (55 pts) type:design GSSoC type bonus: UI/design (+10 pts) type:testing GSSoC type bonus: tests (+10 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] add interactive Project Analytics Explorer for repository-level insights

2 participants