Closed bhaktatejas922 closed 1 year ago
This update enhances the Lingtual chat widget's configuration and appearance, introduces word-breaking behavior for chat messages, and improves the conditional rendering of suggestion containers. It also adds a link to "lingtual.com" in the "Powered by" section.
File | Summary |
---|---|
README.md |
Updated HTML and React code for integrating the Lingtual chat widget with additional attributes. |
public/index.html |
Removed an empty line. |
src/chatWidget/.../chatMessage/index.tsx |
Added "cl-break-words" class to div element for word-breaking behavior in chat messages. |
src/chatWidget/.../chatWindow/index.tsx |
Improved conditional rendering of suggestion containers and added a link to "lingtual.com". |
src/chatWidget/index.tsx |
Introduced new CSS class .cl-break-words for word-breaking behavior. |
🐇💻
Code changes here, code changes there,
Enhancing widgets with flair.
Words that break, links that bind,
In every pull request, treasures we find! 🎉
Summary by CodeRabbit
Release Notes:
.cl-break-words
to handle long words in chat messages. This improves readability by ensuring that words break appropriately if they exceed the width of the container.cl-suggestions_container
div in the chat window, ensuring it only renders when necessary. This optimizes the performance of the chat widget.