{"body":"## Summary\n\nThe right panel lets a user split a fixed tab, such as Info or Diff, into a new pane. The new pane has no close control because the fixed tab has no close button. The user can merge panes by dragging the tab back, but the interface does not show this action.\n\n## Versions and environment\n\n- bb 0.39.0 from npm, which was the latest release during the test\n- Ubuntu 26.04 LTS, x86_64\n- Chromium web client connected to the local bb server\n- Managed worktree environment `env_cuscps8vbh`\n- Source check on `main` at `2cfd2b5df57daeed51ea544b54a8869bbec1c478`\n\n## Steps to reproduce\n\n1. Open a thread that has the Info and Diff fixed tabs.\n2. Open the right panel.\n3. Drag the Diff tab into the panel body.\n4. Release the tab when the `Split bottom` target appears.\n5. Try to close only the new Diff pane.\n\nSmallest case: two fixed tabs are sufficient. A file tab does not have the same problem because it has a close button.\n\n## Expected vs actual\n\nExpected:\n\nEach split pane has a direct close action. This action also works when the pane contains only a fixed tab.\n\nActual:\n\nThe split has two panes, but neither pane has a `Close pane` control. The fixed Info and Diff tabs also have no close button. The only visible hide control closes the complete right panel and keeps the saved split.\n\nBrowser inspection after the split:\n\n```text\nsplit panes: 2\nbuttons named \"Close pane\": 0\ntab close buttons: 0\nbuttons named \"Hide right panel\": 1\n```\n\n## Evidence\n\n- [Screenshot and investigation thread](https://bee.getbb.app/projects/proj_atixi2qwed/threads/thr_xpnp5rrzif)\n- The split pane context sets `onRequestClose` to `null`: [SidebarSplitContainer.tsx](https://github.com/get-bb/bb/blob/2cfd2b5df57daeed51ea544b54a8869bbec1c478/apps/app/src/components/secondary-panel/SidebarSplitContainer.tsx#L524-L537).\n- Fixed tabs get select and drag handlers, but they get no close handler: [ThreadSecondaryPanel.tsx](https://github.com/get-bb/bb/blob/2cfd2b5df57daeed51ea544b54a8869bbec1c478/apps/app/src/components/secondary-panel/ThreadSecondaryPanel.tsx#L677-L704).\n\n## What you ruled out\n\n- This is not #1841. That issue added right-panel splits but did not cover a close action for fixed-tab panes.\n- This is not #1337. That issue covers moves from the sidebar into the main view.\n- Dragging the fixed tab onto the center of the other pane merges the panes. This is a non-obvious workaround.\n- Hiding and showing the complete right panel does not remove the saved split.\n- Searches of open and closed issues found no report for this close-action gap.\n\n## Suggested priority and effort\n\nMedium priority and low-to-medium effort. The problem affects each user who splits a fixed tab. It causes no data loss, but the workaround is not clear.\n\n> AGENT GENERATED\n","closedByPullRequestsReferences":[{"id":"PR_kwDORYGSE88AAAABBGznug","number":2486,"repository":{"id":"R_kgDORYGSEw","name":"bb","owner":{"id":"O_kgDOEqoxNg","login":"get-bb"}},"url":"https://github.com/get-bb/bb/pull/2486"}],"comments":[],"labels":[{"id":"LA_kwDORYGSE88AAAACw4gZhA","name":"ui","description":"App shell, sidebar, composer, rendering","color":"c5def5"}],"number":2450,"state":"OPEN","title":"Split right-panel panes have no close action when their only tab is fixed","url":"https://github.com/get-bb/bb/issues/2450"}
