theopenconversationkit/tock-react-kit

Message components are not easily reusable

Closed this issue · 0 comments

Currently, tock-react-kit exports its message components, allowing custom frontends to reuse them in their own chat interface. However, these components all expect to be directly inserted inside an HTML list with specific characteristics, limiting their reusability. It would be helpful to have every component be self-contained in a generic HTML element.

Drawbacks

Such a change will require existing custom frontends which copied the Conversation component to be updated.
Moreover, it may break custom stylesheets that rely on the elements' types - although this kind of selector has never been officially supported.