OpenLightingProject / OpenLightingProject/open-fixture-library

Switching channels in editor

Open
#567 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component-editor difficulty-medium priority-medium
Dominant language
JSON
Stars
258
Forks
100
Avg merge
11h 52m
Merged PRs (30d)
53

Description

Desired user workflow:

  • Hovering "Add channel" reveals a sub-button "Add switching channel" (see #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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor's mode and channel-list UI, especially the “Add channel” control and channel conversion flow. Trace how dialogs, trigger channels, capabilities, and default values are currently handled. Done means the specified switching-channel creation and conversion workflows work, including automatic default handling and the required validation when a trigger channel is edited.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, nuxt
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.