-
Notifications
You must be signed in to change notification settings - Fork 71.9k
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
Alarm / Threshold updates (and some other UI updates...) #305
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
bd06646
read BG thresholds and alarm types from ENV and make them available t…
3e745f9
read BG thresholds from api; refactor init so that it happend after w…
b38fdab
emit alarms based on ENV ALARM_TYPES (simple and predict)
82d70a1
updated BG_HIGH default to 240
deb5e81
cleanup
da1ab49
preseve current behavior is new BG_* and ALARM_TYPES ENV isn't set
0df8650
draw 2 extra lines for the high/low thresholds; dispay normal alarms …
86c5af7
changed default of BG_HIGH to 260
f59b2bf
some more display adjustments for short-landscape mode
e66acdd
make an errorCode based alarm count as a low
86f9249
move tooltip div declatration up so it can be referenced as before
e9f1fb1
added tooltip for SGVs and MBGs in the focus area; different color ou…
bf87678
now using an updated version of @rnpenguin and @ldesboro treatment re…
fd9f02c
calc BG based on time of treatment, if it's not set; draw outlines fo…
5963534
added some validation and warnings when BG thresholds aren't stacked …
ae535ed
adjust size of focus dots based on screen size
eb3c63f
adjust the radius of the focus dots on transistion also (for rotate, …
de7ddfa
added some text-shadow for carb/insulin amount to make them easier to…
38f755e
move the context NOW line when scrolling
ac2f6a4
draw non-insulin/carbs treatment circles on the trendline too, if the…
53d4997
Nightscout NOT NightScout
bfcbda8
corrected some issues found in code review; improved use of media que…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Let's not conflate urgent and high.
This should be a high alarm type not urgent, right?
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.
Jason stipulated two high thresholds: a "high end of target range"
threshold (default 180), which would trigger a standard alarm, and a
"urgent high" threshold (default 240) that would trigger an urgent alarm.
Similar on the low end (80 and 55 IIRC).
Does that paradigm make sense to you? Do you have any suggestions for a
better way to approach it?
On Fri, Dec 19, 2014 at 3:56 PM, Ben West notifications@github.com wrote:
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.
I was attempting to not change the current normal/urgent alarms levels, since adding extra levels will make snooze more complicated.
There are still issues to work out with the High/Low setting on the client. The easy thing to do is make them say Urgent/Normal, but I don't think thats what people want.