From 47e8e1ff946c949fa18ffb4287e03ae70e663bfa Mon Sep 17 00:00:00 2001 From: mika kuns Date: Mon, 20 Apr 2026 10:33:39 +0200 Subject: [PATCH] feat(ui): pulse, hover, modal, and row-add animations Co-Authored-By: Claude Sonnet 4.6 --- src/ClaudeDo.Ui/Design/IslandStyles.axaml | 16 ++++++++++++ .../Islands/DetailsIslandViewModel.cs | 3 +++ .../Views/Islands/AgentStripView.axaml | 3 ++- .../Views/Islands/TaskRowView.axaml.cs | 25 ++++++++++++++++++ .../Views/Modals/DiffModalView.axaml.cs | 26 +++++++++++++++++++ .../Views/Modals/WorktreeModalView.axaml.cs | 26 +++++++++++++++++++ 6 files changed, 98 insertions(+), 1 deletion(-) diff --git a/src/ClaudeDo.Ui/Design/IslandStyles.axaml b/src/ClaudeDo.Ui/Design/IslandStyles.axaml index 46a9be2..23090ea 100644 --- a/src/ClaudeDo.Ui/Design/IslandStyles.axaml +++ b/src/ClaudeDo.Ui/Design/IslandStyles.axaml @@ -162,6 +162,11 @@ + + + + + + + + diff --git a/src/ClaudeDo.Ui/ViewModels/Islands/DetailsIslandViewModel.cs b/src/ClaudeDo.Ui/ViewModels/Islands/DetailsIslandViewModel.cs index 646db50..87293a8 100644 --- a/src/ClaudeDo.Ui/ViewModels/Islands/DetailsIslandViewModel.cs +++ b/src/ClaudeDo.Ui/ViewModels/Islands/DetailsIslandViewModel.cs @@ -26,6 +26,9 @@ public sealed partial class DetailsIslandViewModel : ViewModelBase // Agent strip fields [ObservableProperty] private string _agentStatusLabel = "Idle"; + public bool IsRunning => AgentStatusLabel == "Running"; + + partial void OnAgentStatusLabelChanged(string value) => OnPropertyChanged(nameof(IsRunning)); [ObservableProperty] private string? _model; [ObservableProperty] private string? _worktreePath; [ObservableProperty] private string? _branchLine; diff --git a/src/ClaudeDo.Ui/Views/Islands/AgentStripView.axaml b/src/ClaudeDo.Ui/Views/Islands/AgentStripView.axaml index 91c03e6..8b85149 100644 --- a/src/ClaudeDo.Ui/Views/Islands/AgentStripView.axaml +++ b/src/ClaudeDo.Ui/Views/Islands/AgentStripView.axaml @@ -7,7 +7,8 @@ - +