Repository navigation
Open agent browsers in the right panel when "Auto-show floating preview" is off #25972
Mikiyas-Meles-Assefa
started this conversation in
Ideas
Replies: 1 comment
|
A related angle, with a working branch: let the agent choose where its tab goes when the user asks. Today an agent cannot put a browser tab in the right panel or move one there, even when the user asks for exactly that ("open the dev server in the browser sidebar"). Every reveal floats.
Branch: main...Entrpi:t3code:fix/preview-open-placement Would you want this alongside the default change here? |
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.
I keep Auto-show floating preview turned off because I'd rather keep previews in the right panel. For devices that already works: when an agent opens one, it shows up as a right-panel tab, like
docs/user/devices.mdsays.Browsers don't do that. When an agent opens a browser with the setting off, nothing shows up unless the agent forces it, and then it pops up in the floating player anyway. So I end up hunting for the tab to see what the agent is doing.
Would you be open to browsers following the same rule as devices? Floating when the setting is on, a right-panel tab when it's off, and sheet layouts left alone. The tab would open as an automatic update like the device one does, so it wouldn't stop the turn diff or a linked PR from opening in the panel.
I have a small change for this locally (in
revealServerTabsandrightPanelStore, with tests). Happy to open it as a PR with screenshots if this sounds like the right direction.All reactions