From 80ae193f7a8bd62e89cada1b345fb2051f61fa32 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Fri, 5 Dec 2025 18:36:55 +1000 Subject: [PATCH] Nuget panel progress bar --- .../Features/Nuget/NugetPanel.cs | 24 +++++++++++++++++++ .../Features/Nuget/NugetPanel.tscn | 16 +++++++++++++ 2 files changed, 40 insertions(+) diff --git a/src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs b/src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs index 6d94f2d..dd1e9ca 100644 --- a/src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs +++ b/src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs @@ -1,7 +1,10 @@ +using System.Diagnostics; using Godot; +using SharpIDE.Application; using SharpIDE.Application.Features.Evaluation; using SharpIDE.Application.Features.Nuget; using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence; +using SharpIDE.Godot.Features.ActivityListener; namespace SharpIDE.Godot.Features.Nuget; @@ -17,12 +20,15 @@ public partial class NugetPanel : Control private Label _implicitlyInstalledPackagesSlnOrProjectNameLabel = null!; private Label _implicitlyInstalledPackagesResultCountLabel = null!; + private ProgressBar _installedPackagesProgressBar = null!; + private NugetPackageDetails _nugetPackageDetails = null!; private SharpIdeSolutionModel? _solution; [Inject] private readonly NugetClientService _nugetClientService = null!; [Inject] private readonly SharpIdeSolutionAccessor _sharpIdeSolutionAccessor = null!; + [Inject] private readonly ActivityMonitor _activityMonitor = null!; private readonly PackedScene _packageEntryScene = ResourceLoader.Load("uid://cqc2xlt81ju8s"); private readonly Texture2D _csprojIcon = ResourceLoader.Load("uid://cqt30ma6xgder"); @@ -42,10 +48,13 @@ public partial class NugetPanel : Control _installedPackagesResultCountLabel = GetNode