-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from Cognigy/build-improvements-cleanup
Build improvements cleanup
- Loading branch information
Showing
105 changed files
with
1,874 additions
and
9,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
{ | ||
"text": null, | ||
"data": { | ||
"_cognigy": { | ||
"_default": { | ||
"_image": { | ||
"type": "image", | ||
"imageUrl": "https://placekitten.com/300/300", | ||
"buttons": [ | ||
{ | ||
"type": "web_url", | ||
"title": "Download", | ||
"url": "https://placekitten.com/300/300" | ||
} | ||
] | ||
} | ||
}, | ||
"_webchat": { | ||
"message": { | ||
"attachment": { | ||
"type": "image", | ||
"payload": { | ||
"url": "https://placekitten.com/300/300", | ||
"buttons": [ | ||
{ | ||
"type": "web_url", | ||
"title": "Download", | ||
"url": "https://placekitten.com/300/300" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
"text": null, | ||
"data": { | ||
"_cognigy": { | ||
"_default": { | ||
"_image": { | ||
"type": "image", | ||
"imageUrl": "https://placewaifu.com/image/300/300", | ||
"buttons": [ | ||
{ | ||
"type": "web_url", | ||
"title": "Download", | ||
"url": "https://placewaifu.com/image/300/300" | ||
} | ||
] | ||
} | ||
}, | ||
"_webchat": { | ||
"message": { | ||
"attachment": { | ||
"type": "image", | ||
"payload": { | ||
"url": "https://placewaifu.com/image/300/300", | ||
"buttons": [ | ||
{ | ||
"type": "web_url", | ||
"title": "Download", | ||
"url": "https://placewaifu.com/image/300/300" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
cypress/integration/message-renderer/sourceDirectionMapping.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cypress/integration/regressions/21904-malformed-default-replies.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,43 @@ | ||
# Custom Avatars | ||
|
||
During the conversation, you can swap the image URLs used for `Bot` and `Agent` avatars by sending certain message content: | ||
|
||
Set a bot avatar override | ||
|
||
```json | ||
{ | ||
"_webchat": { | ||
"botAvatarOverrideUrl": "https://placekitten.com/200/200" | ||
} | ||
"_webchat": { | ||
"botAvatarOverrideUrl": "https://placewaifu.com/image/200/200" | ||
} | ||
} | ||
``` | ||
|
||
Reset the bot avatar | ||
|
||
```json | ||
{ | ||
"_webchat": { | ||
"botAvatarOverrideUrl": "" | ||
} | ||
"_webchat": { | ||
"botAvatarOverrideUrl": "" | ||
} | ||
} | ||
``` | ||
|
||
Set an agent avatar override | ||
|
||
```json | ||
{ | ||
"_webchat": { | ||
"agentAvatarOverrideUrl": "https://placekitten.com/200/200" | ||
} | ||
"_webchat": { | ||
"agentAvatarOverrideUrl": "https://placewaifu.com/image/200/200" | ||
} | ||
} | ||
``` | ||
|
||
Reset the agent avatar | ||
|
||
```json | ||
{ | ||
"_webchat": { | ||
"agentAvatarOverrideUrl": "" | ||
} | ||
"_webchat": { | ||
"agentAvatarOverrideUrl": "" | ||
} | ||
} | ||
``` |
Oops, something went wrong.