- Added markdown support using react-markdown npm library
Revert renaming className to be compatible with people who are overwritting the style.
- Use the new domain name https://cai.tools.sap
Improve bundle size
- reduce dist bundle size by 34% (551kb).
- reduce lib bundle size by 61% (527kb).
Fix input height for IE11. Lodash dependency has been removed.
Revert by adding react-slick dependency temporary for IE11 compatibility.
Fix style of Slider for Quickreplies message when having not a lot items.
Action delay behavior has been added. Bot memory is now available when using the script. Fix eslint
The dependency react-slick has been removed. It was used for carousel and quickreplies messages. It is replaced by a component written ourself.
Feature action delay is now supported.
Before version 1.2.0, the placeholder text displayed in the user's input was 'Write a reply'.
In versions 1.2.0 and above, it's now configurable.
Available as userInputPlaceholder (string) in the preferences object fetched via getChannelPreferences().
Patch preventing the apparition of "null" in the webchat's input on Edge
TL;DR: Improve the way buttons and quickReplies are handled by the webchat.
A button or a quickReply is composed of:
- a title, displayed in the webchat (ex: "Let's the show begin!")
- a value, sent to the Bot Connector when the button is clicked (ex: "RANDOM_BORING_INTERNAL_VALUE")
Previously, the value was sent as a text message, and appeared as such in the webchat as a reply from the user. This mean that when clicking on "Let's the show beging", a user message would appear in the webchat with the content "RANDOM_BORING_INTERNAL_VALUE".
Now, when clicking on a button, both the value and the title are sent. This way, the Bot Connector still receive the value, but the webchat can display the more user-friendly title.
The first versioned release of the webchat.
Every breaking change, bug fix or improvement will be referenced here.