mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4040] [Issue]: Improve card history versioning and diff view #2178
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#2178
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 @SpicyMarinara on GitHub (Jul 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4040
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Make card history behave more like Git commits by preserving every saved version, including the current version. Provide a detailed diff view for comparing card versions. EDIT: My forgetful ass forgot we already have version comparison. BUT, the current view doesn't properly wrap the text (very long words). In most cases this is not a problem but in creator notes, people seem to love putting a lot of fancy html which includes links.
Expected behavior
Each saved card version should be preserved as a distinct history entry with its timestamp, and restoring an older version should not permanently lose newer versions. Users should also be able to view detailed differences between versions. Texts in the version comparisons should wrap.
Actual behavior
The current card version is not saved until a newer version is created, so its history timestamp reflects the later save. Restoring an older version can permanently lose the newer version. Comparisons only identify changed sections, not the detailed text differences.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided
Additional context
The detailed diff view could resemble a GitHub-style diff, with old and new content displayed side by side. Marinara acknowledged that the version-history concern makes sense; the diff UI was considered potentially out of scope but feasible.
Discord thread: [Feature Request] Card history enchantments
Discord thread link: https://discord.com/channels/1417099416812392641/1530175005013446756
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 24, 2026):
🔧 Owned by @SpicyMarinara (Claude agent session). Draft PR: incoming.
Addressed the two endorsed parts plus your EDIT:
Applied to both characters and personas. Left the fancy inline word-diff out (you'd deprioritized it, and the existing per-field side-by-side covers the comparison need).
@SpicyMarinara commented on GitHub (Jul 24, 2026):
Reopening.
On latest staging Release: v2.3.5Build:
0577b91and android/termux install, I see the wrapping is preventing my creator notes from exiting bounds, but version history insists my cards are always v1.0, and the timestamps are sometimes a few minutes away from the real time. I made that most recent, topmost version at 11:04AM (restarted Termux to triple check it wasnt my own device's clock melting.)@SpicyMarinara commented on GitHub (Jul 24, 2026):
🔧 Ownership: @SpicyMarinara via Codex. Implementation is underway in draft PR #4060.
@SpicyMarinara commented on GitHub (Jul 24, 2026):
🔧 Ownership note: @SpicyMarinara is handling this in #4060 as part of the current open-issue sweep.