Timers: each picker entry carries the gear settings that fit its tile
An "All timers" tile keeps the full set — sources, headings, status lines, the clock's format (now behind the Clock group's title-row switch), the colours. A solo tile's entry carries only what its one card can use: a ProPresenter or module timer gets Status lines and the four colours; the LTC timecode Status lines and the three tones it takes (running, no signal, stopped); the time-of-day clock its format, seconds and date alone; a clock another module offers its format plus the idle tone. Every field is still defined once, in module.json; server.js composes the subsets from it. The client resolves an absent setting from its own DEFAULTS rather than from whatever schema the tile has, so a slimmer schema changes nothing about what a tile shows. Entry descriptions are one-sentence picker tooltips now. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
7a44b25d4b
commit
b817e230d4
@@ -89,7 +89,7 @@
|
||||
},
|
||||
"instanceGroups": {
|
||||
"Show": { "collapsed": false, "columns": 2 },
|
||||
"Clock": { "collapsed": false },
|
||||
"Clock": { "collapsed": false, "toggle": "showClock" },
|
||||
"Colours": {
|
||||
"collapsed": true,
|
||||
"columns": 2,
|
||||
@@ -97,12 +97,12 @@
|
||||
}
|
||||
},
|
||||
"instanceSchema": {
|
||||
"showClock": { "type": "boolean", "label": "Clock", "default": true, "group": "Show" },
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user