Compare commits

..

39 Commits

Author SHA1 Message Date
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
7 changed files with 2587 additions and 2358 deletions
+9 -9
View File
@@ -9,20 +9,20 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- 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@v5
- uses: actions/setup-node@v6
with:
node-version: 20
node-version-file: .nvmrc
cache: 'npm'
- run: npm ci
- run: npm run release
@@ -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@v5
- 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
+2512 -2304
View File
File diff suppressed because it is too large Load Diff
+18 -18
View File
@@ -1,7 +1,7 @@
{
"name": "cue-view",
"productName": "Cue View",
"version": "1.2.2",
"version": "1.2.4",
"description": "A dashboard for everything in your show",
"main": "main.js",
"scripts": {
@@ -19,25 +19,25 @@
"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.1.1",
"electron-builder": "26.0.12",
"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.6.2"
},
"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.5.0",
"bonjour": "3.5.0",
"electron-updater": "6.6.2",
"lodash": "4.17.21",
"md5": "2.3.0",
"netmask": "2.0.2",
"osc": "2.4.5",
"uuid": "13.0.0"
},
"build": {
"appId": "com.stagehacks.cueview",
+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>
+5 -1
View File
@@ -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]');