-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Decouple Codex reset-credit expiry display from “Show credits + extra usage” #1757
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
Codex reset-credit availability and expiry are currently hidden when Settings → Display → Show credits + extra usage is disabled.
That toggle is useful for hiding optional credit/extra-usage sections, but reset-credit expiry is different: it is time-sensitive operational information. If a user turns off credits/extra usage to keep the menu cleaner, they can also lose visibility into whether they have manual Codex resets available and when the next one expires.
Current behavior
Enable Codex as a provider.
Have at least one available Codex rate-limit reset credit.
Open the CodexBar menu with Show credits + extra usage enabled.
The menu shows the reset-credit section, e.g.:
Limit Reset Credits1 manual reset availableNext expires …Disable Settings → Display → Show credits + extra usage.
The reset-credit availability/expiry section disappears too.
Expected behavior
Codex reset-credit expiry should not be coupled to the generic credits/extra-usage toggle.
Preferred behavior:
Alternative acceptable behavior:
Why this matters
Manual reset credits can expire. Hiding their expiration together with optional credits/extra-usage makes it easy to miss a reset that should be used before it expires.
The reset-credit section feels closer to quota/reset visibility than to optional spend/credit details. Users may reasonably want to hide credit balances and extra usage while still seeing whether they have expiring reset credits.
Code context
The coupling appears to come from the reset-credit model helpers:
UsageMenuCardView.Model.codexResetCreditsText(input:)UsageMenuCardView.Model.codexResetCreditsDetailText(input:)Both currently guard on
input.showOptionalCreditsAndExtraUsage.There is also a focused test covering the current behavior:
CodexResetCreditsMenuCardTestsreset credits hide with optional usage disabledSo the change would likely involve either:
showOptionalCreditsAndExtraUsageguard from the reset-credit text/detail helpers and updating the test expectations, orSuggested labels
enhancementarea:ui-uxprovider:codexpriority:loworpriority:medium