Fix colors of predicted line in Live activity plot#2410
Fix colors of predicted line in Live activity plot#2410elnjensen wants to merge 4 commits intoLoopKit:devfrom
Conversation
Is this behavior new with this PR? Are you able to test it with the released code? I wonder if it's a separate bug. Edit to add that this happens for live activity mg/dl graph as well. I didn't even realize it was possible for the range field to be blank in an override! (Maybe @bastiaanv didn't either, though he's probably ahead of me. 😉) I'm traveling and can't edit code right now, but I think this is a separate issue, and that the LA code needs to check to see if the range fields in an override are blank, and then fall back to displaying the override bar with the main range bounds if so. |
I went back to 3.12, the issue is also present but in a slightly different way. For the duration of the override the override bars are not visible at all (at least, I cannot find them in the live activity view). Example below for an override of 1.5 hours with only insulin needs set at 70%: So it seems the issue was already present, but the changes in this PR make it so the issue shows up in a slightly different way. |
|
Hi @elnjensen, I was just wondering what should be done about the the override display issue? Where the live activity displays the target range incorrectly if the override has a target range without any entries. Because other than that, I've been running the code in this PR for weeks now and the colouring works exactly as expected. |
|
Honestly, I had forgotten about this! I'll try to have a look when I have a chance (hopefully soon) and update the pull request. But in terms of when it might get merged, I don't have any control over that. |









This PR addresses two issues in the Live Activity plot: