From 1246bf7b88428ecd5325df15b1548d58f3bbf52c Mon Sep 17 00:00:00 2001 From: mika kuns Date: Mon, 1 Jun 2026 12:18:28 +0200 Subject: [PATCH] feat(ui): wire worker connection modal and make status pill clickable --- src/ClaudeDo.Ui/Views/MainWindow.axaml | 32 +++++++++++++---------- src/ClaudeDo.Ui/Views/MainWindow.axaml.cs | 6 +++++ 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/ClaudeDo.Ui/Views/MainWindow.axaml b/src/ClaudeDo.Ui/Views/MainWindow.axaml index fdf7058..1c922e8 100644 --- a/src/ClaudeDo.Ui/Views/MainWindow.axaml +++ b/src/ClaudeDo.Ui/Views/MainWindow.axaml @@ -186,20 +186,24 @@ BorderBrush="{DynamicResource LineBrush}" BorderThickness="0,1,0,0"> - - - - - - - + + dlg.Close(); await dlg.ShowDialog(this); }; + vm.ShowWorkerConnectionModal = async (connVm) => + { + var dlg = new WorkerConnectionModalView { DataContext = connVm }; + connVm.CloseAction = () => dlg.Close(); + await dlg.ShowDialog(this); + }; } }