New chat does not clear the messages panel

When the chatbot window is small (i.e. it switches to the “narrow” mode with the burger icon to add new chat) AND there’s only ONE agent, the New chat button does not work as expected. It does not switch to the "empty 'right panel with no messages except the agent “hello” message but it just shows the previously selected chat instead.

Note that this works fine if the window is wide.




Hello @Dave_D,

It really looks like a bug on your end - thank you for noticing it. I already sent it to the dev team, and they will work on a fix, unfortunately there is no ETA.

Kind regards,

Thanks for the update @Siarhei . Sad to hear there’s no ETA. Are you planning to open source the code of the chat UI? We’d be happy to provide fixes. Currently, the library we downloaded is MIT-licensed but the source code in the zip file was minified only which makes it impossible to contribute/adjust.

Hello @Dave_D ,

Currently, ChatBot is not an open source project, but a free version, so unfortunately currently there are no plans to share the source code(it may be changed in future).

Some update on the above bug - it will be fixed in the next bugfix release.

Kind regards,

Hello @Dave_D,

The described issue was fixed in the latest release.

Kind regards,

Hi @Siarhei , thanks for the update! However, it seems there’s been a regression made since your own Chat.html demo is throwing an error “chat.parse is not a function” in the 1.0.2 release. Could you please check? Thanks!

Hello @Dave_D,

Could you please clarify which exact demo isn’t work?
As all snippets:
https://snippet.dhtmlx.com/sruqqk31?text=chatbot&mode=wide

And product page demo seems to work correctly:

Kind regards,

Hi @Siarhei , I mean the Chat.html demo in the demos/ folder of the zip archive that I downloaded, i.e. the chatbot_1.0.2_mit.zip.

Hi @Dave_D,

Thank you for the clarification, it really looks like a bug in our end. I already sent it to devs, and they will try to fix it ASAP.

Kind regards,