dsnallfot / LoopFollowiAPS

A general Follow app for parents of T1D Loop Users
GNU Affero General Public License v3.0
3 stars 0 forks source link

Make Carb amount the focus field when entering remote meal view #62

Closed dsnallfot closed 7 months ago

dsnallfot commented 7 months ago

And bolus amount the focus field in bolus view (first responder) -> Keyboard appears directly ready to type with no need to klick on the field first

https://github.com/dsnallfot/LoopFollowiAPS/assets/72826201/98e3c159-b208-4d09-9df4-f2e2c4413f7f

dsnallfot commented 7 months ago

I did also quickly look into if there is native support for a next/return button when using a number or decimal keyboard, but unfortunately there is not (that only works with the different text keyboards). There are a couple of hacks that could be used to show a next button separately when the keyboard is active, but have not explored that further yet.

Why would this be neat? Mainly to be able to quickly navigate from Carbs -> Fat -> Protein -> Notes -> Bolus while typing on the iOS keyboard, without the need to leave the keyboard, jump up and tap on the next entryfield, and then jump down to the keyboard again..

For now, there is an improved experience that the first entry field gets n focus as soon as you open the meal/bolus view. 1 tap less is better than 0 taps less at least 😊