From 0856ab8a7fe47acd3ab3041f95371776ccae5c67 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 20:59:28 +0000 Subject: [PATCH] fix(archive): an explicit dry run replaces the one still waiting on typing Setting the Move template and asking for its dry run left the typing delay running; when it fired it threw the finished plan away and disabled Apply until a second identical dry run came back. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- src/Titano.App/Archive/ArchiveDialogViewModels.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Titano.App/Archive/ArchiveDialogViewModels.cs b/src/Titano.App/Archive/ArchiveDialogViewModels.cs index 9b938445..446dc2fc 100644 --- a/src/Titano.App/Archive/ArchiveDialogViewModels.cs +++ b/src/Titano.App/Archive/ArchiveDialogViewModels.cs @@ -254,9 +254,13 @@ public sealed class RenameDialogViewModel : ArchiveDialogViewModel base.Dispose(); } - /// The dry run of the current template (the engine's plan; nothing changes on disk); it clears the last failure. + /// + /// The dry run of the current template (the engine's plan; nothing changes on disk); it clears the last failure and + /// stands in for a dry run still waiting on typing, which would otherwise throw this plan away. + /// public Task PlanAsync() { + _delay.Stop(); ClearError(); return DryRunAsync(); }