mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3710] [MERGED] Fix editor history and preserve partial character updates #6064
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#6064
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/3710
Author: @SpicyMarinara
Created: 7/16/2026
Status: ✅ Merged
Merged: 7/16/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/editor-keyboard-history📝 Commits (3)
278b0c2fix: restore editor undo and multiline indentation1d27a4bfix: preserve omitted character update fields29e0870test: cover partial character updates end to end📊 Changes
9 files changed (+316 additions, -90 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/core-flows.e2e.ts(+44 -4)📝
packages/client/src/components/game-assets/FileEditorModal.tsx(+3 -13)📝
packages/client/src/components/presets/PresetEditor.tsx(+2 -35)📝
packages/client/src/components/ui/ExpandedTextarea.tsx(+2 -0)📝
packages/client/src/components/ui/MacroTextarea.tsx(+15 -38)➕
packages/client/src/lib/textarea-editing.ts(+154 -0)📝
packages/server/src/services/mari-db/mari-db.service.ts(+11 -0)📝
scripts/regressions/open-issues.regression.ts(+83 -0)📄 Description
Why
Expanded text editors lost native undo history and replaced multiline selections when indenting. Separately, partial
character.updateapp-data actions can erase omitted Character Card fields such as greetings and example dialogue.Fixes #3708.
What
character.updateactionsTest plan
character.updateleaves greetings and example dialogue unchanged.pnpm check.Summary by CodeRabbit
Tabindentation andShift+Tabunindentation for selected lines.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.