Skip to content

[FEATURE]: GUI plugins: let a LinkHandler claim external http(s) links from session content #59798

Closed as not planned

Description

@ravi-devrev

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

LinkHandler only sees local links. A plugin cannot take an http(s) link from session content, so every external link goes straight to the system browser.

Proposal: LinkHandler.external?: boolean. Handlers that declare it are offered http(s) links from session content (and only those), by priority; a link no handler takes opens in the system browser as today. Link gets external?: boolean so match knows which kind it is looking at.

Use case: keep links to a known site in the session's browser pane, with its sign-in, instead of losing them to the system browser.

The host change is small (the link router asks external handlers first). We carry it downstream with tests and can open a PR.

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed proposal! To restate it: you'd like GUI plugins to be able to opt in, via LinkHandler.external and Link.external, to http(s) links from session content. A plugin could then, for example, keep links to a known site in the session's browser pane where you're signed in, instead of always sending them to the system browser.

    Right now LinkHandler only covers local links, and external links skip the handler registry entirely, so a plugin can't do this today. It would need the API change you describe. Maintainers will consider it. If you open the PR, linking it here will help them review it alongside this request.

    Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions