Skip to content

Commit bdc8bb9

Browse files
committedMar 27, 2025
Merge branch 'main' into bug/87720-teaser-message-with-persisted-history
2 parents 250c1ce + a4900e5 commit bdc8bb9

22 files changed

+881
-331
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_
@@ -387,6 +388,17 @@ The avatars can be repositioned to appear at the top edge of a message rather th
387388
}
388389
```
389390

391+
- _webchat-input-get-started-button_
392+
The button to initiate the first interaction in the Webchat. You can customize its appearance, size, and background.
393+
394+
```CSS
395+
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-get-started-button {
396+
397+
border-radius: 10px;
398+
background-color: rgb(0, 123, 255);
399+
}
400+
```
401+
390402
- _webchat-input-button-add-attachments_
391403
The button to open the file attachment section, you can not change the icon but you can customize the position, size and background.
392404

‎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)