docs(activity): add godoc for HasHighActivity and HighActivityDays #333

Merged
fuzzy merged 1 commit from fix/318-high-activity-docs into main 2026-07-08 04:27:33 +00:00
Owner

What

Add godoc comments to two exported methods on View:

  • HasHighActivity — reports whether any day exceeded the high-activity threshold
  • HighActivityDays — returns date strings of days with the high-activity flag

Why

These exported symbols lacked documentation. Godoc helps consumers understand when the status line renders warnings and how to retrieve the affected dates.

Testing

  • go vet ./... passes
  • go test -race -short ./... passes
  • golangci-lint passes
  • No functional changes — doc-only

Closes #318

## What Add godoc comments to two exported methods on `View`: - `HasHighActivity` — reports whether any day exceeded the high-activity threshold - `HighActivityDays` — returns date strings of days with the high-activity flag ## Why These exported symbols lacked documentation. Godoc helps consumers understand when the status line renders warnings and how to retrieve the affected dates. ## Testing - [x] `go vet ./...` passes - [x] `go test -race -short ./...` passes - [x] golangci-lint passes - [x] No functional changes — doc-only Closes #318
docs(activity): add godoc for HasHighActivity and HighActivityDays
All checks were successful
Test and Release / test (pull_request) Successful in 3m29s
Test and Release / lint (pull_request) Successful in 4m26s
0dbc36cd2a
fuzzy added this to the Steeper project 2026-07-08 04:25:04 +00:00
fuzzy self-assigned this 2026-07-08 04:25:05 +00:00
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-08 04:25:08 +00:00
the.auditor left a comment

Review

Result: Approved — no issues. Closes #318.

5 lines of godoc added to HasHighActivity and HighActivityDays. No functional change. Builds and tests pass.

## Review **Result: Approved** — no issues. Closes #318. 5 lines of godoc added to `HasHighActivity` and `HighActivityDays`. No functional change. Builds and tests pass.
fuzzy merged commit 0dbc36cd2a into main 2026-07-08 04:27:33 +00:00
fuzzy deleted branch fix/318-high-activity-docs 2026-07-08 04:27:33 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!333
No description provided.