Skip to content

Releases: dmitrizzle/chat-bubble

RASA NLC support

20 Jan 23:20
381d2a7
Compare
Choose a tag to compare

Thank you @shashwatrathod for the docs, example, and code mode which now make simple natural language cognition applications with chat-bubble an easy task. This was always possible since that's what this tool was originally built for, but the new documentation for the open-source RASA NLC framework makes this task much more accessible.

Pass answer content when the answer is function

18 Apr 18:32
Compare
Choose a tag to compare

If you're running a JS function within your answer function, you will now receive a single parameter, content which is a string containing the text in the answer bubble the user has clicked:

#75 - thank you @ereltapiro

Fix bubbles reply issues

11 Mar 00:59
Compare
Choose a tag to compare

Remember & show chat history

02 Apr 09:01
9cac1ff
Compare
Choose a tag to compare

After some time in production on Archie.AI this version is good to go. Releasing to NPM!

Remember & show chat history

01 Feb 05:35
cab45c8
Compare
Choose a tag to compare
Pre-release

This is a release candidate for a function parameter that allows you to remember and then recall past conversations in chat-bubble. This method will use localStorage to keep all the data, however, you can probably refit it to use whatever you've saved on your server.

This function isn't as comprehensive as, say, Slack's chat tools. It won't let you incrementally download history while you go backwards in time, neither will it let you go forwards in time should you have searched something in chat history. This is a very simple "last X conversations" reminder for the user.

It is opinionated (in terms of design and how it appears on the screen), however, you can customize how many past interactions you'll want to recall. Just add an integer greater than zero to recallInteractions: Int to options object. That's all.

chat-bubble will attempt not to be repetitive or over-zealous with remembering past interactions. Specifically, it won't memorize the first thing it says when the user opens up the app unless the user has interacted with the bot. This is to avoid unnecessary, uninformative memory recollection of stuff the bot will say anyway.

Note that when the bot "recalls" past conversation, everything appears at once (no animation) and with .25 opacity - you can change the styles as you wish if you customize the CSS files. Trust me, you don't want the bubbles to animate when they are just a matter-of-fact previous conversations user might or might not want to recollect.

That's it!

Update for design, examples and guides.

29 Jan 04:02
a40b784
Compare
Choose a tag to compare
  • Re-written README.md for better readability.
  • Added ENV.md for those who wish to get a quick start working with ES6 environment with WebPack and Yarn.
  • Updated all example files for design and better code comments. Listed them in Demo section.
  • Updated default CSS for a more "flat" design.
  • Updated demo gif.

Safari browser fix

09 Jan 04:16
Compare
Choose a tag to compare

Fixed an issue in Safari browsers that caused reply/answer bubbles to not show. Thanks @omertarik96!

Making things simpler.

10 Nov 05:57
b61c9bc
Compare
Choose a tag to compare

It's now much easier to import and create chat windows if you are using WebPack or similar compiler.

Fix for Safari rendering issue

05 Oct 15:12
Compare
Choose a tag to compare

As outlined in #41:

Safari caused weird bug that made answer bubbles disappear, which is fixable by forcing it to use 3d render acceleration.

Support for older browsers

13 Jul 14:45
Compare
Choose a tag to compare

Some browsers (IE & Edge) do not have support for new JavaScript syntax used in this app. We have fixed that issue.