mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8209] [MERGED] fix(client): let the branch graph fill its window's height, and move its button #8186
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#8186
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/8209
Author: @ylli-selmani
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/chat-branch-graph-fill-height📝 Commits (3)
fe46560fix(client): let the branch graph fill its window's height3383dd1docs(chats): say where the branch graph stops filling and shrinking2b3a156fix(client): move the branch graph button above the export buttons📊 Changes
6 files changed (+41 additions, -27 deletions)
View changed files
📝
docs/chats/branches.md(+2 -2)📝
packages/client/src/components/chat/ChatBranchGraphWindow.tsx(+11 -8)📝
packages/client/src/components/chat/ChatBranchesPanel.tsx(+2 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+0 -3)📝
packages/client/src/lib/chat-branch-graph-layout.ts(+12 -10)📝
scripts/regressions/chat-branch-graph-layout.regression.ts(+14 -4)📄 Description
Linked issue
Small QoL fix on maintainer direction.
Why this change
What changed
layoutChatBranchGraph:ChatBranchGraphWindow: chat names never shrink with the graph, so they stay readable.ChatBranchGraphButtonis now one long Branch graph button above the section's export buttons, inChatBranchesPanel.ChatSettingsDrawerno longer passes it as the section's headeractionsordetachedHeaderControls, so the drawer and the popped-out window show the same button. It reuses the existingchat.settings.branchGraphlabel (branchGraphOpenis now its tooltip), so no locale key was added.chat-branch-graph-layoutregression covers the shrink, the 0.75× floor and full-height lanes.docs/chats/branches.md: the sentence on how the graph fills its window now mentions shrinking and full-height rows, and the step for opening the graph points at the new button. The translation follow-up is added to #8163.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scripts/run-regressions.mjs --filter chat-branch-graphpassed (2/2), and thechat-branch-treeandfloating-windowregressions passed after the button move. The client type-check, ESLint and Prettier passed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
A 240-message group with two branches, fitted to the window:
The Branch graph button above the export buttons, in a popped-out Chat Branches window:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.