Open
Description
Desired user workflow:
- Hovering "Add channel" reveals a sub-button "Add switching channel" (see Editor: Improve add channel button / dialog #566)
- Clicking it opens a dialog with:
- An input field for the switching channel name
- A channel list for the switched channels -> similar to a mode's channel list, including the add channel button to either add existing or new channels
- A dropdown to choose the trigger channel out of the other channels included in the current mode
- As soon as a trigger channel has been selected: The trigger channel's capability table with a dropdown for each capability to choose the switched channel. → The default capability (i.e. that cap that is selected when the trigger channel is set to its default value) is somehow marked
- A submit button
- After being submit, the switching channel is added the mode's channel list like a normal channel, but with the switched channels as sub-bullets.
It should also be possible to convert a channel in a mode's channel list into a switching channel: The dialog would open with the list of switched channels automatically including the original channel.
If the trigger channel has no default value when being selected, it should be automatically set to 0. If the trigger channel is edited later, the default value field should be required.