-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Show all Codex reset-credit expiration times, not only the next one #1758
Copy link
Copy link
Open
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Problem
CodexBar currently shows only the next expiring manual Codex reset credit in the menu, e.g.
Next expires in 1d.That is useful, but incomplete when multiple reset credits are available. Users can see how many manual resets they have, but not when the other available resets expire.
Current behavior
When multiple Codex reset credits are available, the menu shows:
Limit Reset Credits2 manual resets availableNext expires in 1dThe other available reset credits' expiration times are not visible from the menu.
Expected behavior
CodexBar should make all available reset-credit expiration times visible while keeping the default menu compact.
Preferred UI:
Limit Reset Creditsrow expandable/clickable, or add a smallShow detailsaffordance.Example expanded content:
Alternative UI:
The exact formatting can follow the existing reset-time display preference:
Why this matters
Manual reset credits can expire independently. Showing only the next expiration helps with the most urgent one, but it does not answer:
This makes the reset-credit count less actionable, especially for users who have more than one available reset.
Possible implementation direction
The existing model already appears to have enough source data: the reset-credit snapshot contains the full list of credits, while the menu currently displays only the next expiring available credit.
A possible implementation path:
Add a model field for a full reset-credit expiration summary, e.g.
codexResetCreditsDetailItems,codexResetCreditsExpandedText, or similar.Build it from available, non-expired reset credits sorted by
expiresAt.Keep the normal menu row compact by continuing to show only the next expiration inline.
Show the full list only on click/expand, or as hover/help text if that fits the app better.
Add/extend focused tests in
CodexResetCreditsMenuCardTestsfor:Suggested labels
Use these as actual GitHub labels if available; otherwise leave this section in the issue body:
enhancementarea:ui-uxprovider:codexpriority:loworpriority:medium