Skip to content

feat(ui): show Recommended value next to Current/Default on every setting - #45

Merged
carterscode merged 1 commit into
mainfrom
feat/recommended-status-labels
Jun 19, 2026
Merged

feat(ui): show Recommended value next to Current/Default on every setting#45
carterscode merged 1 commit into
mainfrom
feat/recommended-status-labels

Conversation

@carterscode

Copy link
Copy Markdown
Owner

What

Surfaces GamerGuardian's per-setting recommendation inline next to the existing Current / Default labels in the Settings window, so users see the suggested gaming-optimized target at a glance without opening Learn more.

The recommendation values already existed in SettingDocsCatalog (they powered the Learn more expander) — this change pulls them onto the row itself.

Where it appears

Location Backing property
Global gaming, Privacy, Network, Debloat, Windows AI, CPU/Power toggles GlobalToggleRow.RecommendedText
Windows services ServiceRow.RecommendedText
Power plan (static section) code-behind from SettingDocsCatalog.Get("powerplan")

RecommendedText resolves from SettingDocsCatalog.Get(SettingId).Recommended. Rendered green + SemiBold (matching the existing "recommended" badge), and auto-hidden for any setting lacking a documented recommendation.

Scope

  • Windows AI apps and Display rows are untouched — they don't show a Current/Default pair, so they fall outside "everything with Current and Default."

Tests

  • dotnet build — clean, 0 warnings (warnings = errors).
  • dotnet test443 passed (added 2: every catalog entry has a non-empty recommendation; toggle/service id shapes resolve).

🤖 Generated with Claude Code

…ting

Surface GamerGuardian's per-setting recommendation (from SettingDocsCatalog)
in the Settings window alongside the existing Current/Default labels, so users
can see the suggested gaming-optimized target at a glance without opening
Learn more.

- GlobalToggleRow / ServiceRow: add computed RecommendedText +
  RecommendedTextVisibility, resolved from SettingDocsCatalog.Get(SettingId).
- Add a green SemiBold Recommended line to every toggle/service row template
  (Global gaming, Privacy, Network, Debloat, Windows AI, CPU/Power, Services)
  and to the static Power plan section.
- Hidden automatically for any setting lacking a documented recommendation.
- Tests: assert every catalog entry ships a non-empty Recommended.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@carterscode
carterscode merged commit 31ec413 into main Jun 19, 2026
5 checks passed
@carterscode
carterscode deleted the feat/recommended-status-labels branch June 19, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant