Companion Buttons 1.1.0: pages in the + picker, buttons chosen on the tile

The picker row (page list, Clear, Done) is gone. Each Companion page is now
its own + entry, titled with the page's name, showing the whole page minus
page up/down. The grid icon switches the tile to choosing: click buttons to
take them out or put them back, click the icon again when done. The gear
holds one switch, Page layout (Companion's rows and columns, or packed).

- Tiles follow their page by Companion's page id and buttons by row/column,
  so inserted pages and re-imported pages keep showing.
- A tile remounted after a settings change asks GET /state for the snapshot
  the already-open stream sent, instead of waiting blank.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 11:48:24 -04:00
co-authored by Claude Opus 5.5
parent 415453ef5f
commit 0a6cec88aa
8 changed files with 642 additions and 804 deletions
+12 -6
View File
@@ -1,9 +1,9 @@
{
"id": "companion-buttons",
"name": "Companion Buttons",
"version": "1.0.0",
"version": "1.1.0",
"proddash": ">=1.10.0",
"description": "Any Companion button from any page, live as Companion draws it — for status and what's happening",
"description": "Companion pages and buttons, live as Companion draws them — for status and what's happening",
"permissions": [
{
"kind": "local-network",
@@ -14,7 +14,7 @@
"server": "server.js",
"style": "style.css",
"minSize": { "w": 1, "h": 1 },
"defaultSize": { "w": 3, "h": 3 },
"defaultSize": { "w": 6, "h": 4 },
"configSchema": {
"companion": {
"type": "endpoint",
@@ -24,10 +24,16 @@
}
},
"instanceSchema": {
"captions": {
"layout": {
"type": "switch",
"label": "Captions",
"default": false
"label": "Page layout",
"default": true
},
"page": {
"type": "select",
"label": "Page",
"default": "",
"optionsRoute": "/page-options"
}
}
}