Vista Cues 1.0.1: its own heading in the + picker instead of sitting under Slack

The picker gives a heading only to modules that offer a list of tiles; a
module without one is a bare line under whichever module comes before it,
and alphabetically that is Slack. Vista Cues now offers one entry, "Live
cue lists", so it reads as its own module. Tiles added before this have no
variant and keep using the module's schema, so they still draw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 11:39:53 -04:00
co-authored by Claude Opus 5.5
parent e8ad99a4ce
commit 4c1c7f565f
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' });