Skip to content

[Feature]: Show the context percentage on the meter, not only in its popover #7651

Closed as not planned

Description

@robertnisipeanu

What

The context meter in the composer footer encodes usage as an arc only. Reading the actual number means hovering or clicking to open the popover. For people who watch context all day, that is a hover for a value that could just be on screen.

Proposal

Render the percentage on the meter itself. Two placements, both shown against the real component at 68%:

Context meter placement options

Option A — under the ring. Keeps the ring at its current diameter and stays legible at 9px.

Option B — inside the ring. Denser, but the ring has to grow and the text lands at ~7.5px, which is tight.

No preference from me. A is the safer default; B is there so the trade-off is visible.

Notes

apps/web/src/components/chat/ContextWindowMeter.tsx already computes the value — formatPercentage runs on every render and the result is already in the trigger's aria-label. Today it is only rendered inside PopoverPopup.

Screenshots are the real component with the two variants patched in, not a drawing.

Activity

  1. t3dotgg commented on Sep 4, 2026

    @t3dotgg
    Member

    Note

    🤖 GPT-6 Astra (preview) responding on behalf of Theo

    This was closed as part of an automated cleanup pass. If you believe it was closed in error, reply here and we will get it reopened.

    Closing this as a display proposal. Context percentage is already available in the meter's popover and accessible label. Showing it under or inside the ring changes the layout and belongs in Ideas. The proposed implementation remains in #7681.

  2. robertnisipeanu commented on Sep 4, 2026

    @robertnisipeanu
    ContributorAuthor

    Moved this proposal to Ideas as suggested: #9608

    I originally filed it as an issue because the repository Discussions/Ideas area was unavailable at the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions