-
Notifications
You must be signed in to change notification settings - Fork 8
Denote stale glucose (LOOP-927) #44
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
Conversation
|
c2cb548 to
fb87c6c
Compare
|
Watch app and complications are now also showing Loop completion freshness using color. BG going stale is still denoted with dashes. |
fd0554b to
cf77081
Compare
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.
A question about why there seems to be 2 different definitions of stale. Probably me missing something.
|
|
||
| glucoseLabel.setHidden(true) | ||
| glucoseLabel.setText("---") | ||
| glucoseLabel.setHidden(false) |
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.
Given this line, Line 62 isn't needed.
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. More only questions were around the use of LoopCompletionFreshness versus RecencyInterval, but @nhamming covered that. 🚀
|
Re-requested reviews, just to make sure my responses address your comments before merging. |
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! 🚀
If RecencyInterval is specific to glucose values, then perhaps renaming this to something more specific might clarify the difference.
|
@darinkrauss It's not just for glucose data. It's also for pump data. It's about the age limit of data Loop is willing to use for creating a forecast. Maybe |
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
|
@ps2 Yes, something to distinguish it from the loop completion freshness. But, you can also do this in a later code change. |
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! ![]()
Update based on design review of DIY merge. https://tidepool.atlassian.net/browse/LOOP-927