Repository navigation
Menu bar: 0 t/s instead of a dash; the numbers-only dot breathes - #345
Merged
Merged
Conversation
The speed line reads 0 t/s both when nothing is running and when running requests have not produced a token yet; it no longer shows "— t/s". In the numbers-only style the in-flight dot now breathes: a Core Animation mask on the dot fades it between full and 25% opacity with ease-in-out, 1 s each way, sharing the glow's begin time. Like the glow it is taken off while the menu is open and stays solid when Reduce Motion is on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
0 t/swhen no request is running and when running requests have not produced a token yet, instead of— t/s.rate_shortnow takes a plainu32. The menu's in-flight rows are unchanged (no speed before the first token).mask_aroundfor the opaque sides of the mask.Checked on a live status item with a temporary probe of the presentation layers: the dot's opacity cycles 1.0 → 0.25 → 1.0 every 2 s, and the glow on the mark still sweeps. Clippy and the menu bar tests pass.
🤖 Generated with Claude Code