From 4841c275142c1967f77eee500d3bead6a1a6fc9f Mon Sep 17 00:00:00 2001 From: gramps Date: Fri, 30 Oct 2026 10:27:11 -0700 Subject: [PATCH] feat(ui): the creator's six corrections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Stream Info + YPP rails are YouTube surfaces → new `youtube` token #ff0000. It is documented as brand-only: live state stays `primary`, so the two reds never mean the same thing. 2. EDIT toggle: the checked trigger set the SAME colour as the resting face, so clicking it changed nothing visible. Resting is now the neutral surface with muted text; armed is blue with dark text, and the label follows the fill. 3. Active scene outline is orange again (`attention`) — it marks the scene you work on, not a selection; blue made it read as "selected". Live stays red. 4. Scene names wear the same pill as the hotkey chips (black, 10px radius, 8×2 padding), so both labels stay readable over any thumbnail. 5. REC / ON-AIR pills and the running stop button read red while armed/live — including test mode, where the top bar is gold. New `RecordPillToggle` style (its own template, because SegmentToggle hard-codes a transparent face); the stop button's grey `#333` literal is gone. 6. The properties list had `MaxHeight="420"` inside an Auto row, so it scrolled while the window had space left. The row is `*` now and the cap is gone. Guard: UiShellTests pins all six to the markup and names the one that regresses. --- Controls/LeftPanel.xaml | 4 +- Controls/PreviewPane.xaml | 4 +- Controls/SceneThumbnailStrip.xaml | 20 ++++++---- Controls/TopBar.xaml | 24 ++++++++---- DESIGN.md | 1 + Themes/Controls.xaml | 25 ++++++++++++ Themes/Tokens.xaml | 1 + ytLive.Tests/UiShellTests.cs | 63 +++++++++++++++++++++++++++++++ 8 files changed, 122 insertions(+), 20 deletions(-) create mode 100644 ytLive.Tests/UiShellTests.cs diff --git a/Controls/LeftPanel.xaml b/Controls/LeftPanel.xaml index 5eef7da..6276f79 100644 --- a/Controls/LeftPanel.xaml +++ b/Controls/LeftPanel.xaml @@ -49,7 +49,7 @@ - + @@ -300,7 +300,7 @@ - diff --git a/Controls/PreviewPane.xaml b/Controls/PreviewPane.xaml index 17a4d08..c16bde8 100644 --- a/Controls/PreviewPane.xaml +++ b/Controls/PreviewPane.xaml @@ -878,7 +878,7 @@ - @@ -899,7 +899,7 @@ - diff --git a/Controls/SceneThumbnailStrip.xaml b/Controls/SceneThumbnailStrip.xaml index 7b16a35..3de45b0 100644 --- a/Controls/SceneThumbnailStrip.xaml +++ b/Controls/SceneThumbnailStrip.xaml @@ -18,8 +18,12 @@ + + +