BEFORE
Configuration for the disclaimer was limited to the title and message text. The button text can be customized but instruction was missing from the readme.
disclaimer: {
title: 'Disclaimer',
message: 'By using this chatbot, you agree to the <a target="_blank" href="https://flowiseai.com/terms">Terms & Condition</a>',
},
AFTER
Added ability to configure the text color, button color, button text color, background color, and the "blurred background color" (the blurred background that overlays the chat interface while the modal is shown). Also added the missing button text property.
disclaimer: {
title: 'OUR DISCLAIMER',
message: 'Do not include personal information and check responses for accuracy.',
textColor: 'black',
buttonColor: 'black',
buttonText: 'OK',
buttonTextColor: 'white',
blurredBackgroundColor: 'rgba(255, 255, 255, 0.8)', //The color of the blurred background that overlays the chat interface
backgroundColor: 'gray',
},
BEFORE Configuration for the disclaimer was limited to the title and message text. The button text can be customized but instruction was missing from the readme.
AFTER Added ability to configure the text color, button color, button text color, background color, and the "blurred background color" (the blurred background that overlays the chat interface while the modal is shown). Also added the missing button text property.
Can be tested using the web.js from my fork: https://cdn.jsdelivr.net/gh/saatchi-david/FlowiseChatEmbed/dist/web.js
Thanks @HenryHengZJ !