Files
companion-buttons/module.json
T
christianandClaude Opus 5.5 0a6cec88aa 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>
2026-10-15 11:48:24 -04:00

40 lines
1.1 KiB
JSON

{
"id": "companion-buttons",
"name": "Companion Buttons",
"version": "1.1.0",
"proddash": ">=1.10.0",
"description": "Companion pages and buttons, 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": 6, "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": {
"layout": {
"type": "switch",
"label": "Page layout",
"default": true
},
"page": {
"type": "select",
"label": "Page",
"default": "",
"optionsRoute": "/page-options"
}
}
}