eugenegujing opened a new issue, #9422:
URL: https://github.com/apache/texera/issues/9422

   ### 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`:
   
   ```html
   <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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] Open links in agent chat m... eugenegujing (via GitHub) via notifications

Reply via email to