mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4491] [MERGED] fix(maps): refresh lorebooks after portable imports #6399
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#6399
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4491
Author: @thetopham
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/3/2026
Merged by: @thetopham
Base:
staging← Head:agent/4490-world-map-lore-refresh📝 Commits (2)
96004f2fix(maps): refresh host lorebooks after importsf9ea2aestyle(client): order world map cache imports📊 Changes
2 files changed (+27 additions, -4 deletions)
View changed files
📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+9 -2)📝
packages/client/src/components/layout/AppShell.tsx(+18 -2)📄 Description
Linked issue
Closes #4490
Paired World Maps 1.3.0 package work: Pasta-Devs/Marinara-Agents#213
Why this change
World Maps and the Engine app have separate React Query clients. Portable lore imports refreshed the package-local cache, but the main Lorebooks library kept its deleted-book list until the browser was reloaded. Linked-lore navigation also needed the host to invalidate that cache without delaying the requested editor transition.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence:
pnpm checkpassed, including Impeccable context, localization, ESLint, TypeScript, and production builds.portable map import refreshes host lorebooks and linked navigation without reloadpassed against an isolated Engine data directory seeded with the exact 1.3.0 ZIP.git diff --checkpassed.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No user-facing copy or Engine release metadata changed.
UI evidence (if applicable)
Automated installed-package Chromium coverage proves the exact stale-cache reproduction and both host-library and linked-lore navigation paths. Human browser verification remains listed above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.