mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5413] [Feature]: Add a "Select all entries within folder" button for Lorebook Batch Editing / Selecting #3002
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3002
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ylli-selmani on GitHub (Aug 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5413
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Currently, while selecting entries in the Lorebook Editor, you can either select all entries at once, or select a single entry. However, what you cannot do, is select all entries inside a single folder, which seems like a missing, but useful feature. e.g you have a giant lorebook with multiple large subcategories, all in their own folder.
Proposed solution
Add a single button to folders, the same style as the button for selecting single entries, hook it up to the select all logic, but only scope to the direct entries underneath. No subfolders are affected.
Would require only edits and additions in 'LorebookEditor.ts', 'LorebookFolderRow.tsx', and en.json for two keys for something like 'Select All Entries inside the folder' and 'Deselect all entries inside the folder'.
Alternatives considered
Mockup:

Additional context
I've already made a personal branch, tested it, and it seems to work, so I can do a PR for this, if you think it's a good idea.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 22, 2026):
Ensure it works on the mobile version too and doesn't mess up the view there, please.