Releases: Cognigy/WebchatWidget
Releases · Cognigy/WebchatWidget
2.10.3
2.10.2
2.10.1
2.10 - Customizable Avatars
New Features
- During the conversation, you can swap the image URLs used for
Bot
andUser
avatars by sending certain message content:
Set a user avatar override
{
"_webchat": {
" userAvatarOverrideUrl": "https://placekitten.com/200/200"
}
}
Reset the user avatar
{
"_webchat": {
"userAvatarOverrideUrl": ""
}
}
Set a bot avatar override
{
"_webchat": {
"botAvatarOverrideUrl": "https://placekitten.com/200/200"
}
}
Reset the bot avatar
{
"_webchat": {
"botAvatarOverrideUrl": ""
}
}
Bug Fixes
- Using the speech input plugin will no longer append JSON text to the message text
- Using Webchat / Messenger templates with images in the Say node should now load images with complex URLs correctly
2.9.1
2.9.0 - CSS Customization
New Features
- Add CSS classes to allow customization
Bug Fixes
- Fix visual errors for RTL layouts
2.8.2
2.8.1
2.8.0 - Connection Status Indicator, Dynamic Image Aspect Ratios
New Features
Connection Status Indicator
This optional feature will show an overlay over the Webchat when the connection is lost during a conversation until it reconnects. You can enable it by passing enableConnectionStatusIndicator
in the Webchat settings during initialization as in the example code below.
initWebchat('...', {
settings: {
enableConnectionStatusIndicator: true
}
})
Dynamic Image Aspect Ratios
You can now change the fixed image aspect ratios of certain Webchat Templates to be dynamic (the image is as high as it needs to be) via the dynamicImageAspectRatio
setting.
This affects the following Webchat templates:
- Image in Gallery Template
- Header Image in List Template
- Image in Media/Attachment Template
initWebchat('...', {
settings: {
dynamicImageAspectRatio: true
}
})