Skip to content

feat: add Today range button to dashboard#112

Open
Fruhji wants to merge 1 commit into
phuryn:mainfrom
Fruhji:feat/today-range-button
Open

feat: add Today range button to dashboard#112
Fruhji wants to merge 1 commit into
phuryn:mainfrom
Fruhji:feat/today-range-button

Conversation

@Fruhji
Copy link
Copy Markdown

@Fruhji Fruhji commented May 7, 2026

Summary

Adds a Today button to the date range selector, showing only usage from the current day.

  • New today range key added to RANGE_LABELS and RANGE_TICKS
  • getRangeBounds returns { start: today, end: today } for the today range
  • Button inserted as the first option in the range bar
  • Auto-refresh continues to work since rangeIncludesToday already handles same-day ranges correctly

josepe98 added a commit to josepe98/claude-usage that referenced this pull request May 23, 2026
Credit: Fruhji (Leon) — phuryn#112

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@josepe98
Copy link
Copy Markdown

Thanks for this — clean, well-scoped PR. We've merged it into our actively maintained fork at https://github.com/josepe98/claude-usage if you'd like to use a version with this and several other fixes applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants