mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #610] [MERGED] Fix Connected Chat branch labels #4693
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#4693
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/610
Author: @cha1latte
Created: 5/9/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-607-connected-chat-branch-label📝 Commits (1)
619196dFix connected chat branch labels📊 Changes
7 files changed (+58 additions, -43 deletions)
View changed files
➕
docs/pr-evidence/issue-607/after.png(+0 -0)➕
docs/pr-evidence/issue-607/before.png(+0 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+9 -17)📝
packages/client/src/components/chat/ChatFilesDrawer.tsx(+3 -17)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+5 -2)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+14 -7)➕
packages/client/src/lib/chat-display.ts(+27 -0)📄 Description
Linked issue
Closes #607
Why this change
metadata.branchName, but Connected Chat surfaces were still reading the stable chat/threadname. That made a linked renamed branch keep showing the original shared label.What changed
metadata.branchNameand falls back tochat.name.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Renamed Branch Label, linking the conversation to the renamed branch, and opening Chat Settings. Before the fix, the Connected Chat row displayedShared Thread.Renamed Branch Label.metadata.branchName; the switch control still displayed the stable chat namePlain Roleplay.pnpm --filter @marinara-engine/client lintpassed.pnpm checkpassed.Docs and release impact
No docs or release files changed. This is a client display fix only.
UI evidence (if applicable)
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.