mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #155] [Issue]: Opening linked lore discards unsaved World Map edits without warning #73
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#73
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 @thetopham on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/155
Originally assigned to: @thetopham on GitHub.
Summary
Opening a linked lorebook from the World Maps location editor navigates to the correct lorebook, but silently discards all pending World Map edits. There is no Save, Discard, or Cancel warning before leaving the editor.
This is a data-loss bug affecting unsaved map work.
Affected package
World Maps (
hierarchical-maps) v1.2.3Expected behavior
When the map has pending edits and the user selects Open for a linked lorebook entry, World Maps should protect the draft before navigating. At minimum, show the existing unsaved-changes confirmation with clear choices to remain in the editor or discard the draft. If supported by the product flow, saving before navigation may also be offered.
Opening a lorebook when the map is clean should continue navigating directly to the associated lorebook/entry.
Actual behavior
Steps to reproduce
Environment
Logs, screenshots, or video
A screenshot was provided in the original beta-review conversation but is not attached to this issue yet.
Additional context
The World Maps workspace already has an unsaved-change confirmation for closing the editor. The Linked lore Open button currently calls the host navigation callback directly, bypassing that protection. The fix should cover this internal navigation route and preserve the existing clean-map behavior.
Template check