Skip to content

Conversation

@ps2
Copy link
Collaborator

@ps2 ps2 commented Mar 13, 2017

  • Minimum BG Guard (You must configure this in settings immediately after upgrading)

  • x22 enlite CGM support (Thanks @tmecklem!)

  • Open the app when the user taps on the widget (Thanks @bharat!)

  • Add mmol support on watch complications. Add modularLarge complication. (Thanks @walker0!)

  • Fix widget battery level for x22 pumps (Thanks @wkcwells!)

  • Positive momentum is no longer included in Bolus recommendations (Thanks @thebookins!)

  • Multiple RL support (experimental). Feedback welcomed on this feature.

  • Many improvements to lockscreen HUD

  • Carbs from pump bolus wizard no longer uploaded to NS.

  • RL 0.13 update:

    • Splitting NewTime and ChangeTime into separate events, as well as ChangeAlarmClock and DeleteAlarmClock. Thanks @beached!
    • Much improved parsing of CGM pages from pump. Thanks @tmecklem!
  • RL 0.13.1 Update:

    • Re-enable readPumpStatus command
  • LoopKit 1.2.0 update:

  • Show last loop error on clicking loop status

  • RL 1.0 Update:

    • Store pump suspend events in NS
    • Store new field in NS device status, indicating which radio adapter is being used. Also tracks RSSI of last packet from Pump.
    • Remember last valid tune frequency. When a tune fails, it reverts to that, rather than the default.

Bharat Mediratta and others added 30 commits December 22, 2016 16:28
Register the "Loop" app url scheme in order to make the app an addressable target.
Resolve #319: tapping the widget opens the app
The merge of 73b7302 and 82dc3da resulted in an accidental deletion of
mainAppBundleIdentifier from the NSBundle extension.
Fix widget battery level for x22 pumps
* Rough cut at moving HUD views into their own framework.

* Move view code into the HUDViewKit framework directory

* Remove HUDViewKit

* Add GlucoseTrend and NSTimeInterval directly to WatchApp Extension so that it doesn't have to pull in HUDViewKit

* Get all targets to compile with HUDViewKit

1. Make HKUnit extension internal and included it directly into all
   necessary targets to avoid a conflict with the same extension in
   LoopKit

2. Publicize any necessary HUDViewKit vars, funcs

3. Store the Int raw value for GlucoseTrend in WatchContext and create
   a computed property that returns it as a GlucoseTrend object to avoid
   the conflict where both Loop and WatchApp Extension have their own
   separate concept of GlucoseTrend.

* Rename HUDViewKit to LoopUI

* partway through moving layout

* WIP

* Resize stack view to fill container view

* Embed LoopUI framework

* Use NibLoadable for HUDView
* Monitor changes and update the widget in real time.

Use KVO to watch the UserDefaults object and update the view as
appropriate.

* Clean up observer implementation

1. call addObserver() in viewDidLoad()
2. call removeObserver() in deinit
3. don't specify options in addObserver()
4. provide a context to the observer code

* Move early-return semantics into a guard statement.

* Use an explicit, separately named context for observer.
* Use a clear fill color for the circle.

