-
Notifications
You must be signed in to change notification settings - Fork 978
fix: Accidentally tapping on suffix of a field does not focus input #712
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
base: dev
Are you sure you want to change the base?
Conversation
Accidentally tapping on suffix of a field focus not focus input nightscout#660
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved based on testing. I could test the same items that you had checked, but not libre calibration or manual temp basal.
No code review on my my part.
1. suffix -> units 2. make color field consistent with textColor in name and optionality
Is there anyone who would be able to tell me how to test the input fields for libre calibration or manual temp basal please? Otherwise, would someone be able to test for it for me, as I only have G7 and Omnipods. Thanks! |
I think perhaps we don’t use the input field for manual temp basal any longer? In Trio 0.2, this could be set when in open loop, a dedicated button appeared on the bottom of the screen then. If so, the manual temp basal code should probably be removed (not necessarily in this PR). Regarding Libre, there used to be a Libre simulator one could choose when setting up Libre as CGM. I think perhaps this has been hidden behind a feature flag now? |
Thanks @bjornoleh It indeed looks like manual temp basal is dead code. I was able to remove the files and then there were only a few dead code looking references left that were quick to remove. After that it complied and ran fine. That said, I would suggest another PR and test plan for that, just to keep things clean, test surface minimal, and changes traceable. I’ll have to dig deeper for the libre simulator. |
Do you know @kingst? (picking on you as you made the last commit to https://github.com/LoopKit/LibreTransmitter 😉) |
There’s some info about hidden simulators behind a debug flag here, but this is actually still a draft PR, so this isn’t merged. |
Oh, that just appears to allow disabling of the main simulators, not the ability to enable the Libre Demo one. |
Status here? |
Code complete, working well in the wild. Unable to perform two exploratory tests from the test plan. Need decision of the importance of them and if needed help with testing them. |
Calibrations view can be tested by hard-coding the CGM to be of type Libre afaik. |
Thanks @dnzxy. I had a lot of trouble getting the Libre simulator to work. Are you able to at all? Manual. I assume there’s no point in testing that for 0.5.1 then? |
@marionbarker, do you know how I could test the libre calibrations? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say that testing the input field for Libre calibration isn’t really needed. Seems like a low risk, zero consequence thing to merge this as is.
Summary
Fixes the "Accidentally tapping on suffix of a field does not focus input" from issue #660.
Solution
Test plan
Note
This PR addresses the "Accidentally tapping on suffix of a field does not focus input" from issue #660.