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

[Feature Request] Show BG prediction trend line in watch app #2276

Open
Ailandini opened this issue Jan 6, 2025 · 0 comments
Open

[Feature Request] Show BG prediction trend line in watch app #2276

Ailandini opened this issue Jan 6, 2025 · 0 comments

Comments

@Ailandini
Copy link

Ailandini commented Jan 6, 2025

Is your feature request related to a problem? Please describe.
When bolusing in the watch app, there’s a great UI for setting a number of carbs and units of insulin, or just providing units of insulin, however, unlike the iOS app, there is no BG prediction line to show how the suggested or selected amount of insulin is going to effect my numbers. I generally use this prediction to decide whether to increase or decrease bolus size.

Describe the solution you'd like
it would be great to show the trend line, similar to how it’s displayed in the app, just above the amount of insulin. And to have that line update as the number of units is tweaked.

Describe alternatives you've considered
the only real alternative is to guess and then check the trend line on the watch home page, or to just give all boluses through the iOS app instead of on watch.

Additional context
I took a brief stab at implementing this and found it was a little more difficult than just pasting the prediction graph from the home interface onto the CarbAndBolusFlowController since the graph is written in SpriteKit and the CABFC is written in SwiftUI, but I’d be willing to take another stab at it if a dev was willing to pair on it with me. There were a number of not-so obvious nuances with the code.

Here is a crude screenshot of the desired feature, if it isn’t clear from my description:
image

@Ailandini Ailandini changed the title Show BG prediction trending in watch app [Feature Request] Show BG prediction trend line in watch app Jan 6, 2025
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

No branches or pull requests

1 participant