Skip to content

Adding a Keychain wrapper for better credential storage; refactoring#54

Merged
loudnate merged 6 commits intodevfrom
keychain
Jul 2, 2016
Merged

Adding a Keychain wrapper for better credential storage; refactoring#54
loudnate merged 6 commits intodevfrom
keychain

Conversation

@loudnate
Copy link
Collaborator

@loudnate loudnate commented Jul 2, 2016

This makes progress toward #35. New settings UI is still to come.

@loudnate loudnate merged commit d6b7872 into dev Jul 2, 2016
@loudnate loudnate deleted the keychain branch July 2, 2016 22:05
lgruen pushed a commit to lgruen/Loop that referenced this pull request Aug 27, 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
yogary9 pushed a commit to yogary9/Loop that referenced this pull request Sep 3, 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
ps2 pushed a commit that referenced this pull request May 12, 2020
- Split version config into separate file; add code signing and provisioning configuration
- Update config override and derived assets mechanisms to avoid peeking into parent directory
- Report full version (short version string and build number) from Bundle
- Fix CFBundleVersion in Info.plist of DoseMathTests and LoopTests targets to correctly use CURRENT_PROJECT_VERSION
- Fix warning in CLKTextProvider+Compound.m
- Remove extraneous rileylink_ios Crypto library inclusion
- Clean up project file
- Use configurable entitlements for the Loop app
- Remove extraneous Scripts reference in project
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