Show the absolute reset time next to limit countdowns (both 5-hour and weekly) - #263
Merged
Merged
Conversation
…ntdown (with weekday if not near)
Owner
|
Thank you for your contribution! |
cte13
added a commit
to cte13/PokeTokenBar-iOS
that referenced
this pull request
Sep 8, 2026
* feat: raise the floating pet size ceiling from 192px to 384px (chattymin#267) The desktop pet slider topped out at 192px. Double the maximum so the companion can be sized up to 384px. Sprites render with `.interpolation(.none)`, so the extra scale stays crisp pixel art instead of blurring, and `FloatingPetController` already observes `floatingPetSize`, so the panel resizes with the sprite as the slider moves. Also cover the other branch of `max(petSize, bubbleMinWidth)`, where the pet drives the panel width rather than the bubble column. Only 184 and 192 reached it before; now it is most of the range. Claude-Session: https://claude.ai/code/session_01X91ErNfhphSw9gC1pqjjjN Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> (cherry picked from commit cd3125a) * Show the absolute reset time next to limit countdowns (both 5-hour and weekly) (chattymin#263) * feat: enhance 5-hour reset display with reset time aside countdown * feat: enhance weekly reset display with reset date and time aside countdown (with weekday if not near) * chore: update staled comment about weekly relative-only display (cherry picked from commit f2fe5ac) * feat: trigger immediate refresh upon network reconnection (chattymin#252) * feat: trigger immediate refresh upon network reconnection * fix: add lock synchronization and flapping debounce to NetworkReachabilityMonitor (cherry picked from commit b34673a) --------- Co-authored-by: Yongjae Kim <yojkim@lbox.kr> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Michael Mugnai <Maik93@users.noreply.github.com> Co-authored-by: Justin Jeong <justin.jeong@buzzvil.com>
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.
Title: Show the absolute reset time next to limit countdowns
Summary
The limits section of the popover only showed a relative countdown to each window's reset (
· in 3 hr, 5 min). That answers "how long" but not "at what time", so you can't tell whether a session frees up before your next meeting or whether a weekly cap resets Friday evening or Saturday morning.This adds the wall-clock reset moment in parentheses after the countdown, for every limit row (Claude 5-hour session, Claude scoped
limits[]entries, the Claude "current 5h block" row, Codex primary/secondary windows, the Codex personal spend limit, and Antigravity buckets):· in 3 hr, 5 min (14:52)· in 2 days, 9 hr (Friday 4, 18:00)Details:
CLAUDE.md.companion.language.displayLocale):ko→6일 일요일 19:41,de→Sonntag 6., 19:41, etc. The time is always 24-hour (HHmmtemplate), matching the existingforecastRowtime display.Text-returning helpers (resetClockSuffix,resetLabel) that the row builders now share, replacing the repeatedText("· \(reset, style: .relative)")snippet.Type of change
UI changes
Limits section of the popover. Percentage, gauge, and colors are unchanged; only the trailing reset text is extended.
5-hour session — 8% · in 3 hr, 5 min5-hour session — 8% · in 3 hr, 5 min (14:52)Weekly — 26% · in 2 days, 9 hrWeekly — 26% · in 2 days, 9 hr (Friday 4, 18:00)Canonical
assets/screenshots are regenerated at release, so they are not updated here.Checklist
swift buildpasses locally (swift testcould not run in this environment —XCTestmodule unavailable; CI covers the suite)Textcomposition + locale template) with no existing popover formatting test harness and onlyprivatesurface; verified viaswift buildand a locale-output check across en/ko/ja/de/fr.