1.1.0 made each tile one page, so buttons picked on a second page never showed, choosing ended on every settings change, and a tile could go blank after a remount. This goes back to 1.0's model and keeps only the changes asked for: - Pick buttons from any pages; each gets a ring and its order number. - No Page / Clear / Done row: Page is in the gear, the grid icon starts and ends choosing, a second click on a button takes it out. - Choosing survives the remount a gear change causes, so switching Page carries straight on. - A tile joining a stream its dashboard already has open (another tile with the same buttons, or itself after a settings change) asks GET /state for the snapshot instead of waiting blank. - Gear: Captions and Page. The per-page + entries are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"id": "companion-buttons",
|
|
"name": "Companion Buttons",
|
|
"version": "1.2.0",
|
|
"proddash": ">=1.10.0",
|
|
"description": "Any Companion buttons from any pages, live as Companion draws them — for status and what's happening",
|
|
"permissions": [
|
|
{
|
|
"kind": "local-network",
|
|
"reason": "Reading button pictures from Companion on this network"
|
|
}
|
|
],
|
|
"client": "client.js",
|
|
"server": "server.js",
|
|
"style": "style.css",
|
|
"minSize": { "w": 1, "h": 1 },
|
|
"defaultSize": { "w": 4, "h": 4 },
|
|
"configSchema": {
|
|
"companion": {
|
|
"type": "endpoint",
|
|
"label": "Companion",
|
|
"default": { "host": "", "port": 8000 },
|
|
"help": "The machine running Bitfocus Companion and its web interface port (8000 unless changed in Companion's settings). 127.0.0.1 when Companion runs on this machine. Companion 4 or newer."
|
|
}
|
|
},
|
|
"instanceSchema": {
|
|
"captions": {
|
|
"type": "switch",
|
|
"label": "Captions",
|
|
"default": false
|
|
},
|
|
"page": {
|
|
"type": "select",
|
|
"label": "Page",
|
|
"default": "",
|
|
"optionsRoute": "/page-options"
|
|
}
|
|
}
|
|
}
|