[GH-ISSUE #7521] [Feature]: Collapse long keyword lists in the Lorebook editor #4185

Closed
opened 2026-10-21 06:12:12 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @minikkeuen on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7521

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Lorebook entries with many keywords can take up excessive vertical space in the editor, making it harder to navigate and manage entries efficiently.

This is especially noticeable when editing entries with long primary or secondary keyword lists.

Proposed solution

Add a collapsible keyword list to the Lorebook editor.

  • Display the first 10 keywords by default.
  • When there are more than 10 keywords, provide a button to expand the full list.
  • Allow users to collapse the list again.
  • Handle primary and secondary keyword lists independently.
  • Keep the keyword input field accessible regardless of the expanded state.
  • Automatically expand the list when a new keyword is added so it remains visible.

This would be a UI-only improvement without changing keyword storage or matching behavior.

Alternatives considered

  • Scrollable keyword containers: Reduce vertical space but make it harder to view all keywords.
  • Configurable display limits: Offer more flexibility but introduce unnecessary settings for a small UI improvement.

A simple expand/collapse control seems sufficient.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @minikkeuen on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7521 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Lorebook entries with many keywords can take up excessive vertical space in the editor, making it harder to navigate and manage entries efficiently. This is especially noticeable when editing entries with long primary or secondary keyword lists. ## Proposed solution Add a collapsible keyword list to the Lorebook editor. - Display the first 10 keywords by default. - When there are more than 10 keywords, provide a button to expand the full list. - Allow users to collapse the list again. - Handle primary and secondary keyword lists independently. - Keep the keyword input field accessible regardless of the expanded state. - Automatically expand the list when a new keyword is added so it remains visible. This would be a UI-only improvement without changing keyword storage or matching behavior. ## Alternatives considered - **Scrollable keyword containers:** Reduce vertical space but make it harder to view all keywords. - **Configurable display limits:** Offer more flexibility but introduce unnecessary settings for a small UI improvement. A simple expand/collapse control seems sufficient. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 14, 2026):

Fixed on staging by #7522.

<!-- gh-comment-id:6171555589 --> @SpicyMarinara commented on GitHub (Oct 14, 2026): Fixed on staging by #7522.
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#4185
No description provided.