feat(cpuplan): side-by-side Windows vs GamerGuardian settings chart - #67
Merged
Conversation
…chart The "What this plan changes" section listed the overrides as bullets, which told you what GamerGuardian sets but not what Windows had before — so you couldn't see exactly what's different. It now renders a three-column chart: each processor setting the tune touches, its value under the stock Windows base plan, and its value under GamerGuardian, with the values GamerGuardian actually changes shown in bold. The Windows column is read live from the installed base scheme (never a hardcoded guess — same reason the app resolves the Balanced GUID at runtime), formatted with friendly names and units (percentages, boost-mode names). Values that can't be read fall back to "Windows default" and aren't flagged as differences. CpuPlanDetails.Comparison is pure and unit-tested via an injected value reader (the UI passes a Powrprof reader; tests pass a stub). 4 new tests; suite green (625), build clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| if (readBaseAcValue is not null) | ||
| { | ||
| try { baseVal = readBaseAcValue(o.Subgroup, o.Setting); } | ||
| catch { baseVal = null; } |
This was referenced Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Request
In the CPU / Power tab's "What this plan changes" section, show a side-by-side chart of Windows Balanced vs GamerGuardian Balanced so the user sees exactly what's different.
What changed
The section listed the overrides as bullets — telling you what GamerGuardian sets, but not what Windows had before. It now renders a three-column chart: each processor setting the tune touches, its value under the stock Windows base plan, and its value under GamerGuardian.
CpuPlanDetails.Comparisonis pure and unit-tested via an injected value reader (the UI passes a Powrprof reader; tests pass a stub).Tests
4 new
CpuPlanDetailstests. Full suite green (625), build clean (warnings-as-errors).🤖 Generated with Claude Code