mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 09:01:06 +03:00
Embed chat configuration updated (#2723)
This commit is contained in:
@@ -128,6 +128,7 @@ const chatwindowConfig = (isReact = false) => {
|
|||||||
showTitle: true,
|
showTitle: true,
|
||||||
title: 'Flowise Bot',
|
title: 'Flowise Bot',
|
||||||
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
||||||
|
showAgentMessages: true,
|
||||||
welcomeMessage: 'Hello! This is custom welcome message',
|
welcomeMessage: 'Hello! This is custom welcome message',
|
||||||
errorMessage: 'This is a custom error message',
|
errorMessage: 'This is a custom error message',
|
||||||
backgroundColor: "#ffffff",
|
backgroundColor: "#ffffff",
|
||||||
@@ -155,6 +156,10 @@ const chatwindowConfig = (isReact = false) => {
|
|||||||
maxChars: 50,
|
maxChars: 50,
|
||||||
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
||||||
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
||||||
|
sendMessageSound: true,
|
||||||
|
// sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
|
||||||
|
receiveMessageSound: true,
|
||||||
|
// receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
|
||||||
},
|
},
|
||||||
feedback: {
|
feedback: {
|
||||||
color: '#303235',
|
color: '#303235',
|
||||||
@@ -170,6 +175,7 @@ const chatwindowConfig = (isReact = false) => {
|
|||||||
showTitle: true,
|
showTitle: true,
|
||||||
title: 'Flowise Bot',
|
title: 'Flowise Bot',
|
||||||
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
||||||
|
showAgentMessages: true,
|
||||||
welcomeMessage: 'Hello! This is custom welcome message',
|
welcomeMessage: 'Hello! This is custom welcome message',
|
||||||
errorMessage: 'This is a custom error message',
|
errorMessage: 'This is a custom error message',
|
||||||
backgroundColor: "#ffffff",
|
backgroundColor: "#ffffff",
|
||||||
@@ -197,6 +203,10 @@ const chatwindowConfig = (isReact = false) => {
|
|||||||
maxChars: 50,
|
maxChars: 50,
|
||||||
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
||||||
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
||||||
|
sendMessageSound: true,
|
||||||
|
// sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
|
||||||
|
receiveMessageSound: true,
|
||||||
|
// receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
|
||||||
},
|
},
|
||||||
feedback: {
|
feedback: {
|
||||||
color: '#303235',
|
color: '#303235',
|
||||||
|
|||||||
Reference in New Issue
Block a user