mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #258] [Issue]: Drop down Branch selector does not update counter upon creation of a new branch #101
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#101
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 (Apr 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/258
Originally assigned to: @LukaTheHero on GitHub.
Summary
Another small issue with the drop down branch selector: If the user creates a new branch, the counter does not update.
As in one of my previous bugs (#234), this only updates if the user goes to a different chat (not within the same branch) and then returns to it, when it will have run an update.
Expected behavior
The counter should update when you create a new branch.
Actual behavior
The counter only gets updated if you go to a different chat, then come back.
Steps to reproduce
Environment
5943808Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@LukaTheHero commented on GitHub (Apr 28, 2026):
I read through the report — thanks, all the info I needed was there. I tried reproducing under the same circumstances (Windows 11 25H2, Firefox, installer build) and the counter updates correctly for me on every branch I create.
Just to make sure we're on the same element — is this the dropdown branch selector you mean?
If yes, a short clip of the moment right after branching where the counter doesn't tick over would help a lot. If it's actually a different control (e.g. inside Manage Chat Files), point me at the right one and I'll re-test there.
@DarkPulse commented on GitHub (Apr 28, 2026):
Okay, I've done that. Admittedly not the 100% the best example since I used the same character card twice, but I did have the foresight to change the user persona at least, so you can see when I switch between chats when the persona name changes.
https://github.com/user-attachments/assets/fcd066b3-f47d-4b8b-8d12-e480e644fb45
Here's what I do in order:
I'm no coder, but my guess is that the branch counter is failing to get updated when you push for multiple branches in succession within one chat. The code that pops the brancher and counter runs right the first time, but then fails to update the counter if you keep doing it (but the name does get correctly reflected). However, if you then go to another chat and pull for a new branch in that one, something in the logic updates it for the other chats - but it will always fail to update on the current chat if you keep pushing for branches until a branch gets made in a different chat. The counter then correctly counts them.
@LukaTheHero commented on GitHub (Apr 28, 2026):
ok, thanks for the added info, I'm in the middle of fixing another bug, afterwards I'll come back and fix this if I can reproduce, cheers!
@DarkPulse commented on GitHub (Apr 28, 2026):
Just to give an update: Managed to update to
ecbfc60and I can't replicate the issue anymore. This may have been fixed in the myriad of fixes since then. Counters are tracked correctly and immediately.@SpicyMarinara commented on GitHub (Apr 28, 2026):
Closing then, thanks.