Skip to content

Latest commit

 

History

History
156 lines (69 loc) · 4.76 KB

CHANGELOG.md

File metadata and controls

156 lines (69 loc) · 4.76 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.5.9 (2019-06-06)

0.5.8 (2019-05-07)

Bug Fixes

0.5.7 (2019-04-29)

0.5.6 (2019-03-06)

0.5.5 (2019-02-27)

0.5.4 (2019-01-16)

0.5.3 (2018-12-21)

0.5.2 (2018-12-17)

Bug Fixes

  • it was impossible to click behind the empty space of widget button (8e63321)

0.5.1 (2018-12-03)

0.5.0 (2018-11-28)

0.4.2 (2018-11-14)

Features

  • 🎸 Add max-width to images and expose image params (2d3482b)

BREAKING CHANGES

  • \

0.4.1 (2018-10-29)

0.4.0 (2018-10-19)

0.3.4 (2018-10-12)

0.3.3 (2018-10-06)

0.3.2 (2018-10-06)

Bug Fixes

  • testing suite completing appropriately (e89087e)

0.3.1 (2018-07-11)

0.3.0 (2018-07-06)

0.1.1 (2018-04-29)

0.1.0 (2018-04-11)

0.5.8

  • Namespaced all css declarations so that they don't affect styles outside of the widget.

0.5.7

  • Fixed a bug where the connection would not close down when the component unmounted and continued polling indefinitely in the background.

0.5.6

  • Fixed a bug where named links would not render in a received message

0.5.5

  • New prop, docViewer, if this props is true, this will treat every link in received messages as a document and will open it in a popup using docs.google.com/viewer (note: this is an experimental feature and should be used with caution)

0.5.4

  • When reconnecting to an existing chat session, the bot will send a message contained in the localStorage key specified by the NEXT_MESSAGE constant. The message should be stringified JSON with a message property describing the message and an expiry property set to a UNIX timestamp in milliseconds after which this message should not be sent.

0.5.3

  • Added the parameter hideWhenNotConnected to not display the widget when the server is not connected (defaults to true)
  • Fixed issue where the 'connected' property was being loaded from previous session instead of being triggered on actual connection
  • Reduced the size of the widget container on mobile and in fullscreen mode (blocking clicks)

0.5.2

  • Added support for custom images for open and close buttons of chatWidget interface
  • Fixed size of chatWidget when closed preventing to take more space than the open button so that we can click around the open button with no problem

0.5.0

  • Added session persistence with Rasa Core

0.4.3

  • Implemented session persistence for chat widget.
  • Chat messages and widget state params are stored in storage of the browser.
  • Sessions are synchronized with server by a session_id.
  • The param storage is exposed which allows the user to specify where the session is stored.
  • In the case of session, session storage of the browser is used, and the session persists as long as the browser is open, and is erased after it is closed.
  • In the case of local, local storage of the browser is used and the session persists even after the browser is closed. The session is erased when the browser's cookies are cleared.
  • Implemented connecting notifier and disabled input field before session_confirm is received from the server and the session is generated and synchronized.
  • Separate connecting to server and sending initPayload. Server is connected when the component mounts, while initPayload is sent when the chat is toggled open and the server is connected.

0.4.2

  • Added a image size property to widget initialization, in order to crop-scale images returned by bot.
  • Images are crop-scaled to the defined size by the CSS property {object-fit: cover}. The content is sized to maintain its aspect ratio while filling the element’s entire content box. If the object's aspect ratio does not match the aspect ratio of its box then the object will be clipped to fit. The clipping will be taken from the center.
  • WebChat.toggle(), WebChat.open(), and WebChat.close can be used to change the state of the chat box to open or closed.
  • WebChat.show() and WebChat.hide() can be used to show or hide the entire chat widget.
  • WebChat.isOpen() and WebChat.isVisible() can be used to get the open state of the chat box and the visibility state of the entire widget.

0.4.1

  • Removed Linkify, added markdown support for response messages (urls still are detected automatically but not emails, to ensure a link appears use markdown syntax)
  • Fixed fullScreenMode prop: now dispatches the initPayload when the component mounts, removed border-radius