Repository navigation
Add a Labs option to open the connection page as a tab - #426
Merged
Merged
Conversation
Settings > Labs > Connection page in a tab, off by default. ConnectionModal gains an inline mode: the same page drawn in place of the dialog, with props to hide its saved-connections rail, gate its global chords on the tab being active, start over on a reset key, and put the shell's tab strip where the dialog's title row was. showConnectionModal stays the one request for the page, so none of its fifteen-odd callers change. With the option on, the dialog never opens: connected, the request opens or focuses a singleton Connect tab, kept mounted while it is open so a form or provider sign-in survives a tab switch; with nothing connected, the window shows the page inline with its rail as the only list under a one-tab strip, in place of the launcher. The tab closes when the page closes itself, is left out of parked sessions and of the reopened-tabs list, and goes away if the option is turned off.
broisnees
force-pushed
the
feat/connect-in-tab
branch
from
November 24, 2026 15:24
2f3b2e9 to
e412beb
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Settings > Labs > Connection page in a tab, off by default.
What it does
How
ConnectionModalgets aninlinemode. The page body moved into a snippet rendered either inside the dialog or in a plain container. New props:showRail,active(gates the page's capture-phase chords and mouse back/forward to the visible tab),resetKey(start over in place for a new Edit… or engine request), andtop(what replaces the dialog's title row).showConnectionModalstays the single request flag. With the option on, an effect turns each request into the Connect tab (or a reset of the inline page) and the dialog'sopenbinding reads false, so none of the call sites change.connect(plug icon). It is not aPAGE_KINDSmember, so it isn't restored on launch, and it's filtered out of parked sessions under Several connections at once.Checked in the app (Linux)
Connect tab from the status bar; Neon form kept across a tab switch; sidebar Edit… opens that connection's form in the tab; disconnect lands on the inline view; connecting from it opens the studio with its restored tabs; × closes the tab; turning the option off closes the tab and the dialog works as before. npm test, svelte-check and design lint pass.
Not in this PR
The click behaviour still differs between the two lists (the rail edits on click and connects on double-click; the sidebar connects on click). The thread's other ideas (environment colours, clipboard connect, Docker presence dots) are separate.
Not merged yet: I'm holding releases until I say so.