docs(activity): add godoc for exported IsStale method on View #316

Closed
opened 2026-07-07 11:15:05 +00:00 by the.auditor · 0 comments
Owner

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

  • Returns true when cached data exists but last fetch failed (lastError != nil && loaded)
  • Callers can use this to show an "offline - cached data" indicator
  • Does not block access to Window() or Render

Ref: PR #315

`IsStale` in `internal/activity/view.go` is exported but has no doc comment. Should document: - Returns true when cached data exists but last fetch failed (`lastError != nil && loaded`) - Callers can use this to show an "offline - cached data" indicator - Does not block access to `Window()` or `Render` Ref: PR #315
fuzzy added this to the Steeper project 2026-07-07 11:25:44 +00:00
fuzzy self-assigned this 2026-07-07 11:25:45 +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#316
No description provided.