Add explicit confirmation before consuming rate-limit resets - #34
Merged
Conversation
ClaudiuSchuster
marked this pull request as ready for review
September 4, 2026 13:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #33
What changed
when the authoritative count is positive.
Cancel, Escape and closing the dialog never consume a credit. The safer
default button is Cancel, and the dialog now uses the concise
limit resetwording.
idempotency key per attempt and the selected opaque credit ID when detail
rows are available. Count-only snapshots remain supported without a credit
ID.
refreshes the complete usage snapshot after a response and shows concise
feedback in the popup.
the elapsed percentage and remaining time for that circle's own window.
Credits:treatment forLimit resets:, its separator,expiry text and countdown while keeping the reset count bright; the
separator is slightly smaller and vertically aligned.
activity and adds the tightly cropped native confirmation screenshot.
Security and privacy impact
explicitly activates the destructive confirmation action; there is no
background redemption, private HTTP endpoint, API-key access or credential
file access.
networking. The local history format is unchanged and stores no reset-credit
details or credentials.
and contain no account-specific data, tokens or private paths.
Verification
make verify(includingmake check) passes.tooltip formatting, count-only data, earliest-expiry selection, zero-count
inactivity, optional
creditId, the required idempotency key and alldocumented outcomes.
EXPECTED=10 VALID=10 SYMLINKS=0 MISMATCHES=0; Cinnamon stayed on the samePID and the live applet reported version 0.3.8 with no error or busy state.
the muted reset row styling, the smaller/lower separator and the updated
confirmation title without consuming a reset.
popup crops were visually audited after cleanup restored the original
desktop, desklet, menu and pointer state.