mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4430] Dropping a lorebook already active via a character or persona gives no indication it is already in context #2405
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#2405
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 @Gunterlie on GitHub (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4430
Originally assigned to: @Gunterlie on GitHub.
Problem
When you drag a lorebook onto a chat, the drop overlay blocks with "is already active in this chat" only if the book is pinned directly to the chat (
metadata.activeLorebookIds).If the same book is already being injected because it is attached to the chat's character, persona, or is global, the drop goes through with the generic "Added to chat context" message and no indication that its entries were already in context.
Why it matters
For anyone who leans on character- and persona-attached lorebooks, the two cases are indistinguishable at drop time, so it is easy to lose track of what is actually feeding context.
Expected
Pinning the book is still a real change (the pin survives swapping the character or persona out), so the drop should still happen — but it should name the source the book was already inherited from, the same way the chat settings lorebook list already shows
Character/Persona/Globalchips.Notes
Reported from hands-on use of the chat resource drag/drop feature on
staging(#4413 / #4420 line of work). Everything else about dragging — personas, characters, presets, connections, undo, and the agent mode-compatibility blocks — behaved as expected.@Gunterlie commented on GitHub (Aug 1, 2026):
Taking this — implementation in draft PR #4431 (branch
fix/lorebook-drop-inherited-source, targetingstaging). /cc @Gunterlie