[PR #3342] [MERGED] Fix scene presets and native lorebook exports #5888

Closed
opened 2026-10-23 04:04:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3342
Author: @SpicyMarinara
Created: 7/7/2026
Status: ✅ Merged
Merged: 7/7/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/scene-preset-and-export-lorebooks


📝 Commits (1)

  • 7cb2428 Fix scene presets and native lorebook exports

📊 Changes

7 files changed (+169 additions, -66 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+1 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+1 -1)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+72 -42)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+1 -1)
📝 packages/server/src/routes/characters.routes.ts (+53 -7)
📝 packages/server/src/services/import/marinara.importer.ts (+39 -14)

📄 Description

Summary

  • Keeps the Prompt Preset selector visible for Roleplay scenes created from Conversation while preserving the default-to-None behavior.
  • Includes attached lorebooks in native Character and Persona exports, then re-links those lorebooks to the imported owner.
  • Makes the Connections panel root/unfiled drop area more forgiving so desktop users can drag connections out of folders reliably.
  • Updates v2.1.1 changelog entries and export-dialog copy for the new native export behavior.

Why

Scene chats should allow users to override the automatically cleared preset when they want one, native exports should preserve attached owner lorebooks, and the Connections folder UI should not depend on a tiny root drop target that can be unreliable on Windows desktop drag/drop.

Validation

  • pnpm check
  • git diff --check

Manual Verification Needed

  • Manually verify a Conversation-created Roleplay scene still defaults Prompt Preset to None but allows selecting a preset in Chat Settings.
  • Manually verify native Character and Persona exports with attached lorebooks import with those lorebooks linked to the imported owner.
  • Manually verify dragging a connection from a folder into the unfiled/root area on Windows or desktop Chromium.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3342 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/7/2026 **Status:** ✅ Merged **Merged:** 7/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/scene-preset-and-export-lorebooks` --- ### 📝 Commits (1) - [`7cb2428`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7cb24280cebca1141cab1eff31f46d455be1493d) Fix scene presets and native lorebook exports ### 📊 Changes **7 files changed** (+169 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+1 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+1 -1) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+72 -42) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+1 -1) 📝 `packages/server/src/routes/characters.routes.ts` (+53 -7) 📝 `packages/server/src/services/import/marinara.importer.ts` (+39 -14) </details> ### 📄 Description ## Summary - Keeps the Prompt Preset selector visible for Roleplay scenes created from Conversation while preserving the default-to-None behavior. - Includes attached lorebooks in native Character and Persona exports, then re-links those lorebooks to the imported owner. - Makes the Connections panel root/unfiled drop area more forgiving so desktop users can drag connections out of folders reliably. - Updates v2.1.1 changelog entries and export-dialog copy for the new native export behavior. ## Why Scene chats should allow users to override the automatically cleared preset when they want one, native exports should preserve attached owner lorebooks, and the Connections folder UI should not depend on a tiny root drop target that can be unreliable on Windows desktop drag/drop. ## Validation - pnpm check - git diff --check ## Manual Verification Needed - Manually verify a Conversation-created Roleplay scene still defaults Prompt Preset to None but allows selecting a preset in Chat Settings. - Manually verify native Character and Persona exports with attached lorebooks import with those lorebooks linked to the imported owner. - Manually verify dragging a connection from a folder into the unfiled/root area on Windows or desktop Chromium. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:04:50 +07:00
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#5888
No description provided.