mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #750] [MERGED] Fix Connected Chat placeholder branch names #4760
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#4760
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/750
Author: @Xelvanis
Created: 5/12/2026
Status: ✅ Merged
Merged: 5/12/2026
Merged by: @Xelvanis
Base:
main← Head:fix/issue-740-connected-chat-name📝 Commits (2)
c76de73Fix connected chat branch placeholder display8ccee77Keep branch placeholder labels in branch UI📊 Changes
4 files changed (+23 additions, -13 deletions)
View changed files
📝
packages/client/src/components/chat/ChatArea.tsx(+2 -2)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+2 -2)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+8 -8)📝
packages/client/src/lib/chat-display.ts(+11 -1)📄 Description
Linked issue
Closes #740
Why this change
metadata.branchNameset toNew Branch, which is useful inside branch-management UI but confusing in Connected Chat because unrenamed RP/game links can appear as identicalNew Branchrows instead of their stable chat names.What changed
getChatDisplayNameso branch-management UI can still show branch labels, including theNew Branchplaceholder.getConnectedChatDisplayNamefor connected-chat surfaces, where theNew Branchplaceholder falls back tochat.name.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
getChatDisplayName({ name: "Moonlit RP", metadata: { branchName: "New Branch" } })returnedNew Branch.tsx: branch UI helper keepsNew Branch; connected-chat helper falls back toMoonlit RP; real branch labelChapter 2still displays; blank branch labels fall back; stringified JSON metadata follows the connected-chat placeholder fallback.pnpm check; it passed locally.Docs and release impact
UI evidence (if applicable)
No browser screenshot attached. The affected Connected Chat surfaces now use
getConnectedChatDisplayName; branch management keeps usinggetChatDisplayName.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.