[GH-ISSUE #235] [Feature]: Lorebook Entry Manual Reordering and Folder-style Organization #91

Closed
opened 2026-10-20 17:25:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @DarkPulse on GitHub (Apr 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/235

What problem does this solve?

A lot of creators organize their lorebooks through various means. I, for example, try to organize mine by creating dummy "header" entries, then organize lorebook entries that are relevant under those headers.

In SillyTavern, end-users are able to freely drag-and-drop entries at will, in whatever order they please, and SillyTavern will keep those changes.

Currently, Marinara Engine does not allow for this. There are only a handful of sorting options (Order/Entry ID, Name A-Z and Z-A, decreasing token cost, decreasing key amounts, newest, and oldest). There is no "free adjust" option. This makes it impossible to group things more manually without literally planning every single entry, top to bottom.

This makes it a nightmare if you have a lorebook with more than a couple dozen entries (think of series like, say, One Piece or Dragon Ball where you might need literally hundreds). It gets extremely unwieldy fast the more lore you put in.

Proposed solution

I propose two things that'd make organization a lot nicer. Only the first is really relevant to the request - the second is more of a quality-of-life proposal that would aim to solve massive amounts of scrolling for very large lorebooks.

The main one is the ability to manually rearrange entries by drag-and-drop. The fundamental point of this request is simply to be able to organize entries where I want them so that, for example, if I create a town, I can have important NPCs who are in that town listed under that town's "header." There is no functional way to do this without intensely careful pre-planning in current versions of Marinara Engine.

The fancier one would be cutting down on the amount of scrolling via somehow making entries that act really as folders, and these folders can contain one or more lorebook entries within them. To continue the previous example, the town itself is now a folder (and perhaps optional entry with keys in its own right? Not mandatory but it'd save on making a Folder of "Whatever Town" followed by a key within it detailing Whatever Town), and all the entries I want to be relevant to that folder I can just put inside there, having a nice, neat organization that could be expanded/collapsed to make for quicker navigation, and would secondarily denote which entries are top-level organization and which ones are standard entries (indented in a little if the entry is in a folder, for example). Basically a parent-child system, although this is strictly for organizational purposes - the actual functionality is more or less unchanged (i.e; this isn't a case where the folder entries only get activated if the folder is activated).

Naturally, we'd also have the ability to freely reorder them within the folders, as well as obviously needing to ensure entries could be pulled out of these folders as well as put into them, but it'd be a little visually nicer than having a single monolithic entries layer where you're scrolling through dozens of entries. Entries not in a folder are still considered top level.

Alternatives considered

Doing nothing is also an option. But then we've got no real ways to organize lorebooks other than what Marinara Engine gives us, and in the long run, that's going to effectively limit lorebook complexity since nobody is going to want to really scroll through hundreds of entries.

In theory some sort of "lorebook search" functionality could alleviate the scrolling complexity, where we eliminate entry names that don't match whatever the user is typing for, but my hunch is that'd probably be even more code than simply letting the user reorder entries at will.

That would only solve the "find one entry in a list of hundreds" issue though, not really the organizational one.

  • I DID NOT read this template and provide the requested details.
Originally created by @DarkPulse on GitHub (Apr 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/235 ## What problem does this solve? A lot of creators organize their lorebooks through various means. I, for example, try to organize mine by creating dummy "header" entries, then organize lorebook entries that are relevant under those headers. In SillyTavern, end-users are able to freely drag-and-drop entries at will, in whatever order they please, and SillyTavern will keep those changes. Currently, Marinara Engine does not allow for this. There are only a handful of sorting options (Order/Entry ID, Name A-Z and Z-A, decreasing token cost, decreasing key amounts, newest, and oldest). There is no "free adjust" option. This makes it impossible to group things more manually without literally planning every single entry, top to bottom. This makes it a nightmare if you have a lorebook with more than a couple dozen entries (think of series like, say, One Piece or Dragon Ball where you might need literally hundreds). It gets extremely unwieldy fast the more lore you put in. ## Proposed solution I propose two things that'd make organization a lot nicer. Only the first is really relevant to the request - the second is more of a quality-of-life proposal that would aim to solve massive amounts of scrolling for very large lorebooks. The main one is the ability to manually rearrange entries by drag-and-drop. The fundamental point of this request is simply to be able to organize entries where I want them so that, for example, if I create a town, I can have important NPCs who are in that town listed under that town's "header." There is no functional way to do this without intensely careful pre-planning in current versions of Marinara Engine. The fancier one would be cutting down on the amount of scrolling via somehow making entries that act really as folders, and these folders can contain one or more lorebook entries within them. To continue the previous example, the town itself is now a folder (and perhaps optional entry with keys in its own right? Not mandatory but it'd save on making a Folder of "Whatever Town" followed by a key within it detailing Whatever Town), and all the entries I want to be relevant to that folder I can just put inside there, having a nice, neat organization that could be expanded/collapsed to make for quicker navigation, and would secondarily denote which entries are top-level organization and which ones are standard entries (indented in a little if the entry is in a folder, for example). Basically a parent-child system, although this is strictly for organizational purposes - the actual functionality is more or less unchanged (i.e; this isn't a case where the folder entries only get activated if the folder is activated). Naturally, we'd also have the ability to freely reorder them within the folders, as well as obviously needing to ensure entries could be pulled out of these folders as well as put into them, but it'd be a little visually nicer than having a single monolithic entries layer where you're scrolling through dozens of entries. Entries not in a folder are still considered top level. ## Alternatives considered Doing nothing is also an option. But then we've got no real ways to organize lorebooks other than what Marinara Engine gives us, and in the long run, that's going to effectively limit lorebook complexity since nobody is going to want to really scroll through hundreds of entries. In theory some sort of "lorebook search" functionality could alleviate the scrolling complexity, where we eliminate entry names that don't match whatever the user is typing for, but my hunch is that'd probably be even more code than simply letting the user reorder entries at will. That would only solve the "find one entry in a list of hundreds" issue though, not really the organizational one. - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:25:02 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Apr 28, 2026):

I'll add drag-and-drop rearrangements in v1.5.6.

<!-- gh-comment-id:4333961194 --> @SpicyMarinara commented on GitHub (Apr 28, 2026): I'll add drag-and-drop rearrangements in v1.5.6.
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#91
No description provided.