Closed toi500 closed 5 months ago
@toi500 I think it's not a good idea to hide the close button on desktop because some users don't know how to actually close the chatbot if they don't see a close button. A good example of this is available here: https://www.chatbase.co/. In this example, the chatbot can be closed by clicking on the icon as well as the close button.
@amansoni7477030 I get your point but I have never encountered a user who asked here in Flowise or anywhere else how to close the chatbot after opening it by clicking the chatbot button. It is quite intuitive and the way other main players do it.
The reasons for the change are as follows:
@toi500 check : https://www.chatbase.co/ https://www.botsonic.com/ https://devrev.ai/
This are some major chatbot service providers they all provoide a functionality for closing bot from both clicking on the icon as well as the close button.
@amansoni7477030 my friend, I already told I got your point. I could also provide a list of other chatbot players that do not use it, but what is the point?
But since you've already brought up some of them, Botonic (https://www.botsonic.com/) and DevRev (https://devrev.ai/) don't have a chat history
deletion function, so there's no way for users to accidentally delete their history by closing it.
And this is the main reason I made this PR:
If @HenryHengZJ (or any other member of the team) thinks this change is unncesary, I have no problem to close this PR, or bad feelings about it either. I just think is a good chage and wanted to share it.
@toi500 I have no issue with this PR; I was just sharing my opinion on it. I think we should wait and let @HenryHengZJ decide what he wants for this change.
@toi500 I have no issue with this PR; I was just sharing my opinion on it. I think we should wait and let @HenryHengZJ decide what he wants for this change.
We can at least agree we both want the best possible embbed chatbot in flowise :wink:
@toi500 I have no issue with this PR; I was just sharing my opinion on it. I think we should wait and let @HenryHengZJ decide what he wants for this change.
We can at least agree we both want the best possible embbed chatbot in flowise 😉
Yes, thats what i want
Hi @toi500 @HenryHengZJ, what do you think about the feature with the three dots containing extra options? Check below screenshot:
Hii @HenryHengZJ can you please also review #192 this pull request
also thank you guys so much for the contribution! I personally dont have preference. I dont think it matters much to end user as well. If I have to pick one, for consistency, I suppose we can leave it there.
the close button is lil bit off in my opinion, not coming from this PR:
@HenryHengZJ after your feedback, I am going to close this PR as it is unnecessary. Me (and any other educated user in the matter) can always make these sorts of changes in our own custom web.js anyway.
top borders
on mobile--
close button
on desktop and made it visible only when needed on mobile (full screen)https://github.com/FlowiseAI/FlowiseChatEmbed/assets/138339291/f24c2b22-6437-4f89-a12c-a2592331653e
No conflicts with the full-screen chat embedded
Live demo pop-up: https://flowise-test03.surge.sh/ full-screen: https://flowise-test03.surge.sh/index-full