Timers: the gear chooses what a card shows, not which timers; a 24-hour switch; a date that fits
Which timers appear is the header's Timers ▾ menu's job, so the gear's source switches (ProPresenter / LTC / module timers, the Clock on/off) are gone. In their place the Show group offers the card's elements — Names, Status lines, Detail lines, Seconds, Leading zeros, Source headings; without seconds a countdown reads in whole minutes, rounded up. The clock's format select is a 24-hour switch (an older layout's "12h" choice is honoured); the clock card has no CLOCK label; Short day and Short month appear once Date is on, and the date fits its card — one line when it can, else a break after the day and a size that fits the longer half. Solo tiles get the same element switches. Shell: the settings window's grab bar is the accent colour and the gear that opened it wears the same colour while it is open; showWhen works in a tile's gear as it does on the admin page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
1db6c2c89f
commit
efbcf960dd
@@ -4,16 +4,30 @@
|
||||
"version": "1.3.0",
|
||||
"proddash": ">=1.4.0",
|
||||
"description": "Timers, Clocks, and LTC From configured Modules",
|
||||
"provides": ["timers"],
|
||||
"provides": [
|
||||
"timers"
|
||||
],
|
||||
"permissions": [
|
||||
{ "kind": "microphone", "reason": "Decoding SMPTE LTC timecode from an audio input on this machine" },
|
||||
{ "kind": "local-network", "reason": "Reaching ProPresenter on this network" }
|
||||
{
|
||||
"kind": "microphone",
|
||||
"reason": "Decoding SMPTE LTC timecode from an audio input on this machine"
|
||||
},
|
||||
{
|
||||
"kind": "local-network",
|
||||
"reason": "Reaching ProPresenter on this network"
|
||||
}
|
||||
],
|
||||
"client": "client.js",
|
||||
"server": "server.js",
|
||||
"style": "style.css",
|
||||
"minSize": { "w": 2, "h": 1 },
|
||||
"defaultSize": { "w": 4, "h": 3 },
|
||||
"minSize": {
|
||||
"w": 2,
|
||||
"h": 1
|
||||
},
|
||||
"defaultSize": {
|
||||
"w": 4,
|
||||
"h": 3
|
||||
},
|
||||
"configGroups": {
|
||||
"ProPresenter": {
|
||||
"toggle": "ppEnabled",
|
||||
@@ -39,7 +53,10 @@
|
||||
"type": "endpoint",
|
||||
"label": "ProPresenter",
|
||||
"group": "ProPresenter",
|
||||
"default": { "host": "", "port": 1025 }
|
||||
"default": {
|
||||
"host": "",
|
||||
"port": 1025
|
||||
}
|
||||
},
|
||||
"password": {
|
||||
"type": "password",
|
||||
@@ -82,14 +99,26 @@
|
||||
"group": "Display",
|
||||
"default": "default",
|
||||
"options": [
|
||||
{ "value": "default", "label": "Default (system)" },
|
||||
{ "value": "monospace", "label": "Monospace — steadier changing digits" }
|
||||
{
|
||||
"value": "default",
|
||||
"label": "Default (system)"
|
||||
},
|
||||
{
|
||||
"value": "monospace",
|
||||
"label": "Monospace — steadier changing digits"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"instanceGroups": {
|
||||
"Show": { "collapsed": false, "columns": 2 },
|
||||
"Clock": { "collapsed": false, "toggle": "showClock" },
|
||||
"Show": {
|
||||
"collapsed": false,
|
||||
"columns": 2
|
||||
},
|
||||
"Clock": {
|
||||
"collapsed": false,
|
||||
"columns": 2
|
||||
},
|
||||
"Colours": {
|
||||
"collapsed": true,
|
||||
"columns": 2,
|
||||
@@ -97,27 +126,97 @@
|
||||
}
|
||||
},
|
||||
"instanceSchema": {
|
||||
"showProPresenter": { "type": "boolean", "label": "ProPresenter timers", "default": true, "group": "Show" },
|
||||
"showLtc": { "type": "boolean", "label": "LTC timecode", "default": true, "group": "Show" },
|
||||
"showModules": { "type": "boolean", "label": "Module timers", "default": true, "group": "Show" },
|
||||
"showHeadings": { "type": "boolean", "label": "Source headings", "default": true, "group": "Show" },
|
||||
"showStatus": { "type": "boolean", "label": "Status lines", "default": true, "group": "Show" },
|
||||
"showClock": { "type": "switch", "label": "Clock", "default": true, "group": "Clock" },
|
||||
"clockFormat": {
|
||||
"type": "select",
|
||||
"label": "Clock format",
|
||||
"default": "24h",
|
||||
"group": "Clock",
|
||||
"options": [
|
||||
{ "value": "24h", "label": "24-hour" },
|
||||
{ "value": "12h", "label": "12-hour" }
|
||||
]
|
||||
"showNames": {
|
||||
"type": "switch",
|
||||
"label": "Names",
|
||||
"default": true,
|
||||
"group": "Show"
|
||||
},
|
||||
"clockSeconds": { "type": "boolean", "label": "Seconds", "default": true, "group": "Clock" },
|
||||
"clockDate": { "type": "boolean", "label": "Date", "default": false, "group": "Clock" },
|
||||
"runningColor": { "type": "color", "label": "Running", "default": "#2ee59a", "group": "Colours" },
|
||||
"warningColor": { "type": "color", "label": "Warning", "default": "#f0b429", "group": "Colours" },
|
||||
"overrunColor": { "type": "color", "label": "Overrun", "default": "#f4433c", "group": "Colours" },
|
||||
"idleColor": { "type": "color", "label": "Idle", "default": "#8b98a5", "group": "Colours" }
|
||||
"showStatus": {
|
||||
"type": "switch",
|
||||
"label": "Status lines",
|
||||
"default": true,
|
||||
"group": "Show"
|
||||
},
|
||||
"showDetail": {
|
||||
"type": "switch",
|
||||
"label": "Detail lines",
|
||||
"default": true,
|
||||
"group": "Show"
|
||||
},
|
||||
"showSeconds": {
|
||||
"type": "switch",
|
||||
"label": "Seconds",
|
||||
"default": true,
|
||||
"group": "Show"
|
||||
},
|
||||
"leadingZeros": {
|
||||
"type": "switch",
|
||||
"label": "Leading zeros",
|
||||
"default": false,
|
||||
"group": "Show"
|
||||
},
|
||||
"showHeadings": {
|
||||
"type": "switch",
|
||||
"label": "Source headings",
|
||||
"default": true,
|
||||
"group": "Show"
|
||||
},
|
||||
"clock24h": {
|
||||
"type": "switch",
|
||||
"label": "24-hour",
|
||||
"default": true,
|
||||
"group": "Clock"
|
||||
},
|
||||
"clockSeconds": {
|
||||
"type": "switch",
|
||||
"label": "Seconds",
|
||||
"default": true,
|
||||
"group": "Clock"
|
||||
},
|
||||
"clockDate": {
|
||||
"type": "switch",
|
||||
"label": "Date",
|
||||
"default": false,
|
||||
"group": "Clock"
|
||||
},
|
||||
"dateShortDay": {
|
||||
"type": "switch",
|
||||
"label": "Short day",
|
||||
"default": false,
|
||||
"group": "Clock",
|
||||
"showWhen": "clockDate"
|
||||
},
|
||||
"dateShortMonth": {
|
||||
"type": "switch",
|
||||
"label": "Short month",
|
||||
"default": false,
|
||||
"group": "Clock",
|
||||
"showWhen": "clockDate"
|
||||
},
|
||||
"runningColor": {
|
||||
"type": "color",
|
||||
"label": "Running",
|
||||
"default": "#2ee59a",
|
||||
"group": "Colours"
|
||||
},
|
||||
"warningColor": {
|
||||
"type": "color",
|
||||
"label": "Warning",
|
||||
"default": "#f0b429",
|
||||
"group": "Colours"
|
||||
},
|
||||
"overrunColor": {
|
||||
"type": "color",
|
||||
"label": "Overrun",
|
||||
"default": "#f4433c",
|
||||
"group": "Colours"
|
||||
},
|
||||
"idleColor": {
|
||||
"type": "color",
|
||||
"label": "Idle",
|
||||
"default": "#8b98a5",
|
||||
"group": "Colours"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user