Usage overview heatmap has intermittent gaps in older weeks (shifts between sessions)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The usage overview widget shown at the start of new Claude Code sessions (Overview tab, "All" timeframe) displays an activity heatmap with a persistent gap in the middle/older portion of the grid.
Observations:
- The most recent ~5 weeks (rightmost columns) reliably show activity.
- Older weeks are inconsistently blank -- the specific set of blank days shifts between different session loads (e.g. seen blank on "Jun 7" in one load, "Feb 28" in another, on the same account).
- Hovering a blank square shows "0" activity, even though the account's own summary stats (1,473 sessions, 247,996 messages, 75 active days, 13-day longest streak) confirm real activity exists across that range.
- A separate personal account (Pro plan, different machine) does not show this gap -- its graph is fully populated.
- This account is on a Max plan, billed to a corporate credit card (not an org/enterprise-managed account, not SSO-tied).
- The issue appears to have started around March 1, 2026 -- that roughly lines up with where the earliest gaps now appear in the graph.
This looks like a client-side fetch/pagination issue where older-week data is fetched separately from the recent-week window and intermittently fails or returns empty, rather than a genuine activity gap or an account-type/billing difference.
<img width="644" height="404" alt="Image" src="https://github.com/user-attachments/assets/cf0ccc18-48bc-4b41-9e1f-d72b6476cffe" />
<img width="600" height="370" alt="Image" src="https://github.com/user-attachments/assets/d27c1247-ba6c-4326-b5d9-6d53f576509f" />
<img width="593" height="378" alt="Image" src="https://github.com/user-attachments/assets/b6b71eb3-23d1-4102-a5c4-e77276013ee5" />
What Should Happen?
The usage overview heatmap should consistently render all historical activity days for the account's full active history (matching the account's own reported active-day count), with no blank/zero gaps for days that had real activity, and the same set of days should render consistently across repeated session loads (not shift between loads).
Error Messages/Logs
Steps to Reproduce
- Start a new Claude Code session (this account is on a Max plan, billed to a corporate card).
- View the Overview usage widget, "All" timeframe.
- Hover over blank squares in the middle/older portion of the grid -- note they report "0" activity despite the account's own summary stats (75 active days, 13-day longest streak) indicating real activity in that range.
- Start another new session later and view the widget again -- note that the set of blank days has shifted compared to the previous load.
- Compare against a separate personal Pro-plan account on a different machine, which shows a fully populated graph with no gaps.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.21459.0 (f7518f) 2026-07-14T05:32:17.000Z
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
Platform/Terminal notes: this account is a Claude Max plan (subscription, billed to a corporate credit card) -- not an API-key/Anthropic-API-billed platform, hence "Other" above. Interface is the Claude for Windows desktop app's built-in Code feature, not a standalone terminal, hence "Other" for Terminal/Shell as well.
Screenshots showing the shifting gap and "0" hover tooltips will be attached below.