From a444033aa97b73d62e89d98816a478653263edc9 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Sat, 30 May 2026 16:47:32 +0200 Subject: [PATCH] refactor(ui): migrate WorktreesOverviewModal to ModalShell Co-Authored-By: Claude Sonnet 4.6 --- .../Modals/WorktreesOverviewModalView.axaml | 78 +++++++------------ .../WorktreesOverviewModalView.axaml.cs | 6 +- 2 files changed, 27 insertions(+), 57 deletions(-) diff --git a/src/ClaudeDo.Ui/Views/Modals/WorktreesOverviewModalView.axaml b/src/ClaudeDo.Ui/Views/Modals/WorktreesOverviewModalView.axaml index f045ab1..5d90bb2 100644 --- a/src/ClaudeDo.Ui/Views/Modals/WorktreesOverviewModalView.axaml +++ b/src/ClaudeDo.Ui/Views/Modals/WorktreesOverviewModalView.axaml @@ -2,6 +2,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vm="using:ClaudeDo.Ui.ViewModels.Modals" xmlns:converters="using:ClaudeDo.Ui.Converters" + xmlns:ctl="using:ClaudeDo.Ui.Views.Controls" x:Class="ClaudeDo.Ui.Views.Modals.WorktreesOverviewModalView" x:DataType="vm:WorktreesOverviewModalViewModel" Title="{Binding Title}" @@ -9,9 +10,8 @@ CanResize="True" WindowStartupLocation="CenterOwner" Background="{DynamicResource SurfaceBrush}" - WindowDecorations="BorderOnly" - ExtendClientAreaToDecorationsHint="True" - ExtendClientAreaTitleBarHeightHint="-1"> + WindowDecorations="None" + ExtendClientAreaToDecorationsHint="True"> @@ -53,7 +53,7 @@ CommandParameter="{Binding}"/> @@ -62,25 +62,25 @@ - - - - + FontSize="{StaticResource FontSizeMono}" Foreground="{DynamicResource TextDimBrush}"/> @@ -109,35 +109,18 @@ - + + + +