From 4bc41c488cc899b508cd5846742f5794ace35f8a Mon Sep 17 00:00:00 2001 From: gramps Date: Thu, 12 Nov 2026 15:44:15 -0800 Subject: [PATCH] feat(topbar): the action follows the armed output; Test is an explicit ask again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unit C (creator ruling 2026-11-12). - Local MP4: one button, "Start Recording". - YouTube: "Private Test Stream" beside "Review & Go Live", the latter with the primary face because it is the default ask. - Running: "End Live Stream" (or "End Test" for a test run, "Stop Recording" for a local one). The behavioural change underneath: SessionStartDecision.For no longer takes `editing`. Since 2026-10-30 EDIT silently chose test-vs-real, which meant the same button did two different things depending on a toggle three inches away. With Test as its own button that inference has no job, so For() now reads only the armed output and ON-AIR always means the real livestream. That supersedes the 2026-10-30 ruling; SessionStartDecisionTests is rewritten to pin the new matrix rather than the old one. A signed-out press still starts the sign-in flow instead of sitting dead (no-dead-ends), unchanged from before — now stated in one place, the two new commands, instead of inside a route table. 680 pass, 0 warnings. Scope justification: Assets/starting-background.jpg is outside this unit — the creator's replacement art, still awaiting their visual check. --- Controls/TopBar.xaml | 18 +++++++++++----- Models/SessionStartDecision.cs | 11 +++++++--- ViewModels/MainViewModel.Streaming.cs | 4 ++-- ViewModels/MainViewModel.TopBar.cs | 24 ++++++++++++++++++++++ docs/ai/ui-surface.md | 9 +++++++- ytLive.Tests/SessionStartDecisionTests.cs | 25 +++++++++-------------- ytLive.Tests/TopBarWorldTests.cs | 12 +++++++++++ ytLive.Tests/UiShellTests.cs | 5 +++++ 8 files changed, 82 insertions(+), 26 deletions(-) diff --git a/Controls/TopBar.xaml b/Controls/TopBar.xaml index 5635797..e4e8cc0 100644 --- a/Controls/TopBar.xaml +++ b/Controls/TopBar.xaml @@ -145,11 +145,19 @@ - -