feat: Add an extended bubble design for the widget (#1123)

* feat: Add a new design for chat bubble

Signed-off-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>

* Add i18n

* Fix stye issues

* Set fixed font-size

* Update docs for bubble
This commit is contained in:
Pranav Raj S
2020-08-09 16:07:32 +05:30
committed by GitHub
parent a04ca24def
commit 0adbc346df
16 changed files with 164 additions and 84 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -23,9 +23,20 @@ window.chatwootSettings = {
hideMessageBubble: false,
position: 'left', // This can be left or right
locale: 'en', // Language to be set
type: 'standard', // [standard, expanded_bubble]
};
```
Chatwoot support 2 designs for for the widget
1. Standard (default)
![Standard-bubble](./images/sdk/standard-bubble.gif)
2. Expanded bubble
![Expanded-bubble](./images/sdk/expanded-bubble.gif)
### To trigger widget without displaying bubble
```js