Replies: 1 comment
-
|
Sorry about the delay. I have an open PR for it, which I believe will address this as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When adding a note to existing carb or insulin treatment it becomes "stuck" to a grid, so when changing glucose units it moves accordingly to a number it was at. Here's what it looks like:
Here you can see 2 treatments: 1U of Actrapid at 20:00 and 1g of carbs at 20:15. GU are in mmol/l
When GU are changed to mg/dl they stay in place
Now I add a "test" note to insulin treatment while the GU are in mmol/l
and after changing to mg/dl this is what happens
the treatment dot became fixed at 3.9 mmol/l, and it moved to the bottom of the graph since the grid values are now in hundreds.
Same thing happens to a carb treatment
Now the opposite happens when the note was added while the GU are in mg/dl.
Here, while in mg/dl, you can see insulin treatment with a note that was added while being in mmol/l (so its at the bottom), and a "test" note added to 1g of carbs.
When the units are changed to mmol/l it becomes like this
the insulin treatment dot now sits at the top of the red area at 3.9 mmol/l, and the carb treatment dot is now at the top of the screen sitting on 126 mg/dl
The same thing happens to the treatment values that are in history and have notes attached to them. Values without added notes don't change their position.
All this was done on the latest nightly build available at the moment of this writing, which is e4f7fa3-2021.08.04, but the same thing happened on previous builds so the build is not the issue here.
Beta Was this translation helpful? Give feedback.
All reactions