From d5b611d8d54bd8f81b336fc008e94e1928aaeacd Mon Sep 17 00:00:00 2001 From: gramps Date: Mon, 24 Aug 2026 10:30:18 -0700 Subject: [PATCH] ON-AIR label matches REC: shared StatusSignText style, dots carry state --- HANDOFF.md | 2 +- MainWindow.xaml | 6 ++---- Themes/Controls.xaml | 9 +++++++++ ai.md | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/HANDOFF.md b/HANDOFF.md index 9970f3d..bc8a3cb 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -10,7 +10,7 @@ - TASK 27 — YouTube Chat layer one-per-layout gate (`CanAddYouTubeChat`, AddSource refuses a second) + legacy label heal ("Chat" → "YouTube Chat" on LoadLayout; creator renames untouched; test `ChatLayerGateTests`). Creator's ask: "do the same thing with the YouTube chat layer" + make the Layers row match the (+) picklist. - TASK 19/23 status flip — code survey confirmed Control Surface UX fully shipped (thumbnail strip, two-state left panel, right panel gone, transitions, edit gating); map corrected. - **TASK 20 step 1 — global hotkeys** (`Services/GlobalHotkeys.cs`, `MainViewModel.HandleHotkey`, `MainWindow.OnSourceInitialized` wiring): F1-F5 canonical scenes, F6 start/end stream, F7 mic mute, F8 desktop mute, F9 TRAX. `IHotkeyRegistrar` seam + `RegistrarOverride`. Test `GlobalHotkeyTests.WmHotkey_StagesScene_And_TogglesMic_And_RevokesOnClose`. Hotkeys validated by creator. -- **ON-AIR sign** (creator ask): new status light + "ON-AIR" right of REC in the top bar (`OnAirBrush`: gray offline / red public / green private); old left-of-REC hardcoded indicator removed. Test `OnAirSignTests.OnAirBrush_Follows_Offline_Public_And_Private`. +- **ON-AIR sign** (creator ask): new status light + "ON-AIR" right of REC in the top bar (`OnAirBrush`: gray offline / red public / green private); old left-of-REC hardcoded indicator removed. Labels share one `StatusSignText` style in Controls.xaml (creator dinged inconsistency when ON-AIR text took the status color — labels are neutral, dots carry state). Test `OnAirSignTests.OnAirBrush_Follows_Offline_Public_And_Private`. - Suite: 227 total, 226 pass — only failure is the known pre-existing `AudioPipelineTests.Mix_HonorsProviderGains_AndGameMute_KillsTheLoopback`. Build 0 warnings. Docs shipped same-commit. - Visual pass on TASK 26/27 validated by creator (2026-08-24). diff --git a/MainWindow.xaml b/MainWindow.xaml index 08d1ee7..1d55e69 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -116,13 +116,11 @@ HorizontalAlignment="Center" VerticalAlignment="Center"> - + - + diff --git a/Themes/Controls.xaml b/Themes/Controls.xaml index 6428832..6fcb7eb 100644 --- a/Themes/Controls.xaml +++ b/Themes/Controls.xaml @@ -562,6 +562,15 @@ + + +