* Oops! Forgot to set the clear color for init?(coder:) as well
…archy (#352)

* Rough cut at moving HUD views into their own framework.

* Move view code into the HUDViewKit framework directory

* Remove HUDViewKit

* Add GlucoseTrend and NSTimeInterval directly to WatchApp Extension so that it doesn't have to pull in HUDViewKit

* Get all targets to compile with HUDViewKit

1. Make HKUnit extension internal and included it directly into all
   necessary targets to avoid a conflict with the same extension in
   LoopKit

2. Publicize any necessary HUDViewKit vars, funcs

3. Store the Int raw value for GlucoseTrend in WatchContext and create
   a computed property that returns it as a GlucoseTrend object to avoid
   the conflict where both Loop and WatchApp Extension have their own
   separate concept of GlucoseTrend.

* Rename HUDViewKit to LoopUI

* partway through moving layout

* WIP

* Resize stack view to fill container view

* Embed LoopUI framework

* Use NibLoadable for HUDView

* Create a "Common" group for all files with membership in multiple targets.
* Disable animation on first render, since we'd be animating from a
default value so the animation is deceptive.

* Use the more specific TimeInterval type for duration
* Enforce a fixed number of fractional digits per unit type.

At all times, we prefer:
  0 fractional digits for mg/dL
  1 fractional digit

eliminate the use of significant digits and use fixed a number of
fractional digits everywhere.

This is in service of:
  #324

* Pass the glucose NumberFormatter directly into the chart

This lets us back out the changes to PredictionTableViewController
since now the ChartAxisDoubleUnit uses the glucose formatter to
represent its value instead of hardcoding an integer formatter.
* Only allow one active glucose data source

Separate CGM sources out into their own section and enforce zero or one
active sources at any given time. This requires a new boolean value to
track whether the G5 transmitter is enabled independently of the actual
transmitter ID.

While we're at it, create a separate config section for the pump to
group it with the pump battery type since those are not really
configuration values and go together.

* Improve animation mode for showing G5 Transmitter ID

The top animation is a clearer indication that this is an extension of
the G5 Transmitter enabled switch.

* Be more specific with the key name

* Use 'CGM' instead of 'Cgm'

* Mark target-action methods with @objc to make sure that they're using
dynamic dispatch. Also make the internal methods private for good measure.
Signing frameworks at build time is not recommended so
disable code signing for LoopUI. All changes performed automatically by
XCode
* Fetch cgm data from x22 pump

* Add fetch glucose flag

* Add SensorDisplayable wrapper for pump glucose history events

* Restructure glucose history handling

* Rename functions to Enlite to improve clarity

Group Enlite functions and data together

* Add pumpDataIsStale, move enlite fetch into timer tick

Rename user default key

* Keep stale glucose check to avoid fetching enlite pages too often
* remove +ve momentum from bolus calculation

* add logging, set prediction to nil when inputs change
* Configurable minimum bg guard.

* Fix display issues, and clear out stored value when user deletes entry via interface

* Return recommendation structure

* Adding more context to bolus screen

* Update bolus notices.

* another rev of the bolus ui, showing eventualbg, iob, pending insulin, cob, and more succinct warnings

* Update tests

* Update tests

* Configurable minimum bg guard.

* Fix display issues, and clear out stored value when user deletes entry via interface

* Return recommendation structure

* Adding more context to bolus screen

* Update bolus notices.

* another rev of the bolus ui, showing eventualbg, iob, pending insulin, cob, and more succinct warnings

* Update tests

* Update tests

* DoseMath.recommendBolusFromPredictedGlucose doesn't take lastTempBasal

* Add HKUnit to DoseMathTests

* Move BolusRecommendation notice to enum

* Revert defaultAbsorptionTimes

* Avoid rounding above pump delivery resolution for small boluses

* Assume the entirety of BolusViewController is not thread-safe, and do dispatch to main thread in StatusViewController

* Make loopManager.getPendingInsulin private, and pass pending insulin via BolusRecommendation

* Use NumberFormatter.glucoseFormatter for glucose display when setting Minimum BG Guard

* Use DateComponentsFormatter for formatting age in minutes

* Use if case for single enum comparisons

* Avoid reloading tableview with static cells

* Add new method for displaying glucose with units.

* Add warning symbol

* Warning symbol was showing unecessarily in some cases

* Update minimumBGGuard for new settings layout

* remove debug print

* Remove unnecessary dispatches

* Let date components formatter add units string.

* Unify how notice label is set

* Add resizing constraints to notice label

* Store age errors as dates for more accurate error messaging
Update LoopKit and Rileylink frameworks
ps2 and others added 22 commits February 23, 2017 21:50
… guard, as it is a new configuration setting
Show last loop error on clicking loop status
…e complication time to relative time. (#379)

* Adds support for mmol in watch app. Changes complication time to relative. Adds modularLarge complication.

* Fix gallery and tabs
* Fix display of utilitarian family

* Add missing files
…pp launch. Refactoring colors out of LoopUI to allow for App/Extension customization
Fixing truncated utilitarian small complication
MySentry off should report as non valid sensor info
@ps2 ps2 merged commit 5196bcd into master Mar 13, 2017
ps2 pushed a commit that referenced this pull request Jun 11, 2021
* display manual glucose in CGM pill when current

* corrected typo
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.

5 participants