From 5ced1b97a621f046095d0250d3cf21a3394bc682 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Thu, 23 Apr 2026 13:08:09 +0200 Subject: [PATCH] refactor(ui): redesign list settings and merge modals with custom chrome Both modals now use SystemDecorations=None with a draggable title bar, sectioned layout matching the rest of the island shell, Escape-to-cancel, and themed brushes instead of hard-coded colours. ListSettings adds a Browse... button that reads agent frontmatter from arbitrary .md files. --- .../Views/Modals/ListSettingsModalView.axaml | 202 +++++++++++++----- .../Modals/ListSettingsModalView.axaml.cs | 59 +++++ .../Views/Modals/MergeModalView.axaml | 186 ++++++++++------ .../Views/Modals/MergeModalView.axaml.cs | 7 + 4 files changed, 339 insertions(+), 115 deletions(-) diff --git a/src/ClaudeDo.Ui/Views/Modals/ListSettingsModalView.axaml b/src/ClaudeDo.Ui/Views/Modals/ListSettingsModalView.axaml index b6f28f0..7267e1f 100644 --- a/src/ClaudeDo.Ui/Views/Modals/ListSettingsModalView.axaml +++ b/src/ClaudeDo.Ui/Views/Modals/ListSettingsModalView.axaml @@ -4,77 +4,177 @@ x:Class="ClaudeDo.Ui.Views.Modals.ListSettingsModalView" x:DataType="vm:ListSettingsModalViewModel" Title="List settings" - Width="520" Height="600" + Width="520" Height="720" + CanResize="True" + MinWidth="460" MinHeight="520" + SystemDecorations="None" + ExtendClientAreaToDecorationsHint="True" WindowStartupLocation="CenterOwner" - CanResize="False"> - - -