feat: add 1d/2d/3d short time-range filters - #31
Open
RKdev wants to merge 1 commit into
Open
Conversation
Prepend 1d, 2d, and 3d options to the RANGES array in the Overview and Skills views, before the existing 7d/30d/90d/All buttons. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
@nateherkai heads up on this PR when you get a chance! |
muckybuzzwoo
added a commit
to muckybuzzwoo/token-dashboard
that referenced
this pull request
Jul 22, 2026
Adds 1/2/3-day buttons to the Overview and Skills range selectors (upstream PR nateherkai#31). Fixes the position-based default (RANGES[1]) that would have shifted the default from 30d to 2d once the short ranges were prepended -- now looks up 30d by key.
|
Thanks — integrated the 1d/2d/3d range filters into my fork. Small heads-up: prepending the short ranges shifts the position-based default (RANGES[1]) from 30d to 2d, so I changed the default to look up 30d by key instead. Credit and notes here: https://github.com/muckybuzzwoo/token-dashboard/releases/tag/v0.6.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Date.now() - days * 86400 * 1000), just shorter windowsTest plan
🤖 Generated with Claude Code