feat(menubar): 拆分紧凑双页面板并按页采样
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ CORE = sorted(str(p.relative_to(ROOT)) for folder in ("Models", "Monitors", "Ser
|
||||
for p in (ROOT / "kymo/Core" / folder).glob("*.swift"))
|
||||
CHECKS = {name: list(CORE) for name in (
|
||||
"SamplingChecks", "SamplingIntervalChecks", "UnifiedPanelChecks", "MemoryChecks",
|
||||
"GPUStatisticsChecks", "StageCChecks", "MachPortChecks", "ReleaseServiceChecks")}
|
||||
"GPUStatisticsChecks", "StageCChecks", "MachPortChecks", "ReleaseServiceChecks", "DetailDemandChecks")}
|
||||
CHECKS.update({
|
||||
"BackgroundTrendChecks": CORE + ["kymo/UI/Charts/PanelCurveGeometry.swift"],
|
||||
"ProcessEnergyChecks": ["kymo/Core/Models/ProcessMetrics.swift", "kymo/Core/Models/ProcessEnergy.swift", "kymo/Core/Monitors/ProcessEnergyMonitor.swift"],
|
||||
@@ -56,7 +56,7 @@ CHECKS.update({
|
||||
"LanguageScopeChecks": ["kymo/Core/Services/LanguagePreferences.swift", "kymo/UI/Components/AppLanguageScope.swift"],
|
||||
"SettingsWindowChecks": ["kymo/Core/Services/SettingsPresentation.swift", "kymo/Features/Settings/SettingsWindowLifecycle.swift"],
|
||||
"PanelWindowChecks": ["kymo/Features/MenuBar/MenuPanelController.swift", "kymo/Features/MenuBar/PanelLayout.swift",
|
||||
"kymo/UI/Components/IntervalControl.swift"],
|
||||
"kymo/Features/MenuBar/PanelWindowObserver.swift", "kymo/UI/Components/IntervalControl.swift"],
|
||||
"SandboxNetworkChecks": ["kymo/Core/Services/PublicIPAddressService.swift"],
|
||||
})
|
||||
GUI = {"NativeMetricDrawingChecks", "NativeContentHostChecks", "NativeProcessTableChecks", "LanguageScopeChecks", "SettingsWindowChecks", "PanelWindowChecks"}
|
||||
|
||||
Reference in New Issue
Block a user