Compare commits

...

102 Commits

Author SHA1 Message Date
Joel Wetzell a9f836e20c bump macos runner version 2026-04-07 14:23:43 -05:00
Joel Wetzell 72cb7ce05b bump version to v1.3.0 2026-04-07 14:20:22 -05:00
Joel Wetzell e2d83fe49f Merge pull request #352 from stagehacks/dependabot/npm_and_yarn/electron-builder-26.8.1
Bump electron-builder from 26.7.0 to 26.8.1
2026-04-07 14:15:02 -05:00
Joel Wetzell 4dd5dbf2cc Merge pull request #361 from stagehacks/dependabot/npm_and_yarn/lodash-4.18.1
Bump lodash from 4.17.23 to 4.18.1
2026-04-07 14:14:43 -05:00
dependabot[bot] 0d22fc3c8d Bump electron-builder from 26.7.0 to 26.8.1
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) from 26.7.0 to 26.8.1.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.8.1/packages/electron-builder)

---
updated-dependencies:
- dependency-name: electron-builder
  dependency-version: 26.8.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-07 19:13:43 +00:00
dependabot[bot] 098d54ecf3 Bump lodash from 4.17.23 to 4.18.1
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-07 19:12:30 +00:00
Joel Wetzell 3a421fab4f Merge pull request #359 from stagehacks/dependabot/npm_and_yarn/electron-39.8.5
Bump electron from 39.2.4 to 39.8.5
2026-04-07 14:12:17 -05:00
Joel Wetzell 2f6188e2d8 add ip package as an actual dependency 2026-04-07 14:11:03 -05:00
Joel Wetzell d7e1f8ffc1 Merge pull request #353 from stagehacks/dependabot/npm_and_yarn/flatted-3.4.2
Bump flatted from 3.2.7 to 3.4.2
2026-04-07 13:59:38 -05:00
Joel Wetzell 5b616301c0 Merge pull request #355 from stagehacks/dependabot/npm_and_yarn/picomatch-4.0.4
Bump picomatch from 4.0.3 to 4.0.4
2026-04-07 13:57:41 -05:00
Joel Wetzell 55522c4910 Merge pull request #356 from stagehacks/dependabot/npm_and_yarn/xmldom/xmldom-0.8.12
Bump @xmldom/xmldom from 0.8.11 to 0.8.12
2026-04-07 13:57:16 -05:00
sparks-alec 687fe9aa85 Merge pull request #360 from rsmck/rh/eos-realtime-cue-timers
Add real-time timer updates to Eos
2026-04-06 16:26:00 -04:00
Ross Henderson f26d1a9d49 Add real-time timer updates to Eos 2026-04-06 20:57:28 +01:00
dependabot[bot] 3ce7956b18 Bump electron from 39.2.4 to 39.8.5
Bumps [electron](https://github.com/electron/electron) from 39.2.4 to 39.8.5.
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](https://github.com/electron/electron/compare/v39.2.4...v39.8.5)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 39.8.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-03 22:28:28 +00:00
dependabot[bot] 60dc91385e Bump @xmldom/xmldom from 0.8.11 to 0.8.12
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.11 to 0.8.12.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.11...0.8.12)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.8.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 04:49:28 +00:00
dependabot[bot] d466e7646f Bump picomatch from 4.0.3 to 4.0.4
Bumps [picomatch](https://github.com/micromatch/picomatch) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 07:20:37 +00:00
dependabot[bot] 9ff1ea8db6 Bump flatted from 3.2.7 to 3.4.2
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.2.7 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.2.7...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 17:55:36 +00:00
Joel Wetzell bf2a975b4b Merge pull request #342 from stagehacks/dependabot/npm_and_yarn/electron-updater-6.7.3
Bump electron-updater from 6.6.2 to 6.7.3
2026-03-11 10:25:19 -05:00
dependabot[bot] 1afc71ada2 Bump electron-updater from 6.6.2 to 6.7.3
Bumps [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater) from 6.6.2 to 6.7.3.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-updater@6.7.3/packages/electron-updater)

---
updated-dependencies:
- dependency-name: electron-updater
  dependency-version: 6.7.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 15:25:00 +00:00
Joel Wetzell 20d81a0289 Merge pull request #350 from stagehacks/dependabot/npm_and_yarn/tar-7.5.11
Bump tar from 7.5.10 to 7.5.11
2026-03-11 10:23:33 -05:00
Joel Wetzell 674b5d305d Merge pull request #344 from stagehacks/dependabot/npm_and_yarn/atem-connection-3.8.2
Bump atem-connection from 3.8.0 to 3.8.2
2026-03-11 10:23:19 -05:00
dependabot[bot] ae996e0b5c Bump atem-connection from 3.8.0 to 3.8.2
Bumps [atem-connection](https://github.com/Sofie-Automation/sofie-atem-connection) from 3.8.0 to 3.8.2.
- [Changelog](https://github.com/Sofie-Automation/sofie-atem-connection/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Sofie-Automation/sofie-atem-connection/compare/v3.8.0...v3.8.2)

---
updated-dependencies:
- dependency-name: atem-connection
  dependency-version: 3.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 15:23:04 +00:00
dependabot[bot] a1cf536cf5 Bump tar from 7.5.10 to 7.5.11
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.10 to 7.5.11.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.10...v7.5.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 15:22:50 +00:00
Joel Wetzell 62085183f6 Merge pull request #346 from stagehacks/dependabot/npm_and_yarn/bonjour-3.5.1
Bump bonjour from 3.5.0 to 3.5.1
2026-03-11 10:22:05 -05:00
Joel Wetzell e9f37994b2 Merge pull request #348 from stagehacks/dependabot/npm_and_yarn/multi-bf627a84bc
Bump minimatch
2026-03-11 10:21:53 -05:00
Joel Wetzell f3574cdc3b Merge pull request #349 from stagehacks/dependabot/npm_and_yarn/tar-7.5.10
Bump tar from 7.5.7 to 7.5.10
2026-03-11 10:21:43 -05:00
dependabot[bot] e6949e9d9f Bump tar from 7.5.7 to 7.5.10
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.10.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.10)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 13:24:37 +00:00
dependabot[bot] 5f2978452a Bump minimatch
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Updates `minimatch` from 9.0.5 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Updates `minimatch` from 5.1.6 to 5.1.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Updates `minimatch` from 10.1.1 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 5.1.9
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-28 04:58:22 +00:00
dependabot[bot] a907c21a48 Bump bonjour from 3.5.0 to 3.5.1
Bumps [bonjour](https://github.com/watson/bonjour) from 3.5.0 to 3.5.1.
- [Commits](https://github.com/watson/bonjour/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: bonjour
  dependency-version: 3.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 10:12:56 +00:00
Joel Wetzell 97da2c41fb Merge pull request #339 from stagehacks/dependabot/npm_and_yarn/electron-builder-26.7.0
Bump electron-builder from 26.0.12 to 26.7.0
2026-02-03 11:36:38 -06:00
dependabot[bot] d1cd5b9f42 Bump electron-builder from 26.0.12 to 26.7.0
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) from 26.0.12 to 26.7.0.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.7.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: electron-builder
  dependency-version: 26.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 23:48:17 +00:00
Joel Wetzell c83b49f6d9 Merge pull request #338 from stagehacks/dependabot/npm_and_yarn/prettier-3.8.1
Bump prettier from 3.7.3 to 3.8.1
2026-02-02 13:42:51 -06:00
Joel Wetzell 7ffdbcaa06 Merge pull request #340 from stagehacks/dependabot/npm_and_yarn/atem-connection-3.8.0
Bump atem-connection from 3.7.0 to 3.8.0
2026-02-02 13:41:49 -06:00
dependabot[bot] 3fef025aa3 Bump atem-connection from 3.7.0 to 3.8.0
Bumps [atem-connection](https://github.com/Sofie-Automation/sofie-atem-connection) from 3.7.0 to 3.8.0.
- [Changelog](https://github.com/Sofie-Automation/sofie-atem-connection/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Sofie-Automation/sofie-atem-connection/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: atem-connection
  dependency-version: 3.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 10:31:03 +00:00
dependabot[bot] 40daba698a Bump prettier from 3.7.3 to 3.8.1
Bumps [prettier](https://github.com/prettier/prettier) from 3.7.3 to 3.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.7.3...3.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.8.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 10:30:44 +00:00
Joel Wetzell 62e9e355d3 Merge pull request #328 from stagehacks/dependabot/npm_and_yarn/js-yaml-4.1.1
Bump js-yaml from 4.1.0 to 4.1.1
2026-01-27 17:01:23 -06:00
Joel Wetzell 95cd95d3a2 Merge pull request #330 from stagehacks/dependabot/npm_and_yarn/atem-connection-3.7.0
Bump atem-connection from 3.5.0 to 3.7.0
2026-01-27 17:01:15 -06:00
Joel Wetzell e0cc525d40 Merge pull request #332 from stagehacks/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2026-01-27 17:00:58 -06:00
Joel Wetzell 3e800a9d36 Merge pull request #333 from stagehacks/dependabot/npm_and_yarn/electron-39.2.4
Bump electron from 39.1.1 to 39.2.4
2026-01-27 17:00:47 -06:00
Joel Wetzell 4263eb1e8b Merge pull request #334 from stagehacks/dependabot/npm_and_yarn/prettier-3.7.3
Bump prettier from 3.6.2 to 3.7.3
2026-01-27 17:00:07 -06:00
Joel Wetzell e5a10aa7c3 Merge pull request #336 from stagehacks/dependabot/npm_and_yarn/lodash-4.17.23
Bump lodash from 4.17.21 to 4.17.23
2026-01-27 16:59:55 -06:00
dependabot[bot] 4ca0855f9e Bump lodash from 4.17.21 to 4.17.23
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 02:10:26 +00:00
dependabot[bot] 12db688c39 Bump prettier from 3.6.2 to 3.7.3
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.2 to 3.7.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.6.2...3.7.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.7.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 09:58:42 +00:00
dependabot[bot] 6e1fdcacba Bump electron from 39.1.1 to 39.2.4
---
updated-dependencies:
- dependency-name: electron
  dependency-version: 39.2.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 09:58:31 +00:00
dependabot[bot] 2d7d733fe8 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:21:48 +00:00
dependabot[bot] 957ee656ea Bump js-yaml from 4.1.0 to 4.1.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-23 21:27:04 +00:00
dependabot[bot] 7b4727b9c4 Bump atem-connection from 3.5.0 to 3.7.0
Bumps [atem-connection](https://github.com/Sofie-Automation/sofie-atem-connection) from 3.5.0 to 3.7.0.
- [Changelog](https://github.com/Sofie-Automation/sofie-atem-connection/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Sofie-Automation/sofie-atem-connection/compare/v3.5.0...v3.7.0)

---
updated-dependencies:
- dependency-name: atem-connection
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-23 21:27:03 +00:00
Joel Wetzell 61e394bb2b Merge pull request #268 from stagehacks/qlab-faster-redraw-fix
better handling of DOM updates for device drawing
2025-11-23 15:25:47 -06:00
jwetzell 691a5ac7a5 sync package-lock 2025-11-23 15:23:42 -06:00
jwetzell 71c34eecbf create diffs directly against the current DOM 2025-11-23 15:23:28 -06:00
jwetzell e02a7d7819 convert view.draw to virtual dom based body 2025-11-23 15:23:28 -06:00
jwetzell 8b653b00fe rework qlab draw to skip draws if more incoming updates 2025-11-23 15:18:01 -06:00
jwetzell 86c31e1057 add contentBodyElement to device 2025-11-23 15:18:01 -06:00
jwetzell fd82cfbd6d bump version 2025-11-13 07:07:32 -06:00
jwetzell 7a069e1d53 Merge pull request #322 from stagehacks/dependabot/npm_and_yarn/eslint-plugin-import-2.32.0
Bump eslint-plugin-import from 2.31.0 to 2.32.0
2025-11-13 07:06:39 -06:00
jwetzell 9a2de0786f Merge pull request #327 from stagehacks/qlab-updates-fix
QLab updates subscriptiong OSC fix
2025-11-13 07:06:23 -06:00
jwetzell 36357b0daf add version check to updates call 2025-11-13 07:05:12 -06:00
dependabot[bot] ee2f7c60cf Bump eslint-plugin-import from 2.31.0 to 2.32.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.31.0...v2.32.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-version: 2.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-13 13:01:11 +00:00
jwetzell bda5565cc4 Merge pull request #321 from stagehacks/dependabot/npm_and_yarn/eslint-config-prettier-10.1.8
Bump eslint-config-prettier from 10.1.5 to 10.1.8
2025-11-13 06:59:57 -06:00
dependabot[bot] fbffb0bd21 Bump eslint-config-prettier from 10.1.5 to 10.1.8
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.5 to 10.1.8.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-13 12:58:19 +00:00
jwetzell 16ad5ae110 Merge pull request #323 from stagehacks/dependabot/npm_and_yarn/prettier-3.6.2
Bump prettier from 3.5.3 to 3.6.2
2025-11-13 06:57:17 -06:00
jwetzell 2cc0de766e Merge pull request #324 from stagehacks/dependabot/npm_and_yarn/uuid-13.0.0
Bump uuid from 11.1.0 to 13.0.0
2025-11-13 06:57:06 -06:00
jwetzell 2246e53e86 Merge pull request #325 from stagehacks/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-11-13 06:56:53 -06:00
jwetzell 81ef5499e0 fix subscribing to updates in qlab plugin 2025-11-13 06:56:27 -06:00
dependabot[bot] f07d535971 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 09:26:17 +00:00
dependabot[bot] 6081109b8f Bump uuid from 11.1.0 to 13.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 13.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.1.0...v13.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 09:17:33 +00:00
dependabot[bot] 4177435f4b Bump prettier from 3.5.3 to 3.6.2
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.3 to 3.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.3...3.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 09:17:25 +00:00
jwetzell 0536c670eb bump Cue View version 2025-11-08 11:22:50 -06:00
jwetzell eca84d4665 update @jwetzell/posistagenet to 2.1.1 2025-11-08 11:21:56 -06:00
jwetzell e9fa1d0f95 pin dependencies 2025-11-08 10:57:55 -06:00
jwetzell 9a52049453 bump electron related dependencies to their latest version 2025-11-08 10:56:23 -06:00
jwetzell b81d51762a update nodejs version to latest v22 2025-11-08 10:55:02 -06:00
jwetzell 1ef40f74c0 update release action to look at nvmrc file for node version 2025-11-08 10:54:50 -06:00
jwetzell 06410de3fb Merge pull request #320 from stagehacks/dependabot/npm_and_yarn/electron-35.7.5
Bump electron from 34.2.0 to 35.7.5
2025-11-08 10:39:02 -06:00
dependabot[bot] fa1d4f734f Bump electron from 34.2.0 to 35.7.5
---
updated-dependencies:
- dependency-name: electron
  dependency-version: 35.7.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-08 16:36:25 +00:00
jwetzell d605564ecf Merge pull request #318 from stagehacks/dependabot/npm_and_yarn/form-data-4.0.4
Bump form-data from 4.0.1 to 4.0.4
2025-11-08 10:35:41 -06:00
jwetzell dcca3c1595 Merge pull request #313 from stagehacks/dependabot/npm_and_yarn/eslint-config-prettier-10.1.5
Bump eslint-config-prettier from 9.1.0 to 10.1.5
2025-11-08 10:35:26 -06:00
jwetzell de376a313d Merge pull request #298 from stagehacks/dependabot/npm_and_yarn/uuid-11.1.0
Bump uuid from 11.0.5 to 11.1.0
2025-11-08 10:35:02 -06:00
jwetzell edf3a217fe Merge pull request #319 from stagehacks/dependabot/npm_and_yarn/tmp-0.2.5
Bump tmp from 0.2.3 to 0.2.5
2025-11-08 10:34:02 -06:00
dependabot[bot] 0759c1a9f3 Bump tmp from 0.2.3 to 0.2.5
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.5.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.5)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-08 16:33:32 +00:00
dependabot[bot] 874c590eb6 Bump form-data from 4.0.1 to 4.0.4
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-08 16:33:28 +00:00
jwetzell 60d358eaa4 Merge pull request #302 from stagehacks/dependabot/npm_and_yarn/prettier-3.5.3
Bump prettier from 3.4.2 to 3.5.3
2025-11-08 10:32:27 -06:00
dependabot[bot] f8b2579b61 Bump eslint-config-prettier from 9.1.0 to 10.1.5
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.1.0 to 10.1.5.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.1.5)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.5
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 09:38:28 +00:00
dependabot[bot] 9f78b02bb8 Bump prettier from 3.4.2 to 3.5.3
Bumps [prettier](https://github.com/prettier/prettier) from 3.4.2 to 3.5.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.4.2...3.5.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 10:05:38 +00:00
dependabot[bot] 3301f92902 Bump uuid from 11.0.5 to 11.1.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.0.5 to 11.1.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.0.5...v11.1.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:45:12 +00:00
jwetzell d26de5448d Merge pull request #296 from stagehacks/dependabot/npm_and_yarn/electron-34.2.0
Bump electron from 33.0.2 to 34.2.0
2025-02-16 19:28:15 -06:00
dependabot[bot] a94f2ce215 Bump electron from 33.0.2 to 34.2.0
Bumps [electron](https://github.com/electron/electron) from 33.0.2 to 34.2.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v33.0.2...v34.2.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 01:25:31 +00:00
jwetzell 4bee085caf Merge pull request #291 from stagehacks/dependabot/npm_and_yarn/uuid-11.0.5
Bump uuid from 11.0.1 to 11.0.5
2025-02-16 19:24:20 -06:00
jwetzell 23d9759aa1 Merge pull request #288 from stagehacks/dependabot/npm_and_yarn/prettier-3.4.2
Bump prettier from 3.3.3 to 3.4.2
2025-02-16 19:24:05 -06:00
dependabot[bot] 68f79bbf50 Bump uuid from 11.0.1 to 11.0.5
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.0.1 to 11.0.5.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.0.1...v11.0.5)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:51:01 +00:00
dependabot[bot] 3b16f3b1d2 Bump prettier from 3.3.3 to 3.4.2
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 09:29:27 +00:00
jwetzell 85d52ee148 sync package-lock.json 2024-11-11 14:23:47 -06:00
sparks-alec bb400f98ef bump version number 2024-11-11 14:06:19 -05:00
sparks-alec 0f893e0168 Merge pull request #283 from stagehacks/mac-frame
Add frame to window on mac app
2024-11-10 20:23:26 -05:00
jwetzell 553ed3f76d add shortcut to toggle sidebar 2024-11-10 15:45:40 -06:00
jwetzell c9504933d2 enable frame on mac window 2024-11-10 15:45:27 -06:00
sparks-alec d68325b1a5 Update README.md 2024-11-03 22:25:18 -05:00
sparks-alec 75ac344846 remove message that may result in too many messages to QLab 2024-11-02 22:16:38 -04:00
sparks-alec 97c118bf99 debounce .draw() 2024-11-02 22:15:59 -04:00
jwetzell a6bcac5adf bump version to v1.2.1 2024-10-30 21:00:58 -05:00
jwetzell 98180dcfc4 Merge pull request #276 from tm1000/bugfix/delete-devices
Delete devices by null coalesce if never connected
2024-10-30 20:57:02 -05:00
Andrew Nagy eb7867f687 Fix bug in deleting devices 2024-10-30 18:55:38 -07:00
17 changed files with 2676 additions and 7089 deletions
+10 -10
View File
@@ -9,25 +9,25 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
node-version-file: .nvmrc
cache: 'npm'
- run: npm ci
- run: npm run release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
node-version-file: .nvmrc
cache: 'npm'
- run: npm ci
- run: npm run release
build-macos:
runs-on: macos-13
runs-on: macos-14
env:
CSC_LINK: ${{ secrets.MACOS_CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.MACOS_CSC_KEY_PASSWORD }}
@@ -35,10 +35,10 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
node-version-file: .nvmrc
cache: 'npm'
- run: npm ci
- run: npm run release
+1 -1
View File
@@ -1 +1 @@
v20.12.1
v22.21.1
+29
View File
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Electron: Main",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": ["--remote-debugging-port=9223", "."],
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
}
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": ["Electron: Main", "Electron: Renderer"]
}
]
}
+1 -1
View File
@@ -2,7 +2,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript"],
"html.validate.styles": false // accept templates inside HTML style attributes
+1 -1
View File
@@ -25,4 +25,4 @@ A dashboard for everything in your show.
- Shure ULXD Wireless
- DiGico SD Consoles
- PosiStageNet
- Livestream Studio (soon)
- Livestream Studio
+1 -2
View File
@@ -40,6 +40,7 @@ const menuTemplate = [
{ role: 'togglefullscreen' },
{
label: 'Toggle Sidebar',
accelerator: 'CommandOrControl+B',
id: 'toggleSidebar',
click(menuItem, window, event) {
mainWindow.webContents.send('toggleSidebar');
@@ -151,9 +152,7 @@ const menuTemplate = [
const windowMac = {
width: 1500,
height: 900,
titleBarStyle: 'customButtonsOnHover',
transparent: false,
frame: false,
show: false,
vibrancy: 'window',
visualEffectState: 'followWindow',
+2293 -7000
View File
File diff suppressed because it is too large Load Diff
+21 -18
View File
@@ -1,7 +1,7 @@
{
"name": "cue-view",
"productName": "Cue View",
"version": "1.2.0",
"version": "1.3.0",
"description": "A dashboard for everything in your show",
"main": "main.js",
"scripts": {
@@ -19,25 +19,28 @@
"homepage": "https://github.com/stagehacks/Cue-View",
"repository": "https://github.com/stagehacks/Cue-View",
"devDependencies": {
"@electron/notarize": "^2.5.0",
"electron": "^33.0.2",
"electron-builder": "^25.1.8",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"prettier": "^3.3.3"
"@electron/notarize": "3.1.1",
"electron": "39.8.5",
"electron-builder": "26.8.1",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"prettier": "3.8.1"
},
"dependencies": {
"@jwetzell/posistagenet": "^1.1.0",
"atem-connection": "^3.5.0",
"bonjour": "^3.5.0",
"electron-updater": "^6.3.9",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"netmask": "^2.0.2",
"osc": "^2.4.5",
"uuid": "^11.0.1"
"@jwetzell/posistagenet": "2.1.1",
"atem-connection": "3.9.0",
"bonjour": "3.5.1",
"electron-updater": "6.8.3",
"html-to-vdom": "0.7.0",
"ip": "2.0.1",
"lodash": "4.18.1",
"md5": "2.3.0",
"netmask": "2.0.2",
"osc": "2.4.5",
"uuid": "13.0.0",
"virtual-dom": "2.1.1"
},
"build": {
"appId": "com.stagehacks.cueview",
+22 -9
View File
@@ -11,7 +11,9 @@
</tr>
<% } %>
<% if(isActive){ %>
<% if(isRunning){ %>
<tr class="running-cue scroll-position">
<% }else if(isComplete || isActive){ %>
<tr class="active-cue scroll-position">
<% }else{ %>
</tr>
@@ -53,7 +55,8 @@
<td class="black hide-medium">
<%= part.prettyDuration(part.beamTimeDuration, true) %>
</td>
<td class="hide-small"><%= part.prettyDuration(part.duration) %></td>
<% var durValue = (isRunning && remainingDuration !== null && remainingDuration !== undefined) ? remainingDuration : part.duration %>
<td class="hide-small"><%= part.prettyDuration(durValue) %></td>
<% }else{ %>
<td class="black" colspan="2"></td>
@@ -63,13 +66,23 @@
<td class="hide-small"></td>
<% } %>
<td class="black hide-small"><%= part.mark %></td>
<td class="black hide-small"><%= part.block %></td>
<td class="black hide-small"><%= part.assert %></td>
<td class="black hide-small">
<%= (part.follow>=0)? "F"+part.prettyDuration(part.follow) : "" %>
<%= (part.hang>=0)? "H"+part.prettyDuration(part.hang) : "" %>
</td>
<td class="black hide-small"><%= part.mark %></td>
<td class="black hide-small"><%= part.block %></td>
<td class="black hide-small"><%= part.assert %></td>
<% var followDisplay = (part.follow>=0)? "F"+part.prettyDuration(part.follow) : "" %>
<% var hangDisplay = (part.hang>=0)? "H"+part.prettyDuration(part.hang) : "" %>
<% var followHangDisplay = followDisplay + hangDisplay %>
<% var isFollowHangOnlyRunning = (followHangRemainingDuration !== null && followHangRemainingDuration !== undefined && followHangRemainingDuration > 0 && !isRunning) %>
<% if(followHangRemainingDuration !== null && followHangRemainingDuration !== undefined && followHangRemainingDuration > 0){ %>
<% if(part.follow >= 0){ %>
<% followHangDisplay = "F"+part.prettyDuration(followHangRemainingDuration) %>
<% }else if(part.hang >= 0 && !isRunning){ %>
<% followHangDisplay = "H"+part.prettyDuration(followHangRemainingDuration) %>
<% } %>
<% } %>
<td class="black hide-small <%= isFollowHangOnlyRunning ? 'running-follow-hang' : '' %>">
<%= followHangDisplay %>
</td>
<td class="black" style="text-align: left">
<%= (partNumber==0 ? "": "&nbsp;&nbsp;&nbsp;") %>
<%= part.label %>
+180 -4
View File
@@ -27,6 +27,9 @@ exports.config = {
action(_device) {
const device = _device;
device.data.cueListFilter = device.fields.cueListFilter;
if (device.data.EOS) {
subscribeToCueList(device);
}
device.draw();
},
},
@@ -40,10 +43,14 @@ exports.ready = function ready(_device) {
cue: _.template(fs.readFileSync(path.join(__dirname, `cue.ejs`))),
};
device.data.cueListFilter = device.fields.cueListFilter;
device.data.EOS.progressCueList = resolveConfiguredCueList(device);
device.send('/eos/get/cuelist/count');
device.send('/eos/get/version');
device.send('/eos/subscribe', [{ type: 'i', value: 1 }]);
// subscribe to the selected cue list specifically
subscribeToCueList(device);
};
exports.data = function data(_device, osc) {
@@ -80,6 +87,7 @@ exports.data = function data(_device, osc) {
device.update('cueData', {
cue: device.data.EOS.cueLists[addressParts[4]][addressParts[5]],
cueListNumber: addressParts[4],
cueNumber: addressParts[5],
uid: osc.args[1],
});
@@ -92,9 +100,88 @@ exports.data = function data(_device, osc) {
if (osc.args.length === 3) {
device.data.EOS.cueLists[addressParts[4]][addressParts[5]][0].extLinks = osc.args[2];
}
} else if (match(addressParts, ['eos', 'out', 'cuelist', '8001', '1'])) {
const cueListNumber = resolveConfiguredCueList(device);
const cueNumber = cueNumberValue(osc.args[1]);
const totalMs = nonNegativeInt(osc.args[6]);
const cueRemainingMs = nonNegativeInt(osc.args[7]);
const previousCueNumber = cueNumberValue(device.data.EOS.activeCueByList[cueListNumber]);
if (cueNumber !== undefined) {
device.data.EOS.activeCueByList[cueListNumber] = cueNumber;
device.data.EOS.activeCue = cueNumber;
}
if (cueNumber !== undefined || cueRemainingMs !== null || totalMs !== null) {
const progress = device.data.EOS.progressByList[cueListNumber] || {};
if (cueNumber !== undefined) {
progress.cueNumber = cueNumber;
}
if (cueRemainingMs !== null) {
progress.cueRemainingMs = cueRemainingMs;
}
if (totalMs !== null) {
progress.totalMs = totalMs;
}
device.data.EOS.progressByList[cueListNumber] = progress;
}
if (previousCueNumber !== undefined && previousCueNumber !== cueNumber) {
device.update('cueState', {
cueListNumber,
cueNumber: previousCueNumber,
});
}
if (cueNumber !== undefined) {
device.update('cueState', {
cueListNumber,
cueNumber,
});
}
} else if (match(addressParts, ['eos', 'out', 'cuelist', '8001'])) {
const cueListNumber = resolveConfiguredCueList(device);
const followHangRemainingMs = nonNegativeInt(osc.args[2]);
if (followHangRemainingMs !== null) {
const progress = device.data.EOS.progressByList[cueListNumber] || {};
const activeCueForList = cueNumberValue(device.data.EOS.activeCueByList[cueListNumber]);
if (progress.cueNumber === undefined && activeCueForList !== undefined) {
progress.cueNumber = activeCueForList;
}
progress.followHangRemainingMs = followHangRemainingMs;
device.data.EOS.progressByList[cueListNumber] = progress;
if (progress.cueNumber !== undefined) {
device.update('cueState', {
cueListNumber,
cueNumber: progress.cueNumber,
});
}
}
} else if (match(addressParts, ['eos', 'out', 'event', 'cue', '*', '*', 'fire'])) {
device.data.EOS.activeCue = addressParts[5];
device.draw();
const cueListNumber = cueNumberValue(addressParts[4]);
const cueNumber = cueNumberValue(addressParts[5]);
const previousCueNumber = cueNumberValue(device.data.EOS.activeCueByList[cueListNumber]);
device.data.EOS.activeCue = cueNumber;
device.data.EOS.activeCueByList[cueListNumber] = cueNumber;
device.data.EOS.progressByList[cueListNumber] = {
cueNumber,
cueRemainingMs: null,
followHangRemainingMs: null,
totalMs: null,
};
if (previousCueNumber !== undefined && previousCueNumber !== cueNumber) {
device.update('cueState', {
cueListNumber,
cueNumber: previousCueNumber,
});
}
device.update('cueState', {
cueListNumber,
cueNumber,
});
const cues = device.data.EOS.cueLists[addressParts[4]][addressParts[5]];
if (cues) {
device.update('activeCue', {
@@ -115,18 +202,48 @@ exports.data = function data(_device, osc) {
exports.update = function update(device, doc, updateType, data) {
if (updateType === 'cueData') {
const $elem = doc.getElementById(data.uid);
const cueState = cueRenderState(device, data.cueListNumber, data.cueNumber);
if ($elem) {
$elem.outerHTML = device.templates.cue({
q: data.cue,
cueNumber: data.cueNumber,
isActive: false,
isActive: cueState.isComplete,
isComplete: cueState.isComplete,
isRunning: cueState.isRunning,
remainingDuration: cueState.remainingDuration,
followHangRemainingDuration: cueState.followHangRemainingDuration,
});
} else {
device.draw();
}
} else if (updateType === 'cueState') {
const cueListNumber = cueNumberValue(data.cueListNumber);
const cueNumber = cueNumberValue(data.cueNumber);
const cues = device.data.EOS.cueLists?.[cueListNumber]?.[cueNumber];
if (!cues || !cues[0]) {
device.draw();
return;
}
const $elem = doc.getElementById(cues[0].uid);
if ($elem) {
const cueState = cueRenderState(device, cueListNumber, cueNumber);
$elem.outerHTML = device.templates.cue({
q: cues,
cueNumber,
isActive: cueState.isComplete,
isComplete: cueState.isComplete,
isRunning: cueState.isRunning,
remainingDuration: cueState.remainingDuration,
followHangRemainingDuration: cueState.followHangRemainingDuration,
});
} else {
device.draw();
}
} else if (updateType === 'activeCue') {
const $elem = doc.getElementById(data.uid);
$elem.scrollIntoView({ behavior: 'smooth', block: 'center' });
if ($elem) {
$elem.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
}
};
@@ -134,6 +251,62 @@ exports.heartbeat = function heartbeat(device) {
device.send('/eos/ping');
};
function resolveConfiguredCueList(device) {
const cueListFilter = cueNumberValue(device.data.cueListFilter);
return cueListFilter || '1';
}
function subscribeToCueList(device) {
const cueListNumber = resolveConfiguredCueList(device);
const eosState = device.data.EOS;
eosState.progressCueList = cueListNumber;
device.send(`/eos/cuelist/8001/config/${cueListNumber}/0/0`);
}
function cueRenderState(device, cueListNumber, cueNumber) {
const list = cueNumberValue(cueListNumber);
const cue = cueNumberValue(cueNumber);
const progress = device.data.EOS.progressByList[list];
const activeCue = cueNumberValue(device.data.EOS.activeCueByList[list]);
const cueRemainingMs = progress?.cueRemainingMs;
const followHangRemainingMs = progress?.followHangRemainingMs;
const isComplete = cue === activeCue;
const isRunning =
isComplete &&
progress !== undefined &&
cue === cueNumberValue(progress.cueNumber) &&
cueRemainingMs !== null &&
cueRemainingMs > 0;
const hasFollowHangCountdown = isComplete && followHangRemainingMs !== null && followHangRemainingMs > 0;
return {
isRunning,
isComplete,
remainingDuration: isRunning ? cueRemainingMs : null,
followHangRemainingDuration: hasFollowHangCountdown ? followHangRemainingMs : null,
};
}
function cueNumberValue(value) {
if (value === undefined || value === null) {
return undefined;
}
return `${value}`.trim();
}
function nonNegativeInt(value) {
if (value === undefined || value === null) {
return null;
}
const numericValue = Number(value);
if (!Number.isFinite(numericValue)) {
return null;
}
return Math.max(0, Math.round(numericValue));
}
function match(testArray, patternArray) {
let out = true;
if (testArray.length !== patternArray.length) {
@@ -152,5 +325,8 @@ class EOS {
this.showName = '';
this.cueLists = {};
this.activeCue = undefined;
this.activeCueByList = {};
this.progressByList = {};
this.progressCueList = '1';
}
}
+19
View File
@@ -63,6 +63,25 @@ tr.active-cue .time {
border-color: #c78b07;
}
tr.running-cue {
color: #ae0009;
}
tr.running-cue td.num div {
margin: 0px;
padding: 1px 6px;
background-color: #ae0009;
border-radius: 4px;
color: white;
}
tr.running-cue .time {
border-color: #ae0009;
}
td.running-follow-hang {
color: #ae0009;
font-weight: 700;
}
.list_name {
color: lightgray;
margin-left: 5px;
+17 -2
View File
@@ -25,15 +25,30 @@
</tr>
<% var cues = Object.keys(data.EOS.cueLists[i]).sort(function(a, b){return Number(a)-Number(b)}) %>
<% var activeCueByList = data.EOS.activeCueByList || {} %>
<% var progressByList = data.EOS.progressByList || {} %>
<% var activeCueNumber = (activeCueByList[i] !== undefined) ? (activeCueByList[i] + "") : undefined %>
<% var progressState = progressByList[i] || {} %>
<% var progressCueNumber = (progressState.cueNumber !== undefined && progressState.cueNumber !== null) ? (progressState.cueNumber + "") : undefined %>
<% var hasCueRemaining = (progressState.cueRemainingMs !== undefined && progressState.cueRemainingMs !== null) %>
<% var hasFollowHangRemaining = (progressState.followHangRemainingMs !== undefined && progressState.followHangRemainingMs !== null) %>
<% for(var j=0; j<cues.length; j++){ %>
<% var q = data.EOS.cueLists[i][cues[j]] %>
<% var isComplete = (activeCueNumber !== undefined && cues[j] == activeCueNumber) %>
<% var isRunning = isComplete && hasCueRemaining && progressCueNumber === cues[j] && progressState.cueRemainingMs > 0 %>
<% var remainingDuration = isRunning ? progressState.cueRemainingMs : null %>
<% var followHangRemainingDuration = (isComplete && !isRunning && hasFollowHangRemaining && progressState.followHangRemainingMs > 0) ? progressState.followHangRemainingMs : null %>
<%= templates.cue({
q: q,
cues: cues,
cueNumber: cues[j],
isActive: (cues[j]==data.EOS.activeCue+"")
isActive: isComplete,
isComplete: isComplete,
isRunning: isRunning,
remainingDuration: remainingDuration,
followHangRemainingDuration: followHangRemainingDuration
}) %>
<% } %>
+18 -1
View File
@@ -43,15 +43,32 @@ exports.data = function data(_device, buf, info) {
device.decoders[info.address].decode(buf);
Object.keys(device.decoders).forEach((address) => {
console.log(device.decoders[address].trackers)
device.data[address] = {
trackers: device.decoders[address].trackers,
system_name: device.decoders[address].system_name,
fields: device.decoders[address].getTrackerFields(),
fields: getTrackerFields(device.decoders[address].trackers),
};
});
device.draw();
};
function getTrackerFields(trackers) {
const keys = new Set(
Object.values(trackers)
.map((tracker) => Object.keys(tracker))
.flat(1)
);
// NOTE(jwetzell): remove fields that definitely exist
keys.delete('id');
keys.delete('has_subchunks');
keys.delete('data_len');
keys.delete('chunk_data');
return keys;
}
exports.heartbeat = function heartbeat(device) {};
exports.update = function update(_device, doc, updateType, updateData) {};
+24 -24
View File
@@ -14,7 +14,7 @@
<table>
<tr>
<th></th>
<% if(instanceData.fields.has('tracker_name')) { %>
<% if(instanceData.fields.has('name')) { %>
<th></th>
<% } %>
@@ -30,7 +30,7 @@
<th colspan="3" class="bg-ori border-right">ORI</th>
<% } %>
<% if(instanceData.fields.has('status')) { %>
<% if(instanceData.fields.has('validity')) { %>
<th class="border-right"></th>
<% } %>
@@ -48,7 +48,7 @@
</tr>
<tr>
<th>ID</th>
<% if(instanceData.fields.has('tracker_name')) { %>
<% if(instanceData.fields.has('name')) { %>
<th>Name</th>
<% } %>
@@ -70,7 +70,7 @@
<th class="bg-ori border-right">z</th>
<% } %>
<% if(instanceData.fields.has('status')) { %>
<% if(instanceData.fields.has('validity')) { %>
<th class="border-right">validity</th>
<% } %>
@@ -96,51 +96,51 @@
<tr>
<td><%= trackerId %></td>
<% if(instanceData.fields.has('tracker_name')) { %>
<td><%= trackerData.tracker_name?.tracker_name%></td>
<% if(instanceData.fields.has('name')) { %>
<td><%= trackerData.name%></td>
<% } %>
<% if(instanceData.fields.has('pos')) { %>
<!-- pos -->
<td class="bg-pos"><%= trackerData.pos?.pos_x?.toFixed(2) %></td>
<td class="bg-pos"><%= trackerData.pos?.pos_y?.toFixed(2) %></td>
<td class="bg-pos border-right"><%= trackerData.pos?.pos_z?.toFixed(2) %></td>
<td class="bg-pos"><%= trackerData.pos?.x?.toFixed(2) %></td>
<td class="bg-pos"><%= trackerData.pos?.y?.toFixed(2) %></td>
<td class="bg-pos border-right"><%= trackerData.pos?.z?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('speed')) { %>
<!-- speed -->
<td class="bg-speed"><%= trackerData.speed?.speed_x?.toFixed(2) %></td>
<td class="bg-speed"><%= trackerData.speed?.speed_y?.toFixed(2) %></td>
<td class="bg-speed border-right"><%= trackerData.speed?.speed_z?.toFixed(2) %></td>
<td class="bg-speed"><%= trackerData.speed?.x?.toFixed(2) %></td>
<td class="bg-speed"><%= trackerData.speed?.y?.toFixed(2) %></td>
<td class="bg-speed border-right"><%= trackerData.speed?.z?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('ori')) { %>
<!-- ori -->
<td class="bg-ori"><%= trackerData.ori?.ori_x?.toFixed(2) %></td>
<td class="bg-ori"><%= trackerData.ori?.ori_y?.toFixed(2) %></td>
<td class="bg-ori border-right"><%= trackerData.ori?.ori_z?.toFixed(2) %></td>
<td class="bg-ori"><%= trackerData.ori?.x?.toFixed(2) %></td>
<td class="bg-ori"><%= trackerData.ori?.y?.toFixed(2) %></td>
<td class="bg-ori border-right"><%= trackerData.ori?.z?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('status')) { %>
<td class="border-right"><%= trackerData.status?.validity?.toFixed(2) %></td>
<% if(instanceData.fields.has('validity')) { %>
<td class="border-right"><%= trackerData.validity?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('accel')) { %>
<!-- accel -->
<td class="bg-accel"><%= trackerData.accel?.accel_x?.toFixed(2) %></td>
<td class="bg-accel"><%= trackerData.accel?.accel_y?.toFixed(2) %></td>
<td class="bg-accel border-right"><%= trackerData.accel?.accel_z?.toFixed(2) %></td>
<td class="bg-accel"><%= trackerData.accel?.x?.toFixed(2) %></td>
<td class="bg-accel"><%= trackerData.accel?.y?.toFixed(2) %></td>
<td class="bg-accel border-right"><%= trackerData.accel?.z?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('trgtpos')) { %>
<!-- trgtpos -->
<td class="bg-trgtpos"><%= trackerData.trgtpos?.trgtpos_x?.toFixed(2) %></td>
<td class="bg-trgtpos"><%= trackerData.trgtpos?.trgtpos_y?.toFixed(2) %></td>
<td class="bg-trgtpos border-right"><%= trackerData.trgtpos?.trgtpos_z?.toFixed(2) %></td>
<td class="bg-trgtpos"><%= trackerData.trgtpos?.x?.toFixed(2) %></td>
<td class="bg-trgtpos"><%= trackerData.trgtpos?.y?.toFixed(2) %></td>
<td class="bg-trgtpos border-right"><%= trackerData.trgtpos?.z?.toFixed(2) %></td>
<% } %>
<% if(instanceData.fields.has('timestamp')) { %>
<td><%= trackerData.timestamp?.tracker_timestamp %></td>
<td><%= trackerData.timestamp %></td>
<% } %>
</tr>
+19 -3
View File
@@ -73,7 +73,7 @@ exports.data = function data(_device, oscData) {
return;
}
if (json.status === 'error') {
device.send('/workspaces');
// device.send('/workspaces');
return;
}
}
@@ -101,7 +101,11 @@ exports.data = function data(_device, oscData) {
} else {
device.data.workspaces[json.workspace_id].permission = 'ok';
device.send(`/workspace/${msgAddr[2]}/cueLists`);
device.send(`/workspace/${msgAddr[2]}/updates`, [{ type: 'i', value: 1 }]);
if (device.data?.version?.startsWith('5')) {
device.send(`/updates`, [{ type: 'i', value: 1 }]);
} else {
device.send(`/workspace/${msgAddr[2]}/updates`, [{ type: 'i', value: 1 }]);
}
}
} else if (/reply\/workspace\/.*\/cueLists/.test(oscData.address)) {
insertChildCues(device, device.data.workspaces[msgAddr[2]].cueLists, json.data, '[root group of cue lists]');
@@ -158,7 +162,19 @@ exports.data = function data(_device, oscData) {
device.data.cueKeys[msgAddr[2]].cueInWorkspace
);
}
device.draw();
if (cue.type === 'Cue List') {
// draw cue list right away
device.draw();
} else {
// set up a timeout in case more messages come along to avoid fast re-drawing
if (device.drawTimeout !== undefined) {
clearTimeout(device.drawTimeout);
}
device.drawTimeout = setTimeout(() => {
device.draw();
}, 250);
}
}
if (cue.type !== 'Cue List' && cue.type !== 'Cart') {
+4 -4
View File
@@ -257,13 +257,13 @@ module.exports.deleteActive = function deleteActive() {
if (choice) {
if (device.plugin.config.connectionType === 'TCPsocket') {
device.connection.destroy();
device.connection?.destroy();
} else if (device.plugin.config.connectionType === 'UDPsocket') {
device.connection.close();
device.connection?.close();
} else if (device.plugin.config.connectionType === 'multicast') {
device.connection.close();
device.connection?.close();
} else if (device.plugin.config.connectionType.startsWith('osc')) {
device.connection.close();
device.connection?.close();
}
VIEW.removeDeviceFromList(device);
delete devices[device.id];
+16 -9
View File
@@ -2,6 +2,13 @@ const { ipcRenderer } = require('electron');
const DEVICE = require('./device.js');
const PLUGINS = require('./plugins.js');
const { saveAll } = require('./saveSlots.js');
const { h, diff, patch, create } = require('virtual-dom');
const VNode = require('virtual-dom/vnode/vnode');
const VText = require('virtual-dom/vnode/vtext');
const convertHtml = require('html-to-vdom')({
VNode,
VText,
});
const pinnedDevices = [];
module.exports.pinnedDevices = pinnedDevices;
@@ -40,17 +47,17 @@ function drawDeviceFrame(id) {
</style>
<link href='src/assets/css/plugin_default.css' rel='stylesheet' type='text/css'>
</head>
<body>
${generateBodyHTML(d)}
</body>
</html>
`;
d.contentBodyElement = create(h('body', convertHtml(generateBodyHTML(d))));
$deviceDrawArea.setAttribute('class', `${d.type} draw-area`);
$deviceDrawArea.contentWindow.document.open();
$deviceDrawArea.contentWindow.document.write(str);
$deviceDrawArea.contentWindow.document.body = d.contentBodyElement;
$deviceDrawArea.contentWindow.document.close();
$deviceDrawArea.contentWindow.document.onclick = function (e) {
$deviceDrawArea.contentWindow.document.onclick = (e) => {
switchDevice(d.id);
};
@@ -74,7 +81,7 @@ function generateBodyHTML(d) {
listName: d.displayName || d.defaultName,
});
} catch (err) {
console.log(err);
console.error(err);
return '<h3>Plugin Template Error</h3>';
}
} else {
@@ -98,11 +105,11 @@ function generateBodyHTML(d) {
module.exports.draw = function draw(device) {
const d = device;
const $deviceDrawArea = document.getElementById(`device-${d.id}-draw-area`);
if ($deviceDrawArea) {
const scriptEl = $deviceDrawArea.contentWindow.document.createRange().createContextualFragment(generateBodyHTML(d));
$deviceDrawArea.contentWindow.document.body.replaceChildren(scriptEl);
if (d.contentBodyElement) {
const newVNode = h('body', convertHtml(generateBodyHTML(d)));
const domPatches = diff(d.contentBodyElement, newVNode);
d.contentBodyElement = patch(d.contentBodyElement, domPatches);
} else {
drawDeviceFrame(d.id);
}