diff --git a/src/Models/RepositoryUIStates.cs b/src/Models/RepositoryUIStates.cs
index 8657b93b6..6f43719c3 100644
--- a/src/Models/RepositoryUIStates.cs
+++ b/src/Models/RepositoryUIStates.cs
@@ -15,6 +15,12 @@ public HistoryShowFlags HistoryShowFlags
set;
} = HistoryShowFlags.None;
+ public bool IsTreeColumnVisibleInHistory
+ {
+ get;
+ set;
+ } = false;
+
public bool IsAuthorColumnVisibleInHistory
{
get;
diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml
index 1b1f29d8f..e20939fcc 100644
--- a/src/Resources/Locales/en_US.axaml
+++ b/src/Resources/Locales/en_US.axaml
@@ -526,6 +526,8 @@
AUTHOR TIME
COMMIT TIME
GRAPH & SUBJECT
+ SUBJECT
+ TREE
SHA
HIGHLIGHTS IN GRAPH
All
diff --git a/src/ViewModels/Histories.cs b/src/ViewModels/Histories.cs
index 128b53ff9..d44e2ff5a 100644
--- a/src/ViewModels/Histories.cs
+++ b/src/ViewModels/Histories.cs
@@ -50,6 +50,19 @@ public bool EnableTopoOrder
}
}
+ public bool IsTreeColumnVisible
+ {
+ get => _repo.UIStates.IsTreeColumnVisibleInHistory;
+ set
+ {
+ if (_repo.UIStates.IsTreeColumnVisibleInHistory != value)
+ {
+ _repo.UIStates.IsTreeColumnVisibleInHistory = value;
+ OnPropertyChanged();
+ }
+ }
+ }
+
public bool IsAuthorColumnVisible
{
get => _repo.UIStates.IsAuthorColumnVisibleInHistory;
@@ -575,6 +588,7 @@ private void GenerateGraph(List commits)
}
Graph = Models.CommitGraph.Generate(commits, firstParentOnly, highlighting, extraHeads);
+
}
private Repository _repo = null;
diff --git a/src/Views/Histories.axaml b/src/Views/Histories.axaml
index a3d24529f..d2ad0d38d 100644
--- a/src/Views/Histories.axaml
+++ b/src/Views/Histories.axaml
@@ -86,6 +86,13 @@
+
+
+