AndroidAPS
AndroidAPS copied to clipboard
[Wear Watch Enhancement] Allow direct actions (ex eCarb, Wizard, TT) from watchface
I propose to add direct actions (that would be customized) behind each "main" information of watchface : Currently we only have "main menu" behind BG and "Timeframe" behind Chart I propose to allow direct access to actions (wizard, eCarb, Bolus, TT, pump status...) behind Hour, BG, IOB and Carb zone of watchfaces (customized by preference menu). (@dlvoy this proposal could be extended to complications, currently only one action is customized in settings, even if we have several complications on a watchface...)
I think I can develop that if you think it's a good idea...
I just need some help for organizing "Preference" (we have more and more settings and I think preference needs to be "organized" in submenu) as it is done in watch settings: @AdrianLxM or @dlvoy, can you help me for the beginning... (I don't know if it's only in preference.xml or if we need to add some code to allow submenu and navigation upstream and downstream...)
@Philoul From my experience, I only trigger actions from the watch when in hurry for bolus and cannot comfortably do it from the phone - like waiting on the red light while driving. Clicking anything precisely on the watch is very hard, and with sizes of labels we have, I am not convinced it will work. As an example of UX: some third-party watchfaces allow configuration of click targets/zones, but they are HUGE, like - 1/4 of the whole screen asset.
As for complications - if you leave the default
setting, action will be complication-kind specific, and I've tried to have it somehow logical. Like Insulin for IoB, the menu for long statuses and Status menu for Battery, etc. If for some reason it does not fit, it can be overridden globally to other common action.
Making it complication specific, while technically doable, will be very confusing for configuration. First, each copy (installation) of complications has a unique number. You can have multiple copies of the same complication kind on one watchface, and parallel copies for many watchfaces. You will get those as a bag of ids, without knowing their position and watchface affiliation - with the need to somehow handle it. Furthermore, you will need to have UI for that, with at least one additional nesting level or some other clever UI. I am not sure if the complication of the setup process is worth it - I would prefer sane defaults and simple override for customization, as it is now.
As for Settings - it is long and I agree we need reorganization - some grouping to separate sections like: common settings, style/display config from watchface/complication specific ones - as updated docs make it. I working on PR to that site to document Complications, so it will clarify setup and usage a little.
On my side, I use the watch when I want to be discreet (meal at a restaurant or a meeting at work). I made a first version (only for AAPSv2 and Steampunk) by configuring the zones by "displayed information" (double tap on BG, Hour, IOB ...). It works on my Wear OS Ticwatch pro (https://github.com/MilosKozak/AndroidAPS/pull/2284 => It is not the final PR, you can test it and tell me what do you think about it) I hesitate to change the logic and set the zones in absolute for all watchfaces : TOP, DOWN, LEFT, RIGHT, CENTER (zones available on each watchface according to Chart size and position)...
Development finished for all watchfaces. (Finaly 5 zone available : Up, Down, Left, center, and right) => If there is a chart on watchface, number of zone available can change according to chart size and position: AAPS BigChart: only Up and Down zones available AAPSv2 and Steampunk: 4 zones (Down unavailable) AAPS: 5 zone available (enough place below chart for Down action) Works fine on my watch...
See updated PR https://github.com/MilosKozak/AndroidAPS/pull/2334 => It include 5 zones and AAPSv2 improvement (color and text size for high resolution watches)
I made a new dedicated PR for direct actions last week https://github.com/MilosKozak/AndroidAPS/pull/2404
It works find on my watch (Tic Watch Pro)