Skip to content

Add GitHub profile page with contributions, pinned repos, and activity feed#75

Merged
stylessh merged 1 commit intomainfrom
stylessh/profile-page
Apr 12, 2026
Merged

Add GitHub profile page with contributions, pinned repos, and activity feed#75
stylessh merged 1 commit intomainfrom
stylessh/profile-page

Conversation

@stylessh
Copy link
Copy Markdown
Owner

Summary

  • Adds a profile page at /<username> showing avatar, bio, metadata, followers, and a contribution graph banner with radial stagger animation
  • Displays pinned repositories in a 2-column grid and a timeline activity feed with PR/issue cards, commit aggregation, and month grouping
  • Extracts getPrStateConfig into a shared pr-state.ts helper for consistent PR icon/color across the app
  • Server-side fetches profile, viewer, and pinned repos in the loader; contributions and activity load client-side with infinite query pagination
  • Adds custom PenIcon, motion package, and userActivity cache policy (5min stale, 30min gc)

Test plan

  • Navigate to /<your-username> and verify profile info, contribution graph animation, pinned repos, and activity feed render
  • Verify "Load more" fetches additional activity pages
  • Check PR cards show correct state icons (draft=gray, open=green, merged=purple, closed=red)
  • Visit another user's profile and confirm public-only events are shown
  • Verify PR rows on /pulls and PR detail pages still show correct state icons after the shared helper refactor

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
diffkit 464b7e4 Commit Preview URL

Branch Preview URL
Apr 12 2026, 02:27 AM

@stylessh stylessh added the enhancement New feature or request label Apr 12, 2026 — with Diff Kit
@stylessh stylessh merged commit fdba742 into main Apr 12, 2026
4 checks passed
stylessh added a commit that referenced this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant