Repository navigation
Conversation
morgmart
marked this pull request as ready for review
November 30, 2026 18:50
The pane's top-right button is now an X that closes every tab in the side pane, including hidden ones, instead of only hiding them. Tabs moved to the main pane stay open. Applies to channels, pages and Bestie. Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Tests that hid the side pane and reopened it to find their tabs now close the pane and check what survives: main-pane tabs, the chat draft, and focus. Tests that only reach the open-pane button keep it. Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
With the pane's button now closing tabs, the test can't hide the pane to make its tab closable. It checks the shown tab is refused and a second, unselected tab closes. Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
… the pane's close The narrow Activity test widens the window to uncover Retry instead of closing the conversation, which now clears that Retry. Bestie checks a half-typed thread reply returns after the pane's close button. Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
The pane's X is also a "Close … tab pane" button, so match tab close buttons by their full name. Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
morgmart
force-pushed
the
morganm/pane-close
branch
from
November 30, 2026 21:02
c7719e1 to
a492483
Compare
baxen
reviewed
Nov 30, 2026
baxen
left a comment
Collaborator
There was a problem hiding this comment.
🤖 Bot review of a492483: no P0–P2 findings.
I traced closeSideTabs (store and hook), closeSidePane's fallback to hiding, the closedTabs refactor, and the history cleanup in all three hosts: ChannelsPage onCloseTabs/closeTarget, Bestie dismissContent, and PageTabs onCloseThread. Main-pane threads and panels stay open. The fallback address follows the main pane's selection, so closing a routed side thread returns the URL to whatever the main pane shows. The remaining rewrite in ChannelsPage is the same as before for Close all / Close others.
Lenses: Mensah (correctness and UX of the tab lifecycle). The product and UX specialist didn't run.
baxen
approved these changes
Nov 30, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Demo
Before (left): the button only hides the pane, and both thread tabs come back. After (right): the X closes both tabs, and the chat takes the full width. Recorded against local fixture data.
pane-close-before-after.mp4
What changes
The side pane's top-right button is now an X that closes the pane's tabs instead of hiding them.
How
useChannelTabState.closeSideTabs(): one store update that removes the side pane's tabs and settings, and keeps main-pane tabs.useConversationTabs.closeSidePane(): closes the side tabs and runs the same history/visit cleanup as Close All. With nothing to close, it falls back to hiding (for a launcher's side panel).ChannelsPage,PageTabsandBestieConversation.Tests
useChannelTabStatetest covers main-pane tabs surviving the close. The Bestie unit test is updated.codex/transcript.test.tscases, which timed out under machine load. They pass when run alone, and this PR doesn't touch codex. Pushed with--no-verifyfor that reason.🤖 Generated with Claude Code