Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Releases: artificialsolutions/teneo-web-chat

v3.0.0

03 Sep 07:36
Compare
Choose a tag to compare

*** THIS VERSION CONTAINS BREAKING CHANGES ***

  • The code to embed Teneo Web Chat in your site has changed. When updating, make sure you update the embed code on all pages where Teneo Web Chat is made available.
  • The file name of the Teneo Web Chat has been changed from main.js to teneo-web-chat.js.
  • CSS styles used by Teneo Web Chat are now prefixed with twc-. If you modified the look & feel by overriding the Teneo Web Chat CSS styles, you may need to rename some styles.

NEW FEATURES

  • Javascript API
  • New message type 'Modal'
  • New message type 'System message'
  • Option to show both a minimize and close button in header
  • Text messages can now contain an avatar icon and a date line
  • Support for message author type 'agent' (in addition to the already existing author types 'bot' and 'user')
  • Support for typing indicators

JAVASCRIPT API

The new Teneo Web Chat Javascript API allows you to trigger Teneo Web Chat events, respond to events that happen inside Teneo Web Chat and get details from Teneo Web Chat. This lets you change or extend its behavior in ways that are not provided by the standard configuration.

  • Trigger events
    • Maximize
    • Minimize
    • Send input
    • End session
    • Clear chat history
    • Reset
    • Add message
    • Show typing indicator
    • Hide typing indicator
    • Set chat window title
    • Disable user input
    • Enable user input
  • Subscribe to events
    • On ready
    • On open button clicked
    • On minimize button clicked
    • On close button clicked
    • On visibility changed
    • On user typing
    • On input submitted
    • On message button clicked
    • On engine request
    • On engine response
    • On new message
  • Getters
    • Get state
    • Get message list
    • Get engine URL

IMPROVEMENTS AND FIXES

  • Icons used in the UI can now be configured
  • Improved support for iOS
  • Fix error in console about scrolling
  • Fix scrolling issue when displaying large images
  • Fix layout of buttons with long text
  • Streamlined initialization parameters
  • Updated dependencies

v2.5.1

17 Jun 09:14
4a4ed23
Compare
Choose a tag to compare
  • Fix: don't show scrolling animation when reopening chat window but start at bottom instantly
  • Improvement: show spinner after clicking buttons, quick replies etc

v2.5.0

10 Jun 14:57
9a9a125
Compare
Choose a tag to compare
  • Support for splitting output text into multiple text bubbles
  • Updated dependencies

v2.4.0

27 May 14:27
2e9a820
Compare
Choose a tag to compare
  • Showing spinner while waiting for engine response
  • Updated dependencies

v2.3.0

25 May 14:31
cf25836
Compare
Choose a tag to compare
  • The chat window can now be reset programmatically, by calling the resetChat() function

v2.2.0

15 May 09:49
b421a8c
Compare
Choose a tag to compare
  • IE11 support

v2.1.0

16 Apr 13:53
7ee61eb
Compare
Choose a tag to compare
  • Added new component for Audio playback
  • Ignore line breaks in answer texts
  • Gracefully handle invalid component JSON

v.2.0.1

01 Apr 14:18
Compare
Choose a tag to compare
  • Improved browser support
  • An optional map of parameters can now included when Teneo Web Chat is initialized. These parameters will be included as input parameters in requests to engine
  • Minor UI improvements

v2.0.0

24 Mar 13:37
652fca3
Compare
Choose a tag to compare
  • Support for many components that can be used in the bot's response:
    • Buttons
    • Cards
    • Clickable lists
    • Image
    • Quick replies
    • Videos (YouTube, Vimep, mp4)
    • Combo (combine multiple of the above in a single response)
  • Updated header icon
  • Made header icon configurable
  • Updated dependencies

v1.1.0

22 Aug 13:31
09197be
Compare
Choose a tag to compare
  • New: include parameter 'channel' with value 'teneo-webchat' in requests to engine
  • New: add option to kill engine session when chat UI is closed
  • Fix: .focus warnings