Shell: settings window sized to its content, with a slim grab bar

No title and no ✕ — the window sits beside its tile and closes on a click
anywhere else or Escape — and it is as wide as its fields want, so a
couple of switches make a small window. Help lines wrap to the fields'
width instead of widening it.

Guide: one control per action — whatever has a header button is not
offered again in the gear. ProdCom 1.2.2 drops its timestamps and
newest-first gear switches (both are header buttons).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Waters Church
2026-09-14 16:31:02 -04:00
co-authored by Claude Fable 5.1
parent 5dd1b734aa
commit 20d4e0f524
4 changed files with 54 additions and 74 deletions
+17 -15
View File
@@ -1,22 +1,34 @@
{
"id": "prodcom-transcript",
"name": "ProdCom",
"version": "1.2.1",
"version": "1.2.2",
"proddash": ">=1.1.0",
"description": "Live ProdCom transcript stream",
"permissions": [
{ "kind": "local-network", "reason": "Reaching the ProdCom API on this network" }
{
"kind": "local-network",
"reason": "Reaching the ProdCom API on this network"
}
],
"client": "client.js",
"server": "server.js",
"style": "style.css",
"minSize": { "w": 3, "h": 2 },
"defaultSize": { "w": 4, "h": 4 },
"minSize": {
"w": 3,
"h": 2
},
"defaultSize": {
"w": 4,
"h": 4
},
"configSchema": {
"prodcom": {
"type": "endpoint",
"label": "ProdCom server",
"default": { "host": "10.3.11.152", "port": 24480 }
"default": {
"host": "10.3.11.152",
"port": 24480
}
},
"apiKey": {
"type": "password",
@@ -29,16 +41,6 @@
"type": "boolean",
"label": "Show channel icons",
"default": true
},
"newestFirst": {
"type": "boolean",
"label": "Newest first (transcript reads bottom-up)",
"default": false
},
"showTimes": {
"type": "boolean",
"label": "Show timestamps",
"default": false
}
}
}