Improving UI: contextual help everywhere!

Yeahhhhh! You catched me!! :1st_place_medal:

1 Like

We have to put the back button somewhere. If HTML occupies the whole screen there is nowhere to put it. I don’t think adding topbar will break the effect. We have controllers in that space below the topbar everywhere else. It would actually give a more accurate depiction.

2 Likes

I’ve implemented touch navigation (vertical drag & swipe) in the help view. Also up/down arrow keys. Bold-push anywhere to back (exit) from the help view. Perhaps a horizontal swipe could be better, like we normally do in our mobile devices.

Still not convinced of adding the topbar … neither totally closed to do it. Just exploring the possibilities, mate :wink:

All the best!

1 Like

I worry that this is inconsistent navigation. We use an onscreen back button everywhere else then have a swipe gesture here. How is the user too know what action to take where?

When touch-widgets are enabled I could easily add a fixed back button on the top-left. Not problem with this. Just exploring possibilities …

1 Like

A back icon will obscure some of the help. I am not a fan of floating buttons that obscure the content.

We also need to decide how to access help from a touchscreen. :confused:

Bold ALT is not configured to show help in vangelis webconf HARDWARE->Wiring V5 Customization Profile. This has Switch-5 Action: Ui Action Push with Push: Toggle Alt Mode. I wonder whether the profile didn’t get updated or whether it got mangled when merging touchkeypad?

[Edit] @jofemodo I think it should be: Switch-5 Action: Ui Action Release. Short : Toggle Alt Mode. Bold : Help.

This should be automatically managed by update system:

#Setup new ALT button functionality
set_envar.py ZYNTHIAN_WIRING_CUSTOM_SWITCH_05 UI_ACTION_RELEASE
set_envar.py ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_SHORT TOGGLE_ALT_MODE
set_envar.py ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_BOLD HELP

This is from the update recipe for patchlevel=“20241113.1”. If this recipe, for some strange cause, was not performed in your system, it can be run by hand from the terminal.

Regards,

Doesn’t that just set the envars but not the profile that webconf can load? Even after setting these, if I reselect V5 as Customization Profile in webconf it restores the old, wrong configuration.

[Edit] It seems to be these lines in /zynthian/config/wiring-profiles/v5:

ZYNTHIAN_WIRING_CUSTOM_SWITCH_05="UI_ACTION_PUSH"
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__MIDI_CHAN="Active"
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__MIDI_NUM="0"
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__MIDI_VAL="0"
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__CV_CHAN="0"
...
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_PUSH="TOGGLE_ALT_MODE"
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_SHORT=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_BOLD=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_LONG=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_ALT_PUSH=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_ALT_SHORT=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_ALT_BOLD=""
ZYNTHIAN_WIRING_CUSTOM_SWITCH_05__UI_ALT_LONG=""
1 Like

Ups! You are right! I forgot to update the profiles. I will do.

1 Like

Done!

1 Like