[GH-ISSUE #5413] [Feature]: Add a "Select all entries within folder" button for Lorebook Batch Editing / Selecting #3002

Closed
opened 2026-10-21 05:58:43 +07:00 by bsakaguchi · 1 comment
Owner

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:
Image

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:

  • I DID NOT read this template and provide the requested details.
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: <img width="1173" height="917" alt="Image" src="https://github.com/user-attachments/assets/b7b4f5f5-027b-44bf-abc7-009f6d437222" /> ## 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: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 22, 2026):

Ensure it works on the mobile version too and doesn't mess up the view there, please.

<!-- gh-comment-id:5382712645 --> @SpicyMarinara commented on GitHub (Aug 22, 2026): Ensure it works on the mobile version too and doesn't mess up the view there, please.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3002
No description provided.