Skip to main content

Module configuration

Module configuration 

Source

ConstantsΒ§

LISTS πŸ”’
(list, label) per list, in CHOICE_CATEGORIES order, so index i is the model’s list i.

FunctionsΒ§

captions πŸ”’
The categories as the lists are labelled, for a warning that names them.
category_caption πŸ”’
Matched by category rather than position, so a reordered list cannot be mislabelled.
configuration_page⚠
Scene 5: one pick each of language, co-driver and style.
has_something_to_pick πŸ”’ ⚠
Scene 5’s way in, from either route: one pick per category needs something on this computer to pick from, so a category with nothing ticked AND cached is named in a warning, and the caller keeps its page.
on_back πŸ”’ ⚠
Back to where the route came from, which is neither route’s previous page: a finished transfer cannot be re-entered, and Configure came from scene 3.
on_choice_picked πŸ”’ ⚠
on_install πŸ”’ ⚠
Every list that offers anything needs a pick; the warning names them by their captions.
populate_lists πŸ”’ ⚠
Rebuilt on every activation, since the user may have gone back and changed the ticks.