From 6c09bdecb654ad0aa834ba502d649ae2aaa57621 Mon Sep 17 00:00:00 2001 From: Jaap-Jan de Wit | DodoTech Date: Fri, 2 Oct 2026 13:45:40 +0200 Subject: [PATCH] Desktop: give the host-key, delete and sign-out questions the keyboard on their harmless answer, and let Escape say no --- .../Views/ConfirmDeleteCard.axaml | 2 +- .../Views/ConfirmDeleteCard.axaml.cs | 8 +- .../Views/HostKeyCard.axaml | 10 +- .../Views/HostKeyCard.axaml.cs | 10 + .../Views/MainWindow.axaml.cs | 154 ++++++++++++--- .../Views/SafeAnswerFocus.cs | 81 ++++++++ .../Views/SignOutCard.axaml | 2 +- .../Views/SignOutCard.axaml.cs | 8 +- .../ClosedVaultFocusTests.cs | 71 +------ .../ConfirmationKeyboardTests.cs | 175 ++++++++++++++++++ .../WholeWindow.cs | 69 +++++++ 11 files changed, 498 insertions(+), 92 deletions(-) create mode 100644 src/DodoSSH.Client.App/Views/SafeAnswerFocus.cs create mode 100644 tests/DodoSSH.Client.App.Layout.Tests/ConfirmationKeyboardTests.cs create mode 100644 tests/DodoSSH.Client.App.Layout.Tests/WholeWindow.cs diff --git a/src/DodoSSH.Client.App/Views/ConfirmDeleteCard.axaml b/src/DodoSSH.Client.App/Views/ConfirmDeleteCard.axaml index 93b1e01..751141d 100644 --- a/src/DodoSSH.Client.App/Views/ConfirmDeleteCard.axaml +++ b/src/DodoSSH.Client.App/Views/ConfirmDeleteCard.axaml @@ -59,7 +59,7 @@