Repository navigation
Conversation
marionbarker
left a comment
There was a problem hiding this comment.
Approve by test.
I also requested Claude to review the code and confirm the new test runs correctly.
- No issues were found and logic was reported to be correct.
|
Thank you for taking the time to test the change and review the code! I really appreciate the detailed verification and approval. This is actually my first approved open-source PR, so it's especially exciting and motivating for me. It definitely encourages me to keep contributing to the project! |
|
Thanks again for this PR! A heads-up about a change that just landed in This information was created by Claude. Details:#232 was merged into // before
case podActivating
// after
case podActivating(screen: OmniUIScreen)Your app code in this PR isn't affected, and GitHub will still show the PR as mergeable. But once If you update your branch by merging File: // change this:
let states: [PodLifeState] = [.podActivating, .expired, .podDeactivating, .noPod]
// to this:
let states: [PodLifeState] = [.podActivating(screen: .pairAndPrime), .expired, .podDeactivating, .noPod]The test only checks that no time is shown while a pod is activating, so the After the change, OmniTests should build. |
|
Thanks for the heads-up! I've merged the latest The full OmniTests suite completed successfully: 238 passed, 0 failed, and 3 existing upstream skips. The original production changes remain unchanged. Thanks again for your help! |


Show pod expiration minutes during final day
Summary
Addresses LoopKit/LoopKit#583.
The Omnipod settings screen previously displayed minutes only when less than two hours remained before pod expiration. As a result, a pod with 11 hours and 58 minutes remaining appeared to have only 11 hours left.
This change displays hours and minutes throughout the final 24 hours, matching the behavior described in LoopDocs.
Changes
OmniSettingsViewintoPodLifeStatefor unit testing.Testing
next-devand adapted the activation-state regression test following PR Update/next dev from dev #232. The original production changes remain unchanged.Notes
At narrow content widths, the longer countdown can cause the "Pod expires in" label to wrap onto two lines. No layout changes are included in this PR.
The original issue suggests showing minutes after the scheduled expiration reminder. This implementation instead shows minutes throughout the final day, consistently with LoopDocs and independently of reminder configuration. Happy to adjust if a narrower behavior is preferred.