package search progress bar
This commit is contained in:
@@ -133,6 +133,7 @@ public partial class NugetPanel : Control
|
|||||||
private async Task PopulateSearchResults()
|
private async Task PopulateSearchResults()
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
using var _ = SharpIdeOtel.Source.StartActivity($"{nameof(NugetPanel)}.{nameof(PopulateSearchResults)}");
|
||||||
var result = await _nugetClientService.GetTop100Results(_solution!.DirectoryPath);
|
var result = await _nugetClientService.GetTop100Results(_solution!.DirectoryPath);
|
||||||
var scenes = result.Select(s =>
|
var scenes = result.Select(s =>
|
||||||
{
|
{
|
||||||
@@ -217,5 +218,9 @@ public partial class NugetPanel : Control
|
|||||||
_implicitlyInstalledPackagesProgressBar.Visible = isOccurring;
|
_implicitlyInstalledPackagesProgressBar.Visible = isOccurring;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else if (activity.DisplayName == $"{nameof(NugetPanel)}.{nameof(PopulateSearchResults)}")
|
||||||
|
{
|
||||||
|
await this.InvokeAsync(() => _packageSearchProgressBar.Visible = isOccurring);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user