Repository navigation
Use the selected range mode for Live Activity colors - #762
Merged
Merged
Conversation
The Live Activity now colors the reading against the same low and high values as the chart and BG header, so TIR and TITR use 70-180 and 70-140 and Custom uses the user's lines. A reading exactly on a line counts as low or high, like in the header. Changing the range mode refreshes the Live Activity.
This was referenced Oct 12, 2026
marionbarker
approved these changes
Oct 16, 2026
marionbarker
left a comment
Collaborator
There was a problem hiding this comment.
The code change is approved. I tested that it builds.
kristinkand
added a commit
to kristinkand/LoopFollow
that referenced
this pull request
Oct 17, 2026
Brings in the larger Snoozer text (loopandlearn#749), the APNS environment shown as info (loopandlearn#776), and the final narrow-screen Live Activity fix (loopandlearn#775). Integration already had loopandlearn#757, loopandlearn#764, loopandlearn#769 and remote meal edit/delete; for loopandlearn#762 it keeps its own range-mode thresholds and the dynamic Live Activity colors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LgnnHLJbhxmQaEjQNYR5VZ
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.
The Live Activity always colored the reading against the custom low and high lines, even when TIR or TITR was selected, so it could disagree with the chart and the BG header. It now uses the same range as the rest of the app: 70-180 for TIR, 70-140 for TITR, and the user's lines for Custom.
A reading exactly on the low or high line now counts as low or high, matching the header. Changing the range mode refreshes the Live Activity, and a change in range is enough to push an update even if the reading itself hasn't changed.