Releases: aws-samples/aws-lex-web-ui
v.0.14.13
New Features in version 0.14.13
- Added new feature that allows the input area to be hidden if Response Card buttons are present. User
must select from the available set of buttons. To enable this feature set the property
ui.hideInputFieldsForButtonResponse to true in the lex-web-ui-loader-config.json. This file is stored in
the S3 bucket hosting the UI. Upload back to the S3 bucket and ensure the file has --acl public-read. This feature
is disabled by default. - Removed use of botocore.vendored.requests. Now imports this module for python based lambda functions.
New Features in version 0.14.12
- Defect fixes for CORS processing
- Updates for multi-region support
- Easy URLs to launch in us-east-1 (N. Virginia), eu-west-1 (Ireland), ap-southeast-2 (Sydney)
v0.14.9
v0.14.8
Addition of Thumbs up, Thumbs down, and Help processing. The lex-web-ui can be configured with values to send to the bot for each of these items. When configured with values the corresponding icon(s) will be rendered in the UI (message bubbles for Thumbs up / Thumbs down and title bar for help icon). These will be sent to the bot when selected.
Also updates to npm component versions.
Chrome AudioContext initialization fix
Fix to resolve issue with current Chrome browser where AudioContext was initialized prior to user action. AudioContext is now initialized after the microphone / record button is selected.
Removed use of nodejs 6
Update to remove use of nodejs 6
0.14.4
0.13.2
rebuild dist
0.13.1
0.13.0
- add markdown and html support
- add loading icon
0.12.0
This release brings significant improvements which include various
breaking changes (see items with the [BREAKING] label). It overhauls
the following areas:
- The loader script has been integrated into a single library. This
makes it easier to load the chatbot UI component since now there's only
one JavaScript file and a unified configuration - CloudFormation master template has been split into two different
templates based on the deployment mode (CodeBuild or Pipeline). This
simplifies the templates and their parameters - The chatbot UI messages are now encapsulated in a custom component
instead of a chip. The messages now display a date when clicked and can
show a bot avatar image next to the bot messages. More importantly, the
new message component will makes it easier in the future to extend the
content displayed in messages (e.g. adding html/markup rendering)
Changed
- [BREAKING] Merged fullpage and iframe loader functionality
into a library that loads from a single script. If you were using
including thechatbot-ui-*loader.js
scripts, you should change it to
lex-web-ui-loader.js
. This new library uses a constructor to create
a loader object. The loader object must explicitly call itsload()
function to load the component. For details, see the README under the
src/lex-web-ui-loader
directory and the html files undersrc/website
.
[0892314] - [BREAKING] Changed loader config to use a unified file for both the
iframe and full page loader. The new default configuration file name is:
lex-web-ui-loader-config.json
. See a sample under thesrc/config/
directory. [dbcac4c] - Changed loader to allow keeping parent origin in config when
embedded [245ac70] - Changed
loader build environment to be based on webpack. This includes
integration with babel, eslint, post-css and webpack-dev-server
[8f1b7ac] - Changed message bubble from vuetify chips to a custom component. This
was done to allow greater flexibility in the style and structure of the
message bubbles and in preparation to render a more complex message format
[67192a0] - Changed vertical overflow in non-mobile devices to allow scrolling. This
enables mobile browsers to go full-screen when scrolling
[3b8efc9] - Changed height calculation of toolbar, inputbar and message list to
make it more deterministic across browsers
[8b9132d] - Bumped dependency versions [48aa6ac,
72fb152]
Added
- Added time stamps to messages. It is shown under message bubbles when
focused [bd9e9f3] - Added basic mobile resolution detection
[afa316b] - Added the ability to include an avatar image next to the bot messages
[8140697] - Added message list event handler to scroll down to the bottom
[2a20d33] - Added CSS to auto hyphernation and word break text in messages
[502aa92] - Added automated test for MessageList and Message components
[1667fc6] - Added origin configuration support to CodeBuild deployment
[1d459d9] - Added a dynamically created page containing a code snippet and config
[7636bac] - added a base URL parameter to the loader which is used to
with relative links for the JSON configuration and dependencies
[9c954f6]
Removed
- [BREAKING] Removed iframe loader config file:
src/config/chatbot-ui-iframe-loader-config.json
. Its functionality
is now integrated insrc/config/lex-web-ui-loader-config.json
.
[2e158f7] - [BREAKING] Splitted the master cloudformation template into two
different template to separate the CodeBuild and Pipeline deployment
modes. This makes the templates much simpler and easier to configure
[ee2ef48] - Removed the need to include CSS to manage overflow at the
body tag level and removed display flex for the app element
[8bf32f8] - Removed promise catch statements in loader script to allow user scripts
to handle exceptions [bd929d6]
Fixed
- Fixed a bug where the AWS SDK was loaded in the incorrect order
[1b4637b] - Fixed a bug where the component config initialization had a timing issue
when running in embedded mode [66de81c] - Fixed a bug where the toolbar image caused an error when not present
[de77de6] - Fixed a bug where the display of dialog state in messages had the
wrong alignment [d993d7a] - Fixed parent page in dev/test environment of component
[39a1e1c]