Commit

50d0c7d

Hey @WendellAdriel Heads-up: https://github.com/dev-null-sh/dev-null.sh/pull/1658 may add a new commit graph scale ("half", 26 weeks of daily buckets) to GET /api/v1/users/{handle}. The TUI draws any scale it doesn't know as one bar per bucket, so ~180 bars overflow the profile card and the header says "in the last period". A small fix that also covers future scales: in activityGraph (internal/tui/profile_view.go), treat any scale not in activityWindows as "year". Doing this will ensure any unknown scales (or a future "half" scale) render in a suitable way until you've had a chance to add proper support for them.
GitHubfeat: add the half-year activity scale to the API by shanesmithdev · Pull Request #1658 · dev-null-sh/dev-null.shSummary #1657 introduces a half-year activity scale (half, 26 weeks) for web profiles 30 days to 6 months old, and keeps it out of the API. This PR adds half to the API. Depends on #1657, whose com...

commit 50d0c7d