baptisteArno / typebot.io

💬 Typebot is a powerful chatbot builder that you can self-host.
https://typebot.io
Other
7.25k stars 1.99k forks source link

Initial Load of Chat Bubble Too Slow #1349

Closed jdefranco closed 4 months ago

jdefranco commented 7 months ago

When clicking to open the chat bubble an empty modal window opens immediately, but the chatbot takes a while to appear and initiate its messages.. it's so long that users can feel that something is broken. It needs to be faster or at least have something appear that indicates its loading...

baptisteArno commented 7 months ago

Can you provide a video or something showing the issue?

This might also depend a lot on what you are computing before the first input block

jdefranco commented 7 months ago

https://www.awesomescreenshot.com/video/25778388?key=03fb8d5491b520344c5463f85efd8666

In this one it takes a good amount of time to appear.. something i noticed that's interesting though is it seems to have appeared immediately after i adjusted the browser window, maybe it was just a coincidence though. I've seen similar behavior before with content inside modals on other sites, where adjusting the window makes the items appear.

jdefranco commented 7 months ago

I think the issue may be the HTML/Javascript embed option.. I switched to Script embed and it loads right away...

baptisteArno commented 7 months ago

How are you embedding it? Is it on Wordpress?

If that's the case: https://docs.typebot.io/deploy/web/wordpress#your-typebot-isnt-showing

jdefranco commented 7 months ago

Yes this instance is on wordpress, but I also have one embedded with react that is behaving similarly to how the HTML/Javascript was loading.. (taking a while to begin)

baptisteArno commented 6 months ago

OK, provide the React site example if possible! Because I think it's not a loading issue. The real issue is with other WP plugins, making the typebot only appear on mouse movement / window resizing or any other interactions

rohan-dave commented 5 months ago

I am using a Carrd website and doing the HTML embed, having the same issue of slow loading of the first chat message.