mirror of
https://github.com/tiennm99/ghglance.git
synced 2026-10-14 06:17:37 +00:00
refactor(model): rename TotalContributions → TotalContributionsLastYear
N8 — the field is set from contributionsCollection.contributionCalendar, a rolling last-year window, not a lifetime total. Rename + updated comment makes the semantics explicit so future readers don't confuse it with TotalCommitsAllTime.
This commit is contained in:
1 parent
6543bab6d8
commit
262a8e1482
1 file changed
+1
-1
@@ -27,7 +27,7 @@ type Profile struct {
|
||||
TotalIssues int
|
||||
TotalReviews int
|
||||
TotalContributedTo int
|
||||
TotalContributions int // lifetime contributions from calendar + restricted
|
||||
TotalContributionsLastYear int // contributionCalendar.totalContributions + restrictedContributionsCount (last year)
|
||||
|
||||
// Count of owned repos grouped by primary language, sorted desc by Value.
|
||||
ReposByLanguage []LangStat
|
||||
|
||||
Reference in new issue
Block a user