Skip to content

feat(library): add bulk-select and bulk-uninstall for mods#128

Open
taha-anas wants to merge 3 commits into
LeagueToolkit:mainfrom
taha-anas:bulk-mod-selection
Open

feat(library): add bulk-select and bulk-uninstall for mods#128
taha-anas wants to merge 3 commits into
LeagueToolkit:mainfrom
taha-anas:bulk-mod-selection

Conversation

@taha-anas
Copy link
Copy Markdown

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!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this in the PR ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this in the PR ?

Comment thread src/modules/library/components/ModCard.tsx Outdated
@Crauzer Crauzer added area: frontend React/TypeScript UI type: ux User experience improvements labels Apr 24, 2026
@Crauzer Crauzer moved this from Todo to In Progress in LTK Manager Apr 24, 2026
@Crauzer Crauzer changed the title feat(workshop): add bulk-select and bulk-uninstall for mods feat(library): add bulk-select and bulk-uninstall for mods Apr 24, 2026
@Crauzer
Copy link
Copy Markdown
Member

Crauzer commented Apr 24, 2026

Since this PR is for the library, you should rename the commit scope to feat(library)

@taha-anas taha-anas force-pushed the bulk-mod-selection branch 2 times, most recently from 03d3054 to dbf2f84 Compare April 24, 2026 16:23
@taha-anas taha-anas force-pushed the bulk-mod-selection branch from dbf2f84 to 09d431b Compare April 24, 2026 17:29
Comment thread .gitignore Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: frontend React/TypeScript UI type: ux User experience improvements

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants