-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meta datapoints being deleted or overwritten #599
base: master
Are you sure you want to change the base?
Conversation
@dreeves how would you feel about making a small server side tweak to add |
nihilo is the origin of the datapoint added by Beeminder when a goal is started for the first time
f7ac47f
to
5c5215a
Compare
adding fields to the resource is cheap and not harmful to any of the code we're maintaining, i don't think. i guess |
I hear the datapoint now has is_dummy and is_initial, so let's use those and get rid of the isMeta helper entirely. |
Summary
Meta datapoints refer to those beeminder itself creates to indicate things like goal has been restarted, when a goal has been created, when a derailment has occurred and so on. The app differentiates these so as to not delete them when syncing data to goals from HealthKit. Currently the app does not consider origin.
Validation
Had a goal with a manually created datapoint with one of the known strings.
Same goal also had a similar datapoint generated from beeminder.
Goal was integrated with HealthKit.
Would fix #598