Skip to content

LOOP-873 Upload Loop glucose and carbohydrate data to Tidepool backend#7

Merged
darinkrauss merged 2 commits intodevfrom
darinkrauss/LOOP-873-upload-glucose-carbohydrate-data
Apr 24, 2020
Merged

LOOP-873 Upload Loop glucose and carbohydrate data to Tidepool backend#7
darinkrauss merged 2 commits intodevfrom
darinkrauss/LOOP-873-upload-glucose-carbohydrate-data

Conversation

@darinkrauss
Copy link
Contributor

  • https://tidepool.atlassian.net/browse/LOOP-873
  • Upload carbohydrate and glucose data to Tidepool backend
  • Delete carbohydrate data from Tidepool backend
  • Add DeletedCarbEntry extension to generate TSelector
  • Add StoredCarbEntry extension to generate TDatum
  • Add StoredGlucose extension to generate TDatum
  • Add default origin for main bundle

- https://tidepool.atlassian.net/browse/LOOP-873
- Upload carbohydrate and glucose data to Tidepool backend
- Delete carbohydrate data from Tidepool backend
- Add DeletedCarbEntry extension to generate TSelector
- Add StoredCarbEntry extension to generate TDatum
- Add StoredGlucose extension to generate TDatum
- Add default origin for main bundle
@darinkrauss
Copy link
Contributor Author

See https://github.com/tidepool-org/LoopWorkspace/pull/72 for LoopWorkspace build confirmation.

Copy link
Contributor

@nhamming nhamming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@rickpasetto rickpasetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion, but other than that LGTM 🧀


extension TDatum: CustomDebugStringConvertible {
public var debugDescription: String {
let encoder = JSONEncoder()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] Super-minor nit, but way back in my memory I seem to remember that creating JSONEncoders can be a bit expensive. Possibly consider making it a fileprivate global reusable constant here? (Or, if you know of other places it may be reused, put it in a better, reusable place, if you want). Again, not a blocker.

@ps2 ps2 removed their request for review April 24, 2020 16:46
@darinkrauss darinkrauss merged commit 752e510 into dev Apr 24, 2020
@darinkrauss darinkrauss deleted the darinkrauss/LOOP-873-upload-glucose-carbohydrate-data branch April 24, 2020 19:13
ps2 added a commit that referenced this pull request Apr 21, 2023
Updated translations from Lokalise on Sat Mar 18 15:11:44 CDT 2023
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.

3 participants