mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4920] [MERGED] Fix preset Markdown, Mari drafts, and chat formatting #6543
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#6543
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/4920
Author: @SpicyMarinara
Created: 8/11/2026
Status: ✅ Merged
Merged: 8/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/assigned-issues-aug11-round3📝 Commits (4)
5c8f0ddStart assigned issue sweep (#4914 #4915 #4916)7891776Fix assigned editor and Markdown issues (#4914 #4915 #4916)3a75f8eHandle empty Discord subtext consistently82c2136Strengthen bare subtext regression📊 Changes
10 files changed (+144 additions, -18 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+13 -4)📝
packages/client/src/components/game/AnimatedText.tsx(+2 -2)📝
packages/client/src/components/game/GameNarration.tsx(+6 -1)📝
packages/client/src/components/game/GameReadableDisplay.tsx(+6 -1)📝
packages/client/src/components/presets/PresetEditor.tsx(+3 -0)📝
packages/client/src/lib/inline-markdown-regex.ts(+3 -0)📝
packages/client/src/lib/markdown.tsx(+28 -6)📝
packages/client/src/styles/globals.css(+13 -0)📝
scripts/regressions/assigned-issue-sweep.regression.ts(+67 -4)📄 Description
What
MacroTextareapreview.__underline__and-# subtextthrough the shared React/HTML Markdown paths and the Game narration/readable paths.Why
Preset authors could not preview formatting where they write it, Home Professor Mari kept her draft only in component state and lost it when the view unmounted, and double underscores/subtext behaved differently from Discord despite the chat renderer already supporting adjacent Markdown syntax.
Closes #4914
Closes #4915
Closes #4916
Validation
pnpm check(automated run passed locally).pnpm localization:check(automated run passed locally; no new user-facing strings).pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/assigned-issue-sweep.regression.ts(passed locally).Validation notes
pnpm smoke:uiwas attempted. The broad suite entered failures in pre-existing test/environment paths, including stale selectors forHomeProfessorMariChat.MariPanelandOpen Characters Library; the current Home page remained visible in captured output. This is not claimed as passing proof for this patch.pnpm regression:issuesreached and passed this sweep regression, then stopped in the existing granular-preset fixture becausepreset.createomits the now-requiredsystemKeycolumn.Cannot redefine property: process, so affected browser paths remain listed for manual verification.Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.