mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1128] [MERGED] fix(chat): strip speaker tags in roleplay mode when no character has a colour #4934
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#4934
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/1128
Author: @aeriondyseti
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/24/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/1125-speaker-tag-no-colour-leak📝 Commits (3)
6344b5bfix(chat): strip speaker tags in roleplay mode when no character has a colour8f023c0docs: add #1125 before/after screenshotsa21ebd7Merge remote-tracking branch 'upstream/refactor' into pr-1128-refactor-local📊 Changes
3 files changed (+4 additions, -2 deletions)
View changed files
➕
docs/evidence/issue-1125/after-fix.png(+0 -0)➕
docs/evidence/issue-1125/before-fix.png(+0 -0)📝
src/features/modes/shared/chat-ui/components/ChatMessage.tsx(+4 -2)📄 Description
Linked issue
Closes #1125.
Why this change
In roleplay-mode group chats where no character has a dialogue colour set, raw
<speaker="Name">...</speaker>markup could render as visible text. The plain-text speaker-tag renderer was returning early when no colour map existed, even though the same loop is responsible for stripping the tags.What changed
src/features/modes/shared/chat-ui/components/ChatMessage.tsxso speaker tags are processed whenever tags are present, even without a speaker colour map.stagingtorefactorand mergedupstream/refactorinto the PR branch so it is mergeable on the current release lane.Validation
pnpm install --frozen-lockfile,pnpm check, andgit diff --check upstream/refactor...HEADpassed inC:\tmp\Marinara-Engine-pr-1128.GitHub checks on the current head:
Original PR evidence:
docs/evidence/issue-1125/before-fix.pngdocs/evidence/issue-1125/after-fix.pngManual verification
Original browser verification is documented by the committed before/after screenshots. No additional human-only blocker is known after retargeting to
refactor.Docs and release impact
No docs, schema, dependency, version, or release metadata changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.