feat(library): add bulk-select and bulk-uninstall for mods#128
Open
taha-anas wants to merge 3 commits into
Open
feat(library): add bulk-select and bulk-uninstall for mods#128taha-anas wants to merge 3 commits into
taha-anas wants to merge 3 commits into
Conversation
Crauzer
requested changes
Apr 24, 2026
Crauzer
requested changes
Apr 24, 2026
Member
|
Since this PR is for the library, you should rename the commit scope to |
03d3054 to
dbf2f84
Compare
dbf2f84 to
09d431b
Compare
Crauzer
requested changes
May 5, 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.
Adds a bulk-select mode to the Library, allowing users to check multiple mods at once and uninstall them together instead of going through each card’s menu individually. It works alongside existing search and filters, for example, you can search for an author, enable Select mode, choose “Select all visible,” then uninstall all of that author’s mods in just a few clicks.
A new Select button in the toolbar toggles this mode. When active, each mod card displays a checkbox and an accent ring when selected. A bottom action bar shows the number of selected items, along with options for Select all visible, Clear, and Uninstall. The uninstall action opens a confirmation dialog with a preview of the mods to be removed. Bulk uninstall runs the existing uninstall command for each mod in parallel and reports both success and failure counts.
Drag-and-drop is disabled while Select mode is active, and entering Select mode is blocked while the patcher is running. Selection state is stored in memory only and does not persist across reloads.
This is a first contribution, so I’m happy to adjust scope, naming, or styling to match the project’s conventions. Thanks for taking a look!