Skip to content

Open links in agent chat messages in a new tab #9422

Description

@eugenegujing

Feature Summary

When a message in the agent chat contains a link, clicking it loads the page in the same browser tab, so the workflow editor and the conversation are gone. The user has to go back and reopen the workflow to continue.

The chat renders messages with <markdown> (agent-chat.component.html), and the rendered link has no target and no rel:

<a href="https://texera.apache.org/docs/latest/reference/operators/data-cleaning/limit/">official Limit operator documentation</a>

To see it on main

  1. Enable the agent, open a workflow, and create an agent in the AI Agents panel.
  2. Send a message with a URL in it, such as https://texera.apache.org/docs/latest/. Messages you type are rendered the same way as the agent's answers.
  3. Click the link in the chat. The page opens in the current tab and replaces the workflow editor.

This matters more once the agent answers with documentation links (#9377, change 2).

Proposed Solution or Design

Open web links in a chat message in a new tab, so the editor and the conversation stay where they are.

Affected Area

No response

Activity

  1. added a commit that references this issue on Nov 16, 2026
    52093b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions