Repository navigation
feat(web): usage bars show a pace tick and say when you're ahead of pace - #1014
Merged
Merged
Conversation
Each usage bar in the composer's usage popover and on the Usage page gets a small tick at how much of the limit's window has passed, worked out from the reset time and window length the providers already send. When usage is at least 5 points past the tick, the detail line says "ahead of pace". Each usage row in the composer popover now opens the Usage page.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
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.
The weekly and 5h usage bars showed how much of a limit you'd used, but not whether that's a lot for this point in the window.
Each usage bar now has a small tick at how much of the window has passed, worked out from the reset time and window length the providers already send. A bar filled past its tick will run out before the reset. When usage is at least 5 points past the tick, the detail line says "ahead of pace". It's left out when a limit is reached or another limit is the blocker. The tick appears in the composer's usage popover and on the Usage page. Each usage row in the composer popover is now a button that opens the Usage page. The app guide's usage line explains the tick.