-
Notifications
You must be signed in to change notification settings - Fork 73
[FEAT] GitLab — contribution graph data #10
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or requestgssoc26GSSoC 2026 contributionGSSoC 2026 contributionlevel2GSSoC Level 2 - Medium complexity (25 points)GSSoC Level 2 - Medium complexity (25 points)mediumMedium difficulty taskMedium difficulty task~4hEstimated 4 hoursEstimated 4 hours
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgssoc26GSSoC 2026 contributionGSSoC 2026 contributionlevel2GSSoC Level 2 - Medium complexity (25 points)GSSoC Level 2 - Medium complexity (25 points)mediumMedium difficulty taskMedium difficulty task~4hEstimated 4 hoursEstimated 4 hours
Part of the GitLab integration (#6). Requires #9 (GitLab OAuth) to be merged first.
What Needs to Be Done
Fetch GitLab commit events and pipe them into the existing ContributionGraph component. The graph should merge GitHub + GitLab commits into one unified view.
Files to Look At
src/app/api/metrics/contributions/route.ts— add GitLab commits fetch logicsrc/components/ContributionGraph.tsx— merge both data sources in displayAcceptance Criteria
Tech Context
GitLab Events API: `https://gitlab.com/api/v4/events?action=pushed&per_page=100\`
Auth header: `Authorization: Bearer `
The project is a single Next.js app deployed on Vercel — all API logic lives in `src/app/api/` route handlers.