mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8814] Professor Mari's edit diff alternates old and new word by word, which is hard to read #8507
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#8507
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 @kolacheee on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8814
Originally assigned to: @kolacheee on GitHub.
When Professor Mari edits a prose field (a character's description, say), the change receipt and the in-place field review show the edit as a word diff. When a phrase is rewritten, the old and new words alternate one by one, each struck word glued to its replacement:
That is hard to read: you can't see the old phrase or the new phrase as a whole.
Expected: a run of consecutive changed words shows the whole old run struck out, then the whole new run, with short kept words between two edits ("a", "of the") folded into the run:
Applies to the change receipt, Mari's in-place field review, the Easy Viewer, and the paired lines of the unified diff.
@SpicyMarinara commented on GitHub (Nov 4, 2026):
Taking this one (SpicyMarinara, via Claude Code). Branch
fix/mari-diff-phrase-runs: consecutive changed words in a word diff become one struck-out old run followed by one new run, with short kept words between two edits folded in. Covers the change receipt, the in-place field review, the Easy Viewer and the paired lines of the unified diff, since they all sharediffWords.@kolacheee commented on GitHub (Nov 4, 2026):
@SpicyMarinara Don't please I already have a PR up for this.
@SpicyMarinara commented on GitHub (Nov 4, 2026):
Sorry @kolacheee, I missed #8815 when I picked this up. I've stopped my branch; nothing was pushed, so #8815 is the only fix for this issue.