jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: if a model returns a url in a response and user clicks it opens in the window that renders jan

Open hwc0x01 opened this issue 1 year ago • 1 comments

Describe the bug prompt came back with url, if user left clicks it opens in the jan window and you can't get back. ctrl+click opens a new child browser window.

Steps to reproduce see above

Expected behavior ideally should either open in default system browser. if not should open by default in child window or tab (if tabs are possible).

hwc0x01 avatar Jan 05 '24 03:01 hwc0x01

+1 to this.

Since the text that is output is Markdown and Markdown doesn't have a provision to open links in a new window, perhaps the links can be formatted using HTML (which Markdown is compatible with).

Example:

<a href="https://weathernetwork.com/" target="_blank" rel="noopener">https://weathernetwork.com/</a>

pbeens avatar Jan 05 '24 15:01 pbeens

hi @pbeens @hwc0x01 thank you for suggestion, @namchuai already fix open in default system browser, and i just update UI/UX make the color blue and hover underline so better readability for user

urmauur avatar Jan 08 '24 08:01 urmauur