Show the window before slow location probes and wrap git.exe for commit, diff, and merge.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -53,6 +53,24 @@ public sealed class NavigationTreeViewModel
|
||||
|
||||
public bool IsRevealing { get; private set; }
|
||||
|
||||
public void PreparePlaceholder()
|
||||
{
|
||||
if (Roots.Count > 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Roots.Add(new NavNodeViewModel
|
||||
{
|
||||
Label = LocationRoots.ThisPc,
|
||||
Path = LocationRoots.ThisPc,
|
||||
Glyph = "\uE977",
|
||||
IsExpanded = true,
|
||||
ChildrenLoaded = true,
|
||||
IsGroup = true
|
||||
});
|
||||
}
|
||||
|
||||
public async Task ReloadAsync(string? revealPath = null, CancellationToken cancellationToken = default)
|
||||
{
|
||||
var expanded = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user