You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to start with my first contribution but since it falls in the "substantial" category I would like to discuss the feature before implementing anything.
My plan is to add page groups to the interface editor:
Users can add multiple groups which all can have their own pages. When adding a new group the user can give a name and set a checkbox whether it should be possible to scroll though the pages (with the scroll indicator dots on the bottom) or if a page when opened can't be switched.
Also I would like to add a new section in commands: "Go to page":
The user can either select a specific page to open or choose "Go to previous page".
The Previous page option will go to the last visited page. When pressed on the first page nothing happens but when pressed on a page that was opened through the "Show page" command the parent page is added to a stack.
The go to page option can be combined with a regular "command" and thus allows for switching pages and issuing a command at the same time.
Expected behavior
This change will help with multiple use cases:
Modal with a confirm question:
The X button will use the "Previous page" command. And the checkbox will issue a command to turn off the TV and in parallel it should open the previous page. If the dialog is a multi step dialog (eg. Are you really really sure) you could also add a second page to the group with the same design, slightly different text but on the first page the checkbox would simply switch to page 2. In this scenario the option to allow manual page changes in this group could be disabled.
Another option would be a completely separate section with eg. light options or smart home actions. You can add a button to your start page for opening the smart home section which then could have several sub pages or even sub groups.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
I would like to start with my first contribution but since it falls in the "substantial" category I would like to discuss the feature before implementing anything.
My plan is to add page groups to the interface editor:
Users can add multiple groups which all can have their own pages. When adding a new group the user can give a name and set a checkbox whether it should be possible to scroll though the pages (with the scroll indicator dots on the bottom) or if a page when opened can't be switched.
Also I would like to add a new section in commands: "Go to page":
The user can either select a specific page to open or choose "Go to previous page".
The Previous page option will go to the last visited page. When pressed on the first page nothing happens but when pressed on a page that was opened through the "Show page" command the parent page is added to a stack.
The go to page option can be combined with a regular "command" and thus allows for switching pages and issuing a command at the same time.
Expected behavior
This change will help with multiple use cases:
Modal with a confirm question:
The X button will use the "Previous page" command. And the checkbox will issue a command to turn off the TV and in parallel it should open the previous page. If the dialog is a multi step dialog (eg. Are you really really sure) you could also add a second page to the group with the same design, slightly different text but on the first page the checkbox would simply switch to page 2. In this scenario the option to allow manual page changes in this group could be disabled.
Another option would be a completely separate section with eg. light options or smart home actions. You can add a button to your start page for opening the smart home section which then could have several sub pages or even sub groups.
Additional context
No response
The text was updated successfully, but these errors were encountered: