Feat: Build contributor activity timeline on public profile#180
Feat: Build contributor activity timeline on public profile#180diksha78dev wants to merge 2 commits into
Conversation
|
@diksha78dev is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
can we add full contribution heatmap here ? Just a suggestion, happy to know the reason behind your current implementation. |
|
@Ayush-Patel-56 However, I completely agree that a full 365-day heatmap would look much better! I'd be happy to update the PR to fetch and display the full year if you'd like? |
|
Yep, would appreciate if you implement full year graph |
|
Ok |
|
@Ayush-Patel-56 i have implemented the heatmap graph code kindly review and let me know anything needs ... |
Summary
This PR adds a 90-day contributor activity timeline to public profiles (
/@handlepage) to highlight contributor consistency over time. It visualizes a user's contribution frequency using a premium client-side CSS grid-based heatmap.Type of Change
Related Issue
Closes #85
What was changed?
recommended_merge,unrecommended_merge, andhelp_review) fromxp_eventsfor the last 90 days. Excludes private claimed/skipped events.ActivityHeatmap(insrc/components/activity-heatmap.tsx) that displays a 13-week (91-day) calendar grid styled like GitHub's contribution graph, using tailormade Emerald shade tiers and active tooltips.profile:v3:${handle}to prevent type collisions with old cached database structures.src/app/[handle]/page.tsxto load the timeline data and renders the heatmap below the existing stats cards.Screenshots
(Heatmap renders visually right under the Stats grid on public profiles, displaying colored active blocks for public merges and reviews.)
Checklist
npm run dev)