Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.17.3] - 2026-05-29

### Fixed
- **Performance** — NetworkSharedState TracerouteHops converted to BulkObservableCollection with ReplaceWith() (eliminates per-hop UI notifications during route updates).
- **Performance** — ServicesViewModel safety level counts now computed in a single pass instead of 3 separate LINQ queries.
- **Consistency** — DnsHostsView removed stale `HorizontalGridLinesBrush` property (no visual impact, code cleanliness).
- **Consistency** — AppBlockerView DataGrid BorderThickness set to 0 matching all other views.

## [1.17.2] - 2026-05-29

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions SysManager/SysManager/SysManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<RootNamespace>SysManager</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>NU1603;NU1701</NoWarn>
<Version>1.17.2</Version>
<FileVersion>1.17.2.0</FileVersion>
<AssemblyVersion>1.17.2.0</AssemblyVersion>
<Version>1.17.3</Version>
<FileVersion>1.17.3.0</FileVersion>
<AssemblyVersion>1.17.3.0</AssemblyVersion>
<Product>SysManager</Product>
<Description>SysManager — Windows system monitoring toolkit by laurentiu021. Network, updates, health, logs, safe deep cleanup.</Description>
<PackageProjectUrl>https://github.com/laurentiu021/SystemManager</PackageProjectUrl>
Expand Down
10 changes: 5 additions & 5 deletions SysManager/SysManager/ViewModels/NetworkSharedState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public sealed partial class NetworkSharedState : ObservableObject, IDisposable
private readonly Dictionary<string, PropertyChangedEventHandler> _targetHandlers = new();

public ObservableCollection<PingTarget> Targets { get; } = new();
public ObservableCollection<TracerouteHop> TracerouteHops { get; } = new();
public BulkObservableCollection<TracerouteHop> TracerouteHops { get; } = new();

// ── Chart infrastructure ──
public ObservableCollection<ISeries> LatencySeries { get; } = new();
Expand Down Expand Up @@ -470,10 +470,10 @@ internal void ApplyRoute(string host, IReadOnlyList<TracerouteHop> hops)

internal void RefreshHopTable()
{
TracerouteHops.Clear();
foreach (var target in Targets.Where(t => LatestRoutes.ContainsKey(t.Host)))
foreach (var h in LatestRoutes[target.Host])
TracerouteHops.Add(h);
var hops = Targets
.Where(t => LatestRoutes.ContainsKey(t.Host))
.SelectMany(t => LatestRoutes[t.Host]);
TracerouteHops.ReplaceWith(hops);
}

internal void TrimBuffer(BulkObservableCollection<DateTimePoint> buffer)
Expand Down
16 changes: 13 additions & 3 deletions SysManager/SysManager/ViewModels/ServicesViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,19 @@ private void ApplyFilter()

Services.ReplaceWith(filtered.OrderBy(s => s.DisplayName, StringComparer.OrdinalIgnoreCase));

SafeCount = _allServices.Count(s => s.SafetyLevel == SafetyLevel.Safe);
CautionCount = _allServices.Count(s => s.SafetyLevel == SafetyLevel.Caution);
CriticalCount = _allServices.Count(s => s.SafetyLevel == SafetyLevel.Critical);
int safe = 0, caution = 0, critical = 0;
foreach (var s in _allServices)
{
switch (s.SafetyLevel)
{
case SafetyLevel.Safe: safe++; break;
case SafetyLevel.Caution: caution++; break;
case SafetyLevel.Critical: critical++; break;
}
}
SafeCount = safe;
CautionCount = caution;
CriticalCount = critical;
}

[RelayCommand]
Expand Down
2 changes: 1 addition & 1 deletion SysManager/SysManager/Views/AppBlockerView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
CanUserAddRows="False" CanUserDeleteRows="False"
CanUserResizeColumns="True"
HeadersVisibility="Column" GridLinesVisibility="None"
BorderThickness="1" BorderBrush="{DynamicResource Border1}"
BorderThickness="0"
Background="Transparent"
AutomationProperties.Name="Data table"
VirtualizingPanel.IsVirtualizing="True"
Expand Down
1 change: 0 additions & 1 deletion SysManager/SysManager/Views/DnsHostsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
Background="Transparent"
AutomationProperties.Name="Data table"
Foreground="{DynamicResource TextPrimary}" FontSize="12"
HorizontalGridLinesBrush="#1E293B"
SelectionMode="Single" IsReadOnly="False"
VirtualizingPanel.IsVirtualizing="True"
VirtualizingPanel.VirtualizationMode="Recycling">
Expand Down
Loading