Repository navigation
feat(macutil): group Install apps by category - #16
Merged
Merged
Conversation
Install groups apps by AppEntry.Category. Search filters rows, then groups. Empty groups are omitted. Empty Install still writes nothing.
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.
Why
Install is a flat list of 26 apps. The catalog already stores Category. Winutil groups by category. MacUtil should too, without a second navigation file.
Scope
AppGroupViewModelis a category name plus theAppRowViewModelrows in that category.MainWindowViewModel.applyFilterfilters rows, then groups byAppEntry.Categoryfromconfig/applications.json. Empty groups are omitted.The Install tab renders an expander per group in the current scroller. A header checkbox selects every row in that group. A search that hits Brave shows Web Browsers only.
Tweaks, Maintenance, Updates, Standard, and Minimal stay. The window stays opaque
#1C1C1E. The name stays MacUtil.Program.fsstays last.Tradeoffs
Expanders start open so the list stays one scroll. Header
AllSelecteddoes not subscribe to later row clicks. A mixed group stays unchecked on the header until the header is used again.Blast Radius
GUI Install tab only. Tweaks, Maintenance, and Updates keep their commands. Empty Install still writes nothing. No sudo. No
/var/log.Verification
dotnet test --filter InstallGroupsByCategorypassed. Brave search shows Web Browsers only.dotnet test MacUtilGUI.Tests --configuration Releasepassed. 30 tests./Users/test/.grok/docs/macutil-plan-media/mac-13-review.png.Do not merge this PR.