feat: add a pace indicator to the usage bars#25
Open
carlosresu wants to merge 1 commit into
Open
Conversation
|
This feature is exactly what I was starting to look into. I think the "where am I in the 5 hours" and "where am I in the 7 days" is so useful. |
810f46b to
38c4132
Compare
|
yes I built the exact same thing. this is what I need. am I on track or am I overshooting and run out of tokens on the last day? |
4b30520 to
2fcd8ef
Compare
This was referenced Jun 27, 2026
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
Adds an opt-in pace indicator that marks where usage should be if spread evenly across the window, so each bar shows at a glance whether you can keep working or are about to run out. Rebased on v1.4.8 and extended to the Antigravity model.
resets_atand the fixed window length (5h / 7d).Screenshots
Green = headroom to ramp up; red = trajectory to exceed quota — in either style.
Settings control
A right-click Settings → Show pace indicator submenu with Off (default) / Tick / Solid as a radio group; the parent entry shows a checkmark while a style is active. Off by default; persists to
settings.jsonvia#[serde(default)]. The indicator draws inside the existing bar segments, so it does not change the widget width.Localization
All pace strings (
Show pace indicator,Off (default),Tick,Solid) are translated across all 10 supported locales.Independence & compatibility
Branches directly off v1.4.8
main(single commit) and contains only this feature — merge it alone, or alongside the detailed-remaining-time (#24) and ETD (#38) PRs in any order: every combination merges with 0 conflicts (verified viagit merge-tree+ a triple-merge that builds and passes tests).Test plan
cargo build+cargo testclean on v1.4.8