From 6626a411ceae90c58ab84541db45435024a71f12 Mon Sep 17 00:00:00 2001 From: Filipe Moreira Date: Sun, 1 Nov 2026 14:22:09 -0300 Subject: [PATCH 1/3] feat: picking a launcher on Home no longer starts it A click or A on a launcher tile now only picks it; Play now starts the session. With a controller or the keyboard the focus moves down to Play now after the pick, so a second A plays. The + tile still adds an app. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.en-US.md | 2 ++ CHANGELOG.md | 2 ++ .../ViewModels/MainViewModel.LaunchTiles.cs | 8 +++++--- src/ConsoleMode/Views/ConsoleHomeView.xaml | 5 +++-- src/ConsoleMode/Views/ConsoleHomeView.xaml.cs | 10 ++++++++++ 5 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 18450bc0..cfd073e6 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -3,6 +3,8 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Before publishing a version, add a `## [VERSION]` section to **both** files: the workflow publishes the section matching the tag from each one and fails if either is missing. ## [Unreleased] +### Changes +- Home: clicking a launcher (or pressing A on it) only picks what will open; **Play now** is what starts. Before, the click went straight into console mode, so picking looked like opening. With a controller or the keyboard, the focus moves down to **Play now** after the pick, so a second A plays. (#193) ## [1.7.0-beta.2] ### Fixes diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a865982..7d22ea68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CHANGELOG.en-US.md`. Antes de publicar uma versão, adicione uma seção `## [VERSÃO]` com o changelog daquela versão **nos dois arquivos**. O workflow publica as duas seções correspondentes à tag na mesma release e falha se faltar alguma. ## [Unreleased] +### Mudanças +- Início: clicar num iniciador (ou apertar A nele) só escolhe o que vai abrir; quem começa é **Jogar agora**. Antes o clique já entrava no modo console, e escolher parecia abrir sozinho. No controle e no teclado, o foco desce para **Jogar agora** depois da escolha, então um segundo A joga. (#193) ## [1.7.0-beta.2] ### Correções diff --git a/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs b/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs index b1970119..4f061bc9 100644 --- a/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs +++ b/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs @@ -174,13 +174,15 @@ private void SelectLaunchTile(LaunchTile? tile) if (tile is not null && !tile.IsAdd && !ReferenceEquals(SelectedLaunch, tile.Option)) SelectedLaunch = tile.Option; } - /// A (or a click) on a tile: that launcher, and play it if the setup allows; on "+", add a custom app. + /// + /// A (or a click) on a tile picks that launcher and nothing opens yet: Play now does that, so picking one never + /// looks like it starts on its own. On "+", add a custom app. + /// [RelayCommand] - private async Task PlayLaunchTile(LaunchTile? tile) + private async Task ChooseLaunchTile(LaunchTile? tile) { if (tile?.IsAdd == true) { await AddCustomAppAsync(); return; } SelectLaunchTile(tile); - if (CanStart) await StartAsync(); } private void UpdateHomeMeta() diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml b/src/ConsoleMode/Views/ConsoleHomeView.xaml index bc09546b..1979bf22 100644 --- a/src/ConsoleMode/Views/ConsoleHomeView.xaml +++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml @@ -256,11 +256,12 @@ - +