Reorder right-panel tabs by dragging #7465
andybergon
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
Problem or use case
Right-panel surfaces (Files, Diff, Browser, Terminal, Agents, Pull request) render in the
order they happened to be opened, and there is no way to change that order afterwards.
The order is not cosmetic. The tab context menu already offers
Close others,Close to the right, andClose all, soClose to the rightacts on a sequence theuser cannot control. Reopening a surface to move it also destroys its state: a browser
tab loses its page, a terminal loses its session.
Proposed solution
Allow dragging a right-panel tab to a new position in the tab strip, with the order
persisted per thread alongside the rest of the panel state.
Why this matters
Diff and Files are the two surfaces I keep coming back to, but they end up wherever they
were opened, often behind three browser tabs. Every tabbed interface I use, including this
app's own model picker after #6743, lets me put the important thing first.
Smallest useful scope
Drag to reorder within the existing tab strip, persisted per thread. No cross-panel drag,
no detaching a tab into its own window, no pinning.
Alternatives considered
a thread is in progress.
Risks or tradeoffs
A persisted order has to survive a surface disappearing, for example a closed browser tab
or a workspace that is no longer available, without resorting the tabs that remain.
All reactions