Repository navigation
Conversation
The ring already had the number in its aria-label and popover. Put it under the ring so you don't have to hover. Fixes pingdotgg#7651
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
One finding: the trigger now overrides the icon-sm height at the call site, which breaks the composer footer's shared control geometry. Details inline.
Posted via Macroscope — UI Consistency
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Simple UI enhancement that displays the already-computed context usage percentage on the meter. Changes are purely presentational (conditional styling and text display) with no logic or behavioral modifications. You can add or adjust custom eligibility rules. Learn more. |
|
Closing as superseded — the linked issue #7651 was closed as not planned. |
The context ring already knew the percentage. It just hid it in the hover popover.
The number now sits under the ring at 9px so you can read usage without hovering. The popover still has the token breakdown.
Fixes #7651
Note
Cursor Bugbot is generating a summary for commit fc442c3. Configure here.
Note
Show context usage percentage on
ContextWindowMetertriggerUpdates ContextWindowMeter.tsx to render the
usedPercentagevalue as a small text span next to the ring SVG. The trigger button now usescn(...)to switch from a squaresize-7layout to a widerh-7 w-autolayout whenusedPercentageis present.Risk: visual sizing of the meter trigger changes when a percentage is available; callers not passing
usedPercentagekeep the original icon-sized button.Macroscope summarized c6a6e10.