[GH-ISSUE #158] [Feature]: Group and search World Maps linked lore entries by lorebook #76

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

Originally created by @thetopham on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/158

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

The World Maps linked-lore picker becomes difficult to scan when a user has many lorebooks and entries. A beta tester has 18 lorebooks with roughly 1–30 entries each; the picker lists every matching entry under always-expanded book headings, creating a long, visually dense list.

Search helps with individual entries, but it currently matches entry names, descriptions, and keys—not lorebook names. Searching for a lorebook therefore returns no result unless the same text also appears in one of its entries.

Example: an entry named TODO exists in a lorebook named Trick. Searching for “TODO” finds the entry, but searching for “Trick” does not surface that lorebook or its entries.

Proposed package or change

Improve the World Maps location editor's linked-lore picker:

  • Present lorebooks as collapsible groups with a clear right/down chevron or equivalent disclosure indicator.
  • Default groups to collapsed when that produces a more manageable list; preserve a sensible expanded state while searching.
  • Expanding a lorebook should reveal its eligible entries.
  • Search should match both lorebook-level and entry-level data.
  • A lorebook-name match should show that lorebook and its eligible entries, even if the query does not match the entries individually.
  • Entry-name, description, and key matching should continue to work.
  • Keep disabled or excluded lorebooks and entries visible but unavailable, preserving the current useful state feedback.
  • Ensure the grouped picker remains usable with keyboard navigation and on mobile.

Why should this be optional?

This change belongs to the downloadable World Maps package because it affects package-owned location-to-lorebook linking UI. It does not require a general Marinara Engine lorebook-browser redesign.

Alternatives considered

  • Search alone: insufficient because users often remember the lorebook name rather than an individual entry name.
  • Continue showing every entry expanded: workable for a few entries, but difficult to parse at the reported 18-book scale.
  • A separate lorebook-selection step: potentially heavier than necessary; collapsible groups retain the current single-panel workflow.

Additional context

  • Marinara Engine version: v2.3.5
  • Engine build: a121d12
  • Package version: World Maps v1.2.3
  • Reported data scale: 18 lorebooks, approximately 1–30 entries per lorebook

The current package groups rendered entries under lorebook headings, but the groups are not collapsible. Its search predicate checks each entry's name, description, and keys before retaining groups, and does not include the lorebook name.

Screenshots were provided in the original beta-review conversation but are not attached to this issue yet.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/158 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? The World Maps linked-lore picker becomes difficult to scan when a user has many lorebooks and entries. A beta tester has 18 lorebooks with roughly 1–30 entries each; the picker lists every matching entry under always-expanded book headings, creating a long, visually dense list. Search helps with individual entries, but it currently matches entry names, descriptions, and keys—not lorebook names. Searching for a lorebook therefore returns no result unless the same text also appears in one of its entries. Example: an entry named **TODO** exists in a lorebook named **Trick**. Searching for “TODO” finds the entry, but searching for “Trick” does not surface that lorebook or its entries. ## Proposed package or change Improve the World Maps location editor's linked-lore picker: - Present lorebooks as collapsible groups with a clear right/down chevron or equivalent disclosure indicator. - Default groups to collapsed when that produces a more manageable list; preserve a sensible expanded state while searching. - Expanding a lorebook should reveal its eligible entries. - Search should match both lorebook-level and entry-level data. - A lorebook-name match should show that lorebook and its eligible entries, even if the query does not match the entries individually. - Entry-name, description, and key matching should continue to work. - Keep disabled or excluded lorebooks and entries visible but unavailable, preserving the current useful state feedback. - Ensure the grouped picker remains usable with keyboard navigation and on mobile. ## Why should this be optional? This change belongs to the downloadable World Maps package because it affects package-owned location-to-lorebook linking UI. It does not require a general Marinara Engine lorebook-browser redesign. ## Alternatives considered - Search alone: insufficient because users often remember the lorebook name rather than an individual entry name. - Continue showing every entry expanded: workable for a few entries, but difficult to parse at the reported 18-book scale. - A separate lorebook-selection step: potentially heavier than necessary; collapsible groups retain the current single-panel workflow. ## Additional context - Marinara Engine version: v2.3.5 - Engine build: a121d12 - Package version: World Maps v1.2.3 - Reported data scale: 18 lorebooks, approximately 1–30 entries per lorebook The current package groups rendered entries under lorebook headings, but the groups are not collapsible. Its search predicate checks each entry's name, description, and keys before retaining groups, and does not include the lorebook name. Screenshots were provided in the original beta-review conversation but are not attached to this issue yet. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@thetopham commented on GitHub (Jul 31, 2026):

Issue-sweep disposition (2026-07-31): confirmed as a useful large-library scaling enhancement. It is intentionally deferred behind the 1.2.4 correctness work; keep it open for a focused grouped/collapsible lore picker and lorebook-name search pass.

<!-- gh-comment-id:5147996048 --> @thetopham commented on GitHub (Jul 31, 2026): Issue-sweep disposition (2026-07-31): confirmed as a useful large-library scaling enhancement. It is intentionally deferred behind the 1.2.4 correctness work; keep it open for a focused grouped/collapsible lore picker and lorebook-name search pass.
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-Agents#76
No description provided.