From 949911f6c86241d4b6b2e25693e492ee23cba43c Mon Sep 17 00:00:00 2001 From: Mika Kuns Date: Wed, 22 Apr 2026 09:53:03 +0200 Subject: [PATCH] feat(ui): attach MergeModal to DetailsIsland --- src/ClaudeDo.Ui/Views/Islands/DetailsIslandView.axaml.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ClaudeDo.Ui/Views/Islands/DetailsIslandView.axaml.cs b/src/ClaudeDo.Ui/Views/Islands/DetailsIslandView.axaml.cs index d359015..9d345a8 100644 --- a/src/ClaudeDo.Ui/Views/Islands/DetailsIslandView.axaml.cs +++ b/src/ClaudeDo.Ui/Views/Islands/DetailsIslandView.axaml.cs @@ -36,6 +36,14 @@ public partial class DetailsIslandView : UserControl await modal.ShowDialog(owner); }; + vm.ShowMergeModal = async (mergeVm) => + { + var owner = TopLevel.GetTopLevel(this) as Window; + if (owner == null) return; + var modal = new MergeModalView { DataContext = mergeVm }; + await modal.ShowDialog(owner); + }; + vm.ConfirmAsync = ShowConfirmAsync; } }