Skip to content

Commit 0ae2a82

Browse files
committed
Merge branch 'main' into feature/#87361-delete-previous-conversations
2 parents 0ef08fe + a4900e5 commit 0ae2a82

22 files changed

+885
-333
lines changed

cypress/support/commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Cypress.Commands.add("setRTLDocument", () => {
217217
Cypress.Commands.add("getHistory", () => {
218218
return cy.getWebchat().then(webchat => {
219219
// @ts-ignore
220-
return webchat.store.getState().messages;
220+
return webchat.store.getState().messages.messageHistory;
221221
});
222222
});
223223

docs/css-customization.md

+12
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ There are several classes that you need to take in consideration if you want to
3434
- _webchat-input-button-add-attachments_
3535
- _webchat-input-drag-and-drop-file-text_
3636
- _webchat-input-button-send_
37+
- _webchat-input-get-started-button_
3738
- _webchat-toggle-button_
3839
- _webchat-unread-message-preview_
3940
- _webchat-unread-message-badge_
@@ -404,6 +405,17 @@ The avatars can be repositioned to appear at the top edge of a message rather th
404405
}
405406
```
406407

408+
- _webchat-input-get-started-button_
409+
The button to initiate the first interaction in the Webchat. You can customize its appearance, size, and background.
410+
411+
```CSS
412+
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-get-started-button {
413+
414+
border-radius: 10px;
415+
background-color: rgb(0, 123, 255);
416+
}
417+
```
418+
407419
- _webchat-input-button-add-attachments_
408420
The button to open the file attachment section, you can not change the icon but you can customize the position, size and background.
409421

docs/embedding.md

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ See it in action:
158158
| progressiveMessageRendering | boolean | `false` | Enables output messages to appear progressively. |
159159
| renderMarkdown | boolean | `false` | Render markdown in text messages. |
160160
| scrollingBehavior | string | `"alwaysScroll"` | Allowed values: `"scrollUntilLastInputAtTop" \| "alwaysScroll"`. Decide how scrolling should behave if scrolled to bottom and a new message comes in. |
161+
| enableScrollButton | boolean | `true` | If false, hides the scroll-to-bottom button. |
161162

162163
#### Start Behavior
163164

0 commit comments

Comments
 (0)