fix(ui): default-expand diff tree; reliable row-click toggle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-05-19 11:50:36 +02:00
parent 232d7cb647
commit 7e3ae704fe
3 changed files with 8 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ public sealed partial class WorktreeNodeViewModel : ViewModelBase
public bool IsDirectory { get; init; }
public string RelativePath { get; init; } = "";
public ObservableCollection<WorktreeNodeViewModel> Children { get; } = new();
[ObservableProperty] private bool _isExpanded = true;
}
public sealed partial class WorktreeModalViewModel : ViewModelBase