Skip to content

fix(ui): keep reset credits readable in narrow provider cards - #6

Merged
StevenACZ merged 2 commits into
mainfrom
fix/reset-credits-badge
Sep 22, 2026
Merged

StevenACZ merged 2 commits into
mainfrom
fix/reset-credits-badge

Conversation

@StevenACZ

Copy link
Copy Markdown
Owner

Summary

  • The Codex reset credit pill no longer wraps letter by letter in the narrow Unified ring card.
  • When the header row has room (individual views, wider cards), the pill stays beside the update time. Otherwise the full label moves to its own line below it.
  • The choice reserves the widest update-time text, so the header does not jump between "now" and "12 min ago".
  • The provider title is limited to one line, and the pill no longer makes the header row taller.
  • Adds a tooltip and accessibility label ("1 limit reset available").
  • Prepares version 1.5.1 (build 8).

Verification

  • make ci-check: 335 tests, 3 opt-in skips, 0 failures.
  • New ResetCreditsBadgeRenderingTests check wide and narrow cards in English and Spanish, in ring and standard styles, with 1/3/12/120 credits and update ages of now, 12 min and 59 min.

@StevenACZ
StevenACZ merged commit c3036af into main Sep 22, 2026
2 checks passed
@StevenACZ
StevenACZ deleted the fix/reset-credits-badge branch September 22, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant