Skip to content
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

Remove external insulin event #110

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Remove external insulin event #110

merged 3 commits into from
Apr 17, 2024

Conversation

BrianWieder
Copy link
Contributor

#102 points out that there was the external insulin event type that was only ever used by NS.

This PR prefixes the external insulin event type with ns to signify that is an nightscout only event type, and moves the logic for creating the NightscoutTreatment from a PumpHistoryEvent into a NightscoutTreatment initializer.

Also fixes typo NigtscoutTreatment -> NightscoutTreatment

NightscoutTreatment should be agnostic, so moving the init extension into PumpHistoryStorage allows for better sepearation of concerns.
Copy link
Contributor

@avouspierre avouspierre left a comment

Choose a reason for hiding this comment

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

tested in alpha with success

@bjornoleh
Copy link
Contributor

Merging into dev after review by @avouspierre

@bjornoleh bjornoleh merged commit 33b362b into dev Apr 17, 2024
@bjornoleh bjornoleh mentioned this pull request Apr 25, 2024
4 tasks
@MikePlante1 MikePlante1 deleted the remove-external-insulin-event branch May 3, 2024 03:01
@MikePlante1 MikePlante1 restored the remove-external-insulin-event branch May 3, 2024 03:01
@MikePlante1 MikePlante1 deleted the remove-external-insulin-event branch May 4, 2024 13:13
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.

None yet

3 participants