docs(activity): add godoc for exported Render7DayHeatmap #313

Closed
opened 2026-07-07 10:53:01 +00:00 by the.auditor · 0 comments
Owner

Render7DayHeatmap in internal/activity/heatmap.go is exported but has no doc comment. Should document:

  • Input: []DailyActivity for a context's 7-day window
  • Output: formatted string with weekday labels and level characters (· ▁ ▂ ▃ ▄)
  • Missing days default to level 0 (·)
  • Uses totalActivity() to combine all metrics into a single score

Ref: PR #312

`Render7DayHeatmap` in `internal/activity/heatmap.go` is exported but has no doc comment. Should document: - Input: `[]DailyActivity` for a context's 7-day window - Output: formatted string with weekday labels and level characters (· ▁ ▂ ▃ ▄) - Missing days default to level 0 (·) - Uses `totalActivity()` to combine all metrics into a single score Ref: PR #312
fuzzy added this to the Steeper project 2026-07-07 11:10:46 +00:00
fuzzy self-assigned this 2026-07-07 11:10:48 +00:00
fuzzy closed this issue 2026-07-08 08:14:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/steeper#313
No description provided.