Provide manual bolus calculation breakdown
~~This reflects a change to how Loop recommends bolusing carb entries. Instead of including the entire correction, this just covers the carbs themselves.~~
~~This ensures that corrections are not applied "too quickly" - for example, when adding a meal when already high, or when reducing the carbs in an existing meal (in which case insulin should not be added).~~
This provides a breakdown of the recommendation bolus to Carbs and Correction, to enable users to better decide how much bolus to manually give.
See this discussion in zulipchat~
Added support to MockCarb store for glucose predictions for carb entries (basically copied over from CarbStore) and updated the test which now verifies the correct behavior.
~~Added a feature flag to control the behavior (off by default)~~
~~To be updated based on feedback~~
Updated based on received feedback
@ps2 - would appreciate if you could take a look. Note this is dependent on LoopKit PR 520 - you can see screenshots of the feature in action in the 3 messages here in zulipchat
Will open new PR