From 3a40e39fc82d404c5d1cd2de29cf137b07c85dec Mon Sep 17 00:00:00 2001 From: mika kuns Date: Thu, 4 Jun 2026 09:25:04 +0200 Subject: [PATCH] refactor(ui): remove unused Sort button from MyDay header It was a no-op placeholder command; removed the button, command, locale keys, and now-unused Icon.Sort geometry. Co-Authored-By: Claude Opus 4.7 --- src/ClaudeDo.Localization/locales/de.json | 1 - src/ClaudeDo.Localization/locales/en.json | 1 - src/ClaudeDo.Ui/Design/IslandStyles.axaml | 3 --- src/ClaudeDo.Ui/ViewModels/Islands/TasksIslandViewModel.cs | 3 --- src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml | 3 --- 5 files changed, 11 deletions(-) diff --git a/src/ClaudeDo.Localization/locales/de.json b/src/ClaudeDo.Localization/locales/de.json index 6167c33..eb13706 100644 --- a/src/ClaudeDo.Localization/locales/de.json +++ b/src/ClaudeDo.Localization/locales/de.json @@ -61,7 +61,6 @@ } }, "tasks": { - "sortTip": "Sortieren", "showCompletedTip": "Abgeschlossene anzeigen", "listSettingsTip": "Listeneinstellungen", "addPlaceholder": "Aufgabe hinzufügen…", diff --git a/src/ClaudeDo.Localization/locales/en.json b/src/ClaudeDo.Localization/locales/en.json index 507dfb1..b4ee915 100644 --- a/src/ClaudeDo.Localization/locales/en.json +++ b/src/ClaudeDo.Localization/locales/en.json @@ -61,7 +61,6 @@ } }, "tasks": { - "sortTip": "Sort", "showCompletedTip": "Show completed", "listSettingsTip": "List settings", "addPlaceholder": "Add a task…", diff --git a/src/ClaudeDo.Ui/Design/IslandStyles.axaml b/src/ClaudeDo.Ui/Design/IslandStyles.axaml index 09abb96..cfd3b62 100644 --- a/src/ClaudeDo.Ui/Design/IslandStyles.axaml +++ b/src/ClaudeDo.Ui/Design/IslandStyles.axaml @@ -70,9 +70,6 @@ M4 7h16M10 11v6M14 11v6M5 7l1 13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1l1-13M9 7V4h6v3 - - M4 6 H20 V8 H4 Z M4 11 H16 V13 H4 Z M4 16 H11 V18 H4 Z - M11 3 H13 V10 H11 Z M8.5 10 H15.5 V12 H8.5 Z M9 12 H15 L17 21 H7 Z diff --git a/src/ClaudeDo.Ui/ViewModels/Islands/TasksIslandViewModel.cs b/src/ClaudeDo.Ui/ViewModels/Islands/TasksIslandViewModel.cs index e45b8b1..31e86da 100644 --- a/src/ClaudeDo.Ui/ViewModels/Islands/TasksIslandViewModel.cs +++ b/src/ClaudeDo.Ui/ViewModels/Islands/TasksIslandViewModel.cs @@ -706,9 +706,6 @@ public sealed partial class TasksIslandViewModel : ViewModelBase [RelayCommand] private void ToggleShowCompleted() => IsShowingCompleted = !IsShowingCompleted; - [RelayCommand] - private void Sort() { /* placeholder — UI-only */ } - public event EventHandler? OpenListSettingsRequested; [RelayCommand] diff --git a/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml b/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml index c65687c..ff48fb8 100644 --- a/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml +++ b/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml @@ -28,9 +28,6 @@ IsVisible="{Binding HasStatusPill}"> -