v0.10.0
0.10.0 - 2019-03-12
Added
- Added changelog.
- Native support for mobile devices for Webchat. Customizable breakpoint (
mobileBreakpoint, webchat/index.js). - Enable media attachments for Webchat (
userInput.attachments.enableof webchat/index.js). - Enable an emoji picker for Webchat (
userInput.emojiPicker, webchat/index.js). - Customizable scrollbar for Webchat (
theme.scrollbar, webchat/index.js). Now the default scrollbar's style will be like the one in OS X systems for all platforms (Mac, Linux and Windows). - New handoff options for handling cases with Hubtype's Desk. Refer to Human Handoff section.
- Customization of Webchat's header, userInput bottom area, userInput text box, replies, buttons styles and webview header (
header.style,reply.style,button.style,userInput.style,userInput.box.style,webchat.header.style, webchat/index.js). - Cancel's label of the Webchat's persistent menu can now be changed by passing to
persistentMenuthe object{closeLabel: 'newCloseLabel'}. export const config = { defaultDelay: 1, defaultTyping: 2 }can be added to src/index.js to define a global configuration for typing and delay options.
Changed
- Start using "Changelog".
- Rewrite Human Handoff section.
- Rewrite Botonic Settings section.
- Rewrite Custom Webchat section.
- Updated custom-webchat template.
Fixed
- Typography now will be changed in a proper way for all Webchat components by passing the
fontFamilyattribute intheme.stylein webchat/index.js. - Webchat's triangles of messages bubbles (bot/user) are now modified according to
style.backgroundpassed tobotMessageStyleoruserMessageStyle. - Typing indicator not showing up when messages had delay/typing as webchat didn't scroll to bottom.
- Now typing and delay work properly in production.
- Remove errors prompted in browser developer's console by changing dep
@rebass/gridtorebass. - Carousels with just one element won't be broken.
- Using
staticAssetincustom-webchattemplate that produced a bug in production.