From 36aeea67ac84799222d53bc9c23f4140a4ce99af Mon Sep 17 00:00:00 2001 From: Byron Gamatos Date: Fri, 19 Jun 2026 20:56:38 +0200 Subject: [PATCH] fix(highway): user-selectable scoreboard to stop duplicate HUDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The highway showed two overlapping note-detection scoreboards at once: the core v3 live-performance HUD (#v3-live-performance-hud) and the note_detect plugin's own HUD (.nd-hud). Both auto-render off the same note:hit/note:miss events and neither suppressed the other. Add a Settings → Visualization "Scoreboard" selector (Streak / Detailed / Off, default Streak) backed by a single source of truth on . CSS shows exactly one: core (default) → core HUD; hide .nd-hud detailed → .nd-hud; hide the core HUD off → hide both CSS-based suppression keys the default off ":not(detailed):not(off)", so the correct HUD is right even before the pref script runs (no flash) and it robustly hides any .nd-hud regardless of how many note_detect instances load. Detection itself is untouched — only the duplicate scoreboard panel is hidden. Co-Authored-By: Claude Opus 4.8 (1M context) --- static/v3/index.html | 9 +++++++ static/v3/scoreboard-pref.js | 50 ++++++++++++++++++++++++++++++++++++ static/v3/v3.css | 13 ++++++++++ 3 files changed, 72 insertions(+) create mode 100644 static/v3/scoreboard-pref.js diff --git a/static/v3/index.html b/static/v3/index.html index 535d11e..bb731a2 100644 --- a/static/v3/index.html +++ b/static/v3/index.html @@ -708,6 +708,14 @@ +
+ Scoreboard + +
Venue Motion