feat: per-provider heatmap breakdown, much deeper linked-account history #10

Merged
day01 merged %!d() commits from %!s() into %!s() 2026-08-20 20:46:45 +00:00
Owner

Two follow-ups the user asked for after trying the deployed heatmap: (1) per-provider breakdown instead of one merged linked-account sum, so the front can offer GitHub-only/GitLab-only/Codeberg-only/all filtering, and (2) much deeper history for GitHub (loops across up to 10 one-year windows, since contributionsCollection rejects a wider single span) and GitLab (paginates /events up to 20 pages instead of one) — both were arbitrarily capped at ~365 days.

Two follow-ups the user asked for after trying the deployed heatmap: (1) per-provider breakdown instead of one merged linked-account sum, so the front can offer GitHub-only/GitLab-only/Codeberg-only/all filtering, and (2) much deeper history for GitHub (loops across up to 10 one-year windows, since contributionsCollection rejects a wider single span) and GitLab (paginates /events up to 20 pages instead of one) — both were arbitrarily capped at ~365 days.
day01 added 1 commit 2026-08-20 20:42:28 +00:00
		userHeatmap's linkedPublic/linkedPrivate now return one entry per
provider (GitHub/GitLab/Codeberg) instead of a single merged sum, so
the front can offer per-provider filtering instead of only a combined
view.

Also reaches much further back: GitHub's contributionsCollection loops
across up to 10 one-year windows (its API rejects a wider single span),
GitLab's /events is now paginated up to 20 pages instead of one. Both
were previously capped at ~365 days for no real reason beyond "that's
what fit in one call."
	
day01 merged commit fd4b7f10a0 into %!s() 2026-08-20 20:46:45 +00:00
day01 deleted branch etap5/heatmap-per-provider 2026-08-20 20:46:45 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/identity#10