[BUG] Claude code dashboard - "Active days" and "Current streak" undercount when sessions span multiple days

Resolved 💬 3 comments Opened May 14, 2026 by madebyxinyue Closed May 18, 2026

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?

Active days and streak count session creation days, not days with actual user messages, so long-running sessions resumed across multiple days only count once.

What Should Happen?

  • A day counts as "active" if you sent at least one user message that day, regardless of which session it belongs to.
  • "Current streak" and "Longest streak" should follow the same per-message-day rule.
  • Resumed sessions should contribute to every calendar day they receive messages on, not only their creation day.

Error Messages/Logs

Steps to Reproduce

  1. Start a Claude Code session on Day 1 and send a few messages.
  2. On Day 2 (or later), resume that same session with claude --continue or claude --resume and send more messages.
  3. Do not start any new session on Day 2.
  4. Open the stats view (Overview tab, "7d" range).
  5. Observed: Day 2 is not counted toward "Active days," and "Current streak" resets despite continuous daily use.
  6. Expected: Day 2 counts as active because user messages were sent that day.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