-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live activity improvements #310
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the conversionFactor noted, this code built on an SE (no LA available) and an iPhone 15. Testing it without using Trio.
I did not see the clipping that was supposed to be fixed either before or after applying the patch.
If you want to reproduce clipping, simulate a 3 digit glucose with a double arrow up, that should be clipped to something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving again after base branch was changed. (Same comments as before about conversion - but that is out of scope of this PR.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval based on code review. LGTM.
For future reference, the expired screen can be easily tested by changing this line to |
So this only removes the square background behind the text in the rounded shape, correct, @10nas ? |
Correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approving after minor UI change around expired LAs.
Thanks for the update, nas!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from testing and light code review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in vivo and looked for the expire changes and such. They look and function great. Clipping didnt test (mmol, so never had any issue anyway)
Code review looks great!
Merging with 3(+expired from marion) approvals |
* Chart for predictions Bolus view * A bit cleaner Carbs View with better presets summary * Back button and view meal entries in Bolus views
LiveActivityAttributes.ContentState
.LiveActivity
structure for readability.