Replies: 1 comment
|
Scope refinement while implementing: instead of a bespoke two-item menu, the browser pane now reuses the app's standard link context menu (the same one chat links show), so the options are Open in integrated browser (opens the link in a new tab of the pane, focused, honoring the configured browser defaults), Open in system browser, and Copy Link. Same affordance everywhere a link appears. |
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
In the desktop app's in-app browser, links only respond to a left click, which navigates the current page. Right-clicking a link does nothing: there is no way to open a link in a new tab or copy the link address. The in-app browser already has tabs (they even persist across restarts since #7556 was fixed), so "open this link in a new tab" is a natural expectation that the UI silently ignores. Copying a link today means navigating to it, losing the page you were on, and then copying from the address bar.
Proposed solution
Show a native context menu when right-clicking a link inside the in-app browser, with two items:
The menu only appears when the right-click target is a link. Right-clicking elsewhere on the page keeps today's behavior.
Why this matters
Users drive agents against running dev servers and docs pages in this pane all day. Wanting to branch off a link without losing the current page, or to hand a URL to the agent or another app, is everyday browsing behavior. Its absence makes the pane feel broken compared to any real browser.
Smallest useful scope
Desktop only, links only, the two menu items above. Non-goals for the first PR:
Alternatives considered
Risks or tradeoffs
References
Contribution
I am happy to implement this. Planned branch:
agent/desktop-browser-link-context-menu.All reactions