web-components icon indicating copy to clipboard operation
web-components copied to clipboard

[message-list] Add support for hyperlinks

Open MatthewVaadin opened this issue 1 year ago • 2 comments

Describe your motivation

Iván Ruiz in the message list documentation comments:

Are hyperlinks supported in this component? ... It would be great to have this feature because it is common to share links, for example [when] interacting with a chatbot.

Sharing links when communicating ideas is a pretty common use case.

Describe the solution you'd like

As a basic feature, it should be possible to construct a message list item with a URI instead of a String. This should render as a link to the resource.

A more flexible solution would be to allow any component content to be added to the message part.

Describe alternatives you've considered

No response

Additional context

No response

MatthewVaadin avatar Apr 25 '24 11:04 MatthewVaadin

This falls under the bigger dilemma of how to provide rich text / mixed media support in messages (as LLMs can also return lists, images etc), and also somehow make that properly accessible.

rolfsmeds avatar Apr 25 '24 13:04 rolfsmeds

A first step could be to support web links directly pasted into the message input person to person, for reference in the chatlog, etc. Ex. "You will find the information here https://information.site/look-here."

Support for AI Chatbot is next level. I say prioritize simple basic features first.

Avec112 avatar Apr 30 '24 21:04 Avec112

Hi all.

At least, that basic feature should be included if possible.

thanks

ruizrube avatar May 17 '25 08:05 ruizrube

We're actually in the process of adding markdown support right now. It's planned to ship in V24.8. Details in the PRD here: https://github.com/vaadin/platform/issues/7601

rolfsmeds avatar May 19 '25 15:05 rolfsmeds

Should be resolved with https://github.com/vaadin/web-components/pull/9080

sissbruecker avatar May 26 '25 07:05 sissbruecker