Skip to content

Version 0.4.1#48

Merged
loudnate merged 3 commits into
masterfrom
dev
Jun 27, 2016
Merged

Version 0.4.1#48
loudnate merged 3 commits into
masterfrom
dev

Conversation

@loudnate

Copy link
Copy Markdown
Collaborator

Fixes an issue where the new Nightscout upload preference wasn't saved across app launches

@loudnate loudnate merged commit 25fe21c into master Jun 27, 2016
kenstack pushed a commit to kenstack/Loop that referenced this pull request Aug 23, 2018
* Put a glucose chart on the watch.

This incorporates a ton of fine work by Eric Jensen, but I've squashed
it down into a single commit for ease of management.

The watch now has two discrete pages, one which is the standard actions
based interface, the second is an information interface which shows the
IOB, COB, basal rate and a glucose chart.

Glucose data is read from HealthKit on the watch. Sometimes this lags
behind so we also make requests to backfill glucose data as
necessary. We're also minimizing the amount of data sent over BLE as
much as possible since BLE is slow and less reliable.

* Fix filename mismatches in comments

* Prototype of a SpriteKit-based glucose chart

* Tweak the scene size for 42mm watches

* Add the rest of the chart components

* Set high watermark higher for mg/dl

* Clean up pause/unpause semantics and set the max hours to 4

* The crown now adjusts the height of the graph

* Fix override range rendering to match the Loop app ui

* Small optimizations

* Clean up the rendering code to pause between data changes

* Remove debug code

* Highlight the upper BG when it changes

* Make updateGlucoseChart async to avoid hitting CPU limits

* More stability fixes & remove graph corner radius

* Force updateNode() to run on the main queue to avoid contention

* Improve watch size detection code

* Switch to the more efficient SpriteNode

* Only cache 4 hours of glucose history

* Remove pause/unpause code- it doesn't save significant CPU

* Try unpausing the WKInterfaceSKScene to get the animation to stop freezing

* Revert "Remove pause/unpause code- it doesn't save significant CPU"

This reverts commit deeddb2.

* Move the IOB/COB below the graph

* Whitespace and comment cleanup

* Animate moving points on the chart

* Only animate the predicted path when adjusting the y-axis

* Clean up sprite animation code

* Adjust scene size on 38mm watch

* Only show overrides that haven't yet expired

* Fix node expiration code

* Break the more complex updateSprite into two more manageable pieces: getSprite() and SKSpriteKitNode.move()

* Clean up variable names and comments around how we expire inactive nodes for readability

* Add some comments to aid readability

* Change visible hours with force touch menu

* Revert changes in tools versions in storyboard

* Add icons for duration menu

* Rearrange menu actions

* Fix asset locations for graph menu icons

* Make mmol/L graph limits be integers

* Force minimum height for dated range rects

* Make target ranges more visible

* Only show future part of override ranges

* Revert "Only show future part of override ranges"

This reverts commit 0b25d2e.

* Expire overrides once they move into past

* Set min range height via variable

* Rearrange image assets for graph menu

* Clarify minimum height on dated range

* Don't send expired overrides in watch context

* Rearrange testing of override end date

* Treat nil COB as zero

* Use signed integers for predicted glucose values.

* Remove frame, add background color, move labels to one line
erikdi pushed a commit to erikdi/Loop that referenced this pull request Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant