mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1135] [Issue]: Chats Sidebar does not update when a new branch is selected in current chat #563
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#563
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 @DarkPulse on GitHub (May 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1135
Originally assigned to: @cha1latte on GitHub.
Summary
Whenever you select a different branch, the branch name updates accordingly. However, the chats panel on the left still shows an old chat/branch name until some other event updates it.
Furthermore, because it hasn't updated, clicking to a different RP, then back to the one that "didn't" change, even if you changed the branch, will bring you to the branch that's listed on the sidebar. This means it's entirely possible to be in Roleplay A Branch 1, switch to Roleplay A Branch 4, go to Roleplay B, and then when you go back to Roleplay A, instead of being on A-4, it will be on A-1.
Expected behavior
When you switch branches in a multi-branch roleplay/chat, it should reflect the name in the chats panel. When you click away and then click back, it should bring you to the last selected chat, not the listed one.
Actual behavior
Chat panel does not update the selected branch's name if you just select among other branches.
Steps to reproduce
Environment
3663484Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@franko-c commented on GitHub (May 24, 2026):
from what I can see,
ChatSidebar.tsx:273—displayChatsuseMemo deps are[chats, filtered, sort]withoutactiveChatId, so branch switches don't recompute the group representative.getCurrentGameGroupRepresentativeis also game-mode only — non-game branches pick first-in-sort-order. not sure if the dep was left out intentionally or just missed.@cha1latte commented on GitHub (May 24, 2026):
fixed in #1176