Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add an option to enable IOB in the mainline #452
Conversation
and others
added some commits
Sep 25, 2014
jasoncalabrese
added the
in progress
label
Mar 1, 2015
coveralls
commented
Mar 1, 2015
coveralls
commented
Mar 1, 2015
coveralls
commented
Mar 1, 2015
coveralls
commented
Mar 1, 2015
|
Need to test this on azure, and make sure the bundle can be written, etc |
jasoncalabrese
referenced
this pull request
Mar 1, 2015
Merged
Port profile api from wip/iob-cob #439
dduugg
commented on an outdated diff
Mar 1, 2015
| @@ -0,0 +1,80 @@ | ||
| +'use strict'; | ||
| + | ||
| +function calcTotal(treatments, profile, time) { | ||
| + | ||
| + console.info("trying to calc"); | ||
| + | ||
| + var iob = 0 | ||
| + , activity = 0; | ||
| + | ||
| + if (!treatments) return {}; | ||
| + | ||
| + if (typeof profile === 'undefined') { |
dduugg
Contributor
|
dduugg
commented on an outdated diff
Mar 1, 2015
| @@ -43,7 +43,8 @@ | ||
| "pushover-notifications": "0.2.0", | ||
| "sgvdata": "0.0.2", | ||
| "socket.io": "^0.9.17", | ||
| - "git-rev": "git://github.com/bewest/git-rev.git" | ||
| + "git-rev": "git://github.com/bewest/git-rev.git", | ||
| + "browserify-express": "^0.1.4" |
dduugg
Contributor
|
jasoncalabrese
added some commits
Mar 6, 2015
|
I like that… looks really good. One thing I noticed with the delta and IOB below BG and trend… the straight down arrow clips IOB in the older style. Not sure if it happens with your new pill design.
|
|
Hi Jason, you can separate them a thread? Thanks Matteo |
|
....with the oblique arrow are lowered. |
|
This gets even harder when you add COB and BGI. Also want room for uploader battery, noise level, etc. We'd have options to pick what you want to see, but still more pills. And then to keep it responsive from desktop to tablet to iPhone4. We really need to move to fixed sizes and get rid the % based font sizes. We can have multiple sizes for different device targets. |
|
Hey Jason, I like the look of the pills. It really cleans up the interface. For my eyes, the grey on black colors and small fonts don't provide a lot of contrast. I have to look harder at the data to read it vs the current green / yellow / red on black. Would white on black look out of place? Jim
|
|
I was thinking the exact same thing Jim
|
|
Maybe a brighter grey? So not fully white? Icons might be good too, but then we have to move to fixed font sizes. I want to be able to plug in new types of data really easy. |
|
How does this look @ELUTE and @jasoncalabrese? I changed the pill background color to #bdbdbd but left the font color the same grey. it gives a little more contrast without looking too out of place. Maybe you have a better idea. |
|
@jimsiff |
|
Looks good. We should probably use the same grey for the value in the pill too. Should we replace the other grey? Clock, time ago, BG (retro and default theme), etc. |
|
Sounds good. I do think the brighter grey pops more against the black... I'd like to see what it looks like with clock, time ago, BG, etc using that. I hope it doesn't kill the effectiveness of Night mode. |
|
@jimsiff @jasoncalabrese |
jasoncalabrese
added some commits
Mar 7, 2015
|
Hi everyone, you can not keep a new display based pill and place as it was put by wip / IOB -COB have a screen cleaner ? what do you say @scottleibrand |
jasoncalabrese
added some commits
Mar 7, 2015
|
@francescaneri, trying to fit the IOB/COB into the title has been a problem. That layout is really fragile, screws up the click location of the toolbar, and runs into the title. |
jasoncalabrese
added some commits
Mar 7, 2015
|
I'm going to merge this to dev and start getting it integrated with everything else |
jasoncalabrese
added a commit
that referenced
this pull request
Mar 8, 2015
|
|
jasoncalabrese |
1e27704
|














jasoncalabrese commentedMar 1, 2015
Like the Care Portal and Raw Data this feature will need to be enabled using the
ENABLEenv var. For example:ENABLE="careportal rawbg iob"This will use a treatment profile or default to a DIA of 3 hours. A UI for setting the treatment profile is begin working on with #439
This also make IOB available to the pebble endpoint