Skip to content

feat(models): let the user pick which Claude limit reset to use - #887

Merged
leookun merged 1 commit into
mainfrom
fix/claude-resets-cards
Nov 11, 2026
Merged

leookun merged 1 commit into
mainfrom
fix/claude-resets-cards

Conversation

@leookun

@leookun leookun commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

The limit-reset hover listed the resets as plain lines, with a small Next tag and one button under all of them that always took the server's next_grant_id, so which one would be used was hard to tell and could not be chosen.

  • Each reset sits in its own frame, titled by its label, with a Use This One… button that uses that one; the frame under the pointer is lit in the accent.
  • The one the server would take first is tagged Default (hint: the one the server would take first).
  • A pick is checked again before it is sent (still live, not paused, usable, no cooldown); the server's answer is shown as it is.
  • While none can be used (cooldown, ineligible), no buttons, only the reason.

Tests: test/models/claude_resets_test.dart, test/settings/models_page_test.dart (picking the second reset claims that one).

🤖 Generated with BaoCode

The hover listed the resets as plain lines, with a small Next tag and one
button under all of them that always took the server's next_grant_id, so
which one would be used was hard to tell and could not be chosen. Each
reset now sits in its own frame, titled by its label, with a button that
uses that one; the frame under the pointer is lit in the accent. The one
the server would take first is tagged Default. A pick is checked again
before it is sent, as still usable, and the server's answer is shown as
it is.

Co-Authored-By: BaoCode <noreply@baocode.dev>
@leookun
leookun merged commit f73c6de into main Nov 11, 2026
3 checks passed
@leookun
leookun deleted the fix/claude-resets-cards branch November 11, 2026 06:29
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.

2 participants