Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add cue list display as well as next cue #25

Open
bsmith96 opened this issue Dec 24, 2021 · 2 comments
Open

[FEATURE] Add cue list display as well as next cue #25

bsmith96 opened this issue Dec 24, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bsmith96
Copy link
Owner

onRefresh:

send(theIP, 53000, '/workspace/' + theWorkspace + '/cue_id/' + theCueList + '/children');

interpretIncoming:

  if (address.endsWith('children')) {
    var replyData = JSON.parse(args[0].value); // decode the JSON reply from Qlab
    var toReturn = replyData.data; // get the cue display name from within the JSON

    console.log(toReturn[0]);

    var cueList = []
    for (let i in toReturn) {
      cueList.push(toReturn[i].name)
    }

    receive(nameAddress, cueList.join('\r\n'));
  }

Possibly, display a list of cue names but keep a list of IDs in the menu. Then, if possible, find a way to highlight the current cue?

@bsmith96 bsmith96 added the enhancement New feature or request label Dec 24, 2021
@bsmith96 bsmith96 added this to the v4.0.0 milestone Dec 24, 2021
@bsmith96 bsmith96 self-assigned this Dec 24, 2021
@bsmith96
Copy link
Owner Author

Obviously don't send it to the nameAddress, that is just a proof of concept tryout

@bsmith96
Copy link
Owner Author

A variable in the module; an object {{id, num, name}}

Another variable; current id

If current id matches object's id, highlight it.

Maybe a html object that gets edited?

@bsmith96 bsmith96 modified the milestones: v4.0.0, v4.1.0 Jan 16, 2022
@bsmith96 bsmith96 modified the milestones: v4.1.0, v4.2.0 Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant