Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce more chat customization options #671

Merged

Conversation

vernondegoede
Copy link
Contributor

@vernondegoede vernondegoede commented Mar 3, 2024

This PR introduced a few non-breaking changes:

  • Introduced a few more options:
    • bot.name -> This will be the display name of the bot in the chat itself
    • bot.avatarUrl -> This will be the avatar shown for the bot. This can be useful for companies who want to show their own logo there.
    • user.avatarUrl -> This will show the avatar of the user. This can make the chat feel a bit more personal if a company has user avatars in the rest of their product.
    • warnBeforeClose -> This determines whether the "warning" dialog should be shown when clicking the X button in the top-right corner of the chat.
  • Added NL translations
  • Removed dead code, ran Prettier on all widget files and some other minor refactors to make things a bit more readable.

image

@gharbat gharbat merged commit b417c29 into openchatai:main Mar 3, 2024
4 checks passed
@vernondegoede vernondegoede deleted the vernon/improve-chat-customizations branch March 4, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants