feat(ui): add IsGitTab flag to work console view model

This commit is contained in:
mika kuns
2026-06-05 08:28:12 +02:00
parent 096519b978
commit 6c65158be8
2 changed files with 85 additions and 0 deletions

View File

@@ -137,10 +137,12 @@ public sealed partial class DetailsIslandViewModel : ViewModelBase
// outcomes, each section gated on the relevant state).
[ObservableProperty]
[NotifyPropertyChangedFor(nameof(IsOutputTab))]
[NotifyPropertyChangedFor(nameof(IsGitTab))]
[NotifyPropertyChangedFor(nameof(IsSessionTab))]
private string _selectedTab = "output";
public bool IsOutputTab => SelectedTab == "output";
public bool IsGitTab => SelectedTab == "git";
public bool IsSessionTab => SelectedTab == "session";
[RelayCommand]