Perf/professional hardening (#4)

* Improve background refresh and process detection

* Harden affinity and power plan automation

* Fix passive process refresh failures

* Improve UX terminology and process layout

* Polish UX layout and empty states

* Expand core service test coverage
This commit is contained in:
Prime Build
2026-05-09 23:15:49 +02:00
committed by GitHub
parent 2382c47789
commit 4fceda163d
40 changed files with 3254 additions and 801 deletions
+17
View File
@@ -20,6 +20,17 @@ namespace ThreadPilot.Models
using System.Diagnostics;
using CommunityToolkit.Mvvm.ComponentModel;
public enum ProcessClassification
{
ForegroundApp,
VisibleWindowApp,
BackgroundUser,
System,
ProtectedOrAccessDenied,
Terminated,
Unknown,
}
public partial class ProcessModel : ObservableObject
{
[ObservableProperty]
@@ -52,6 +63,12 @@ namespace ThreadPilot.Models
[ObservableProperty]
private bool hasVisibleWindow;
[ObservableProperty]
private bool isForeground;
[ObservableProperty]
private ProcessClassification classification = ProcessClassification.Unknown;
[ObservableProperty]
private bool isIdleServerDisabled;