Skip to content

feat(macutil): group Tweaks by category - #17

Merged
Cryptokid92 merged 5 commits into
mainfrom
mac-14-tweak-groups
Aug 29, 2026
Merged

Cryptokid92 merged 5 commits into
mainfrom
mac-14-tweak-groups

Conversation

@Cryptokid92

Copy link
Copy Markdown
Owner

Why

Tweaks is two flat lists. Each tweak already has Category. Install already groups by category with expanders. Tweaks should reuse that shape inside Safe and Caution.

Scope

TweakGroupViewModel is a category name plus the TweakRowViewModel rows in that category. MainWindowViewModel fills SafeTweakGroups and CautionTweakGroups from Tweak.Category. Empty groups are omitted.

The Tweaks tab renders an expander per group in the current scroller. A header checkbox selects every row in that group. Caution stays a separate group of groups.

Standard still selects only Safe Finder and Dock ids. Install groups, Maintenance, and Updates stay. The window stays opaque #1C1C1E. The name stays MacUtil. Program.fs stays last.

Tradeoffs

Expanders start open so the list stays one scroll. Header AllSelected does not subscribe to later row clicks. A mixed group stays unchecked on the header until the header is used again.

Search is absent on Tweaks. The catalog is 34 rows. Filter later if the list grows.

Blast Radius

GUI Tweaks tab only. Apply, Undo, Standard, and Minimal still walk SafeTweaks and CautionTweaks. Empty Apply still writes nothing. Caution ids stay out of Standard. No sudo. No /var/log.

Verification

  • dotnet test --filter TweakGroupsByCategory passed. Safe groups are Finder, Dock, Keyboard, Screenshots, Privacy. Caution groups are Keyboard, Screenshots, Privacy.
  • dotnet test MacUtilGUI.Tests --configuration Release passed. 31 tests, including StandardSafeOnly.
  • Live screenshot of the Tweaks tab. Finder and Dock headers are visible. Path /Users/test/.grok/docs/macutil-plan-media/mac-14-review.png.

Do not merge this PR.

@Cryptokid92
Cryptokid92 merged commit 3682e40 into main Aug 29, 2026
3 of 4 checks passed
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