-
Notifications
You must be signed in to change notification settings - Fork 62
Support Chatwoot Expanded Bubble #124
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
base: main
Are you sure you want to change the base?
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/calibreapp/react-live-chat-loader/9viwkDhVtiWK5o9gUNiXGg5S6qHW |
|
@billykwok Thanks for your contribution 🙌 Could you update |
f8139dd to
ed55f44
Compare
|
Thanks for looking at it promptly. Updated. |
|
@billykwok I added the new configuration option to the Chatwoot demo page, but it looks like when Chatwoot loads the configuration option isn't passed: Screen.Recording.2022-03-03.at.12.31.06.pm.mov |
|
To enable Expanded Bubble in the real Chatwoot widget, you also need to set the corresponding properties in the It will work if you execute the following code in the dev tool console before triggering the replacement of the fake chat bubble. window.chatwootSettings = { type: 'expanded_bubble', launcherTitle: 'Get help' };I did not add the code for setting these properties to Perhaps I could add an extra remark in Alternatively, I can make it such that the |
|
@billykwok I think a README update would be helpful. If you're able to add that documentation I'd be happy to copy edit and get it merged. |
|
Hi @benschwarz and hi @billykwok what is the status of this MR? I really like to have this feature :) |
This PR introduces support for Chatwoot Expanded Bubble.
Standard Bubble
This is what
react-live-chat-loaderalready supports.Expanded Bubble
This is what this PR adds.
The text and the styles of the expanded bubble are applied when the new
launcherTitleprop is specified.launcherTitleis the same name used in the official Chatwoot API.