OpenVoiceOS / skill-ovos-setup

OpenVoiceOS Setup Skill - configure your device and optionally connect it to a backend server
https://mycroft.ai/skills
Apache License 2.0
1 stars 5 forks source link

DISCUSSION: Modulerize Setup Process #63

Open AIIX opened 1 year ago

AIIX commented 1 year ago

The current setup skill is based on a sequence of events, from welcome screen to end of setup, each backend is also tied into its own process (maybe a separate issue).

Current Process:

Proposed Changes: Modularization of the setup process, specifically let images decide what modules to show. We can define the current setup process in a break down of modules into default_modules list to display by default if image wants or advance_modules list

Default Modules:

Advanced Modules:

All module handling will be done by module loader that will read the list of modules to load and show them in that order, All ui "next" actions will be connected to this module loader next action

NeonDaniel commented 1 year ago

In addition to this, maybe we could have some bus API to call specific steps? Some example use cases:

AIIX commented 1 year ago

In addition to this, maybe we could have some bus API to call specific steps? Some example use cases:

* user skips internet, they might ask to set time/location via intent

* user changes language via some other skill or plugin which could launch STT or TTS menu with compatible plugins

Do we want to have this accessible via drop down menu in advanced config or something, then maybe the bus API should call those menu to show (separate pages) ? instead of starting the setup process again ?