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

[Bug] - Bolus Wizard does not correctly display negative units #3798

Open
pnharris02 opened this issue Jan 31, 2025 · 1 comment
Open

[Bug] - Bolus Wizard does not correctly display negative units #3798

pnharris02 opened this issue Jan 31, 2025 · 1 comment

Comments

@pnharris02
Copy link

The Bolus Wizard/Calculator now shows a positive number for IOB when you have positive IOB. In release 3.2.0.4, it was a negative number, which was logical because it had to be deducted from the calculated dose.

This was brought up in Discord by @barisk81 and discussed by myself and @robby
https://discord.com/channels/629952586895851530/1199783453793734677/1334593953734983743

I suggest, to reduce confusion, the actual IOB is shown in the horiz centre of the dialog, above the COB figures, then the inverse/negative number is shown in the right column, similar to v3.2

A second visual bug on this screen is that any negative number in the right column causes the "U" after the figure to wrap to the next line. And in the case of IOB, the bottom of the U is also truncated slightly.

The attached screenshot pairs are from two different times, one in September to show 3.2 behaviour and one from this morning on 3.3.1.3, with a rough sketch of my suggested resolution

Image

Image

Image

Image

@robertrub
Copy link

robertrub commented Jan 31, 2025

Yes, it would be logical to keep the same math notation for all the numbers. If it is added to the bolus calculation, it should be + (or no sign) but if it will be subtracted, it should have the - sign in front.

We can have the IOB value in another column as it is the case with the trends

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

2 participants