Network search, device ID, max level lock and the Channel settings tab

- network search: probes the local networks for DSPs (TCP 9761, asks for the device info)
  and adds them with one click
- device ID (address byte, 1-250) under the device's advanced settings
- the Link tab became "Channel settings": links, max level per channel and channel colours
  (colours moved here from the device settings); linked channels can't be selected again
- max level: software lock for the gain faders, enforced by the server (API, test fader,
  copy) and the UI; a DSP turned up on the device can only be pulled down until it snaps in
- global mute button only turns red (no text)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-01 23:29:41 +01:00
1 parent 9473fc9eca
commit 52ecff85ce
8 files changed
+264 -49

No files matched your search

+25 -2
View File
@@ -515,8 +515,7 @@ body.testlock #viewtabs button:disabled, body.testlock #btn-settings:disabled, b
/* ---- global mute */
#btn-muteall svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#btn-muteall.on { width: auto; padding: 0 12px; gap: 6px; background: #991b1b; border-color: var(--bad); color: #fff; font-weight: 700;
letter-spacing: .06em; animation: mutepulse 1.6s ease-in-out infinite; }
#btn-muteall.on { background: #991b1b; border-color: var(--bad); color: #fff; animation: mutepulse 1.6s ease-in-out infinite; }
@keyframes mutepulse { 50% { box-shadow: 0 0 14px #ef4444aa; } }
/* ---- copy dialog */
@@ -674,3 +673,27 @@ button.devadd b { font-size: 15px; color: var(--text); }
.devpick { min-width: 0; max-width: min(320px, 100%); }
.devpick .dn { min-width: 0; }
@media (max-width: 480px) { .devpick .minidots, .devpick small { display: none; } }
/* ---- link tab: channels already in a link */
.lkch.taken { cursor: not-allowed; opacity: .55; }
.lkch.taken:hover { background: inherit; }
/* ---- device ID, network search */
.idrow { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--text); }
.idrow input.short { width: 80px; }
button.devadd .plus svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.scanres { display: flex; flex-direction: column; gap: 6px; min-width: min(460px, 80vw); max-height: 55vh; overflow-y: auto; }
.scanres .empty.small { padding: 24px 8px; }
.scanrow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; background: var(--panel2); }
.scanrow small { display: block; color: var(--dim); font-size: 12px; }
/* ---- software max level */
.fader .limmark { position: absolute; left: 50%; width: 30px; height: 3px; margin-left: -15px; border-radius: 2px; background: var(--bad);
box-shadow: 0 0 6px #ef4444aa; bottom: calc(12px + var(--f) * (100% - 24px)); transform: translateY(50%); pointer-events: none; z-index: 1; }
.rangewrap { position: relative; }
.rangewrap .limmark { position: absolute; top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 2px; background: var(--bad);
left: calc(13px + var(--f) * (100% - 26px)); transform: translateX(-50%); pointer-events: none; z-index: 1; }
.mlrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) 84px; align-items: center; gap: 10px; margin-top: 8px; }
.mllabel { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.mlval { font-size: 12px; color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.mlval.on { color: var(--bad); font-weight: 600; }
.mlwarn { grid-column: 2 / -1; color: var(--warn); font-size: 11px; margin-top: -4px; }