Merge pull request 'Vista Cues 1.0.1: its own heading in the + picker instead of sitting under Slack' (#49) from claude/vista-cues-picker into main

This commit was merged in pull request #49.
This commit is contained in:
2026-10-11 11:40:50 -04:00
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"id": "vista-cues", "id": "vista-cues",
"name": "Vista Cues", "name": "Vista Cues",
"version": "1.0.0", "version": "1.0.1",
"proddash": ">=1.5.0", "proddash": ">=1.5.0",
"description": "Which Vista 3 cue lists are live: hears the network MIDI that ProPresenter and Tracks send Vista", "description": "Which Vista 3 cue lists are live: hears the network MIDI that ProPresenter and Tracks send Vista",
"permissions": [ "permissions": [
+16
View File
@@ -323,6 +323,22 @@ module.exports = {
}; };
}, },
/**
* One picker entry, so the + menu gives Vista Cues a heading of its own —
* a module with no list sits headless under whichever module precedes it
* (Slack, alphabetically). Tiles added before this keep working: they
* have no variant and use the module's schema.
*/
tiles() {
return [{
id: 'live',
name: 'Live cue lists',
description: 'The main scene Vista is running, the FX on top, and what fired them',
defaultSize: { w: 5, h: 4 },
minSize: { w: 2, h: 1 },
}];
},
routes() { routes() {
const sendJson = (res, code, body) => { const sendJson = (res, code, body) => {
res.writeHead(code, { 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': 'no-store' }); res.writeHead(code, { 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': 'no-store' });