Repository navigation
Replies: 1 comment
|
Would be cool to have this do any maintainers have any comments/concerns? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem or use case
I want to hide a sidebar or preview panel by dragging its resize handle past a close threshold. This should work for the left project/thread sidebar and the right panels used for browser previews, files, Markdown previews, and the file tree.
PR #11371 proposes this interaction for the bottom terminal drawer. This request extends the same interaction to the side panels.
Proposed behavior
For the left sidebar, dragging the divider toward the left edge should hide it. For a right-side preview panel, dragging the divider toward the right edge should hide it. Apply the same rule to an independently resizable file-tree pane.
Interaction reference
The ChatGPT desktop app is the reference: dragging a sidebar inward past its minimum width makes it disappear. A close threshold around half the minimum open width would be a useful starting point. The exact value can follow T3 Code's layout constraints.
Smallest useful scope
Add this behavior to the existing left sidebar and right preview panel resize handles. No new pane layout system or settings are needed.
Related work
I searched existing issues, PRs, and discussions and found no exact match for these side panels.
All reactions