Add Group and Aux master actions, feedbacks and preset sections

Groups were only reachable through the generic "Buss:" actions, whose
dropdown mixes all 25 busses, so users could not find group fader
control.

- New "Group:" and "Aux master:" mute, solo, set fader (with fade time)
  and adjust fader actions; their dropdowns list only busses of that
  type. Matching muted, solo, fader text/position, meter, signal and
  peak feedbacks.
- The old buss_* actions and feedbacks keep working for existing
  buttons and are now labelled "Any buss (aux or group)".
- Presets: "Busses" is split into "Groups" and "Aux masters", and the
  bus meters into "Group meters" and "Aux meters". A bus that changes
  type on the console moves section on the next rebuild.

npm test: 542 checks pass on Node 25 and on Companion's Node 22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 12:57:01 -04:00
co-authored by Claude Opus 5.5
parent 205f91e7d2
commit f81d581bf2
6 changed files with 263 additions and 75 deletions
+4 -2
View File
@@ -417,11 +417,13 @@ export class State {
const entity = (ent, suffix) => () => this.numbers(ent).map((n) => ({ id: n, label: `${n} · ${this.displayName(ent, n)}${suffix ? suffix(n) : ''}` }))
const bussSuffix = (n) => ` (${this.bussMode(n)})`
const busses = entity('buss', bussSuffix)
const plainBusses = entity('buss')
return {
inputs: entity('input'),
busses,
auxChoices: () => busses().filter((c) => this.bussMode(c.id) === 'aux'),
groupChoices: () => busses().filter((c) => this.bussMode(c.id) === 'group'),
// filtered by type, so the "(aux)" / "(group)" suffix would only repeat what the dropdown already says
auxChoices: () => plainBusses().filter((c) => this.bussMode(c.id) === 'aux'),
groupChoices: () => plainBusses().filter((c) => this.bussMode(c.id) === 'group'),
matrix: entity('matrix'),
matrixInputs: entity('minput'),
cgs: entity('cg'),