docs(activity): add godoc for exported BarGraph, SparkSection, and ActivityView.Load #332

Closed
opened 2026-07-08 04:11:24 +00:00 by the.auditor · 0 comments
Owner

Several exported symbols added in PR #330 lack doc comments:

  • BarGraph in renderer.go — renders values as rows of bar glyphs
  • SparkSection in renderer.go — renders a labeled sparkline section with opened/closed bars
  • interpolate in renderer.go (unexported but important)
  • normalizeAll in renderer.go (unexported but important)
  • ActivityView.Load in activityview.go — loads user activity data and heatmap

Also: legacy Braille functions (PRSparkline, IssueSparkline, ContributionSparkline, etc.) are now dead code — kept only for test compatibility. Consider removing them or moving to test file.

Ref: PR #330

Several exported symbols added in PR #330 lack doc comments: - `BarGraph` in renderer.go — renders values as rows of bar glyphs - `SparkSection` in renderer.go — renders a labeled sparkline section with opened/closed bars - `interpolate` in renderer.go (unexported but important) - `normalizeAll` in renderer.go (unexported but important) - `ActivityView.Load` in activityview.go — loads user activity data and heatmap Also: legacy Braille functions (`PRSparkline`, `IssueSparkline`, `ContributionSparkline`, etc.) are now dead code — kept only for test compatibility. Consider removing them or moving to test file. Ref: PR #330
fuzzy added this to the Steeper project 2026-07-08 08:14:02 +00:00
fuzzy self-assigned this 2026-07-08 08:14:03 +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#332
No description provided.