From 4c1c7f565f5e184f037498b84d2c08d599b46a18 Mon Sep 17 00:00:00 2001 From: christian Date: Sun, 11 Oct 2026 11:39:53 -0400 Subject: [PATCH] =?UTF-8?q?Vista=20Cues=201.0.1:=20its=20own=20heading=20i?= =?UTF-8?q?n=20the=20=EF=BC=8B=20picker=20instead=20of=20sitting=20under?= =?UTF-8?q?=20Slack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/vista-cues/module.json | 2 +- modules/vista-cues/server.js | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/modules/vista-cues/module.json b/modules/vista-cues/module.json index a384a34..7021f7c 100644 --- a/modules/vista-cues/module.json +++ b/modules/vista-cues/module.json @@ -1,7 +1,7 @@ { "id": "vista-cues", "name": "Vista Cues", - "version": "1.0.0", + "version": "1.0.1", "proddash": ">=1.5.0", "description": "Which Vista 3 cue lists are live: hears the network MIDI that ProPresenter and Tracks send Vista", "permissions": [ diff --git a/modules/vista-cues/server.js b/modules/vista-cues/server.js index 4e29938..9c04c10 100644 --- a/modules/vista-cues/server.js +++ b/modules/vista-cues/server.js @@ -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() { const sendJson = (res, code, body) => { res.writeHead(code, { 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': 'no-store' }); -- 2.54.0