Add feature for Amazon Connect live chat with agent. Allow client to optionally interact with an agent via Amazon Connect.
See Amazon Connect Live Chat Agent Readme for additional details.
v0.18.1
2 years ago
Change package.json revision to 0.18.1
Provide distribution location in Canada (Central) region - ca-central-1
Update aws sdk to current revision
Change codebuild-deploy.yaml to use amazon linux image vs nodejs10 image.
Change codebuild-deploy.yaml and pipeline.yaml buildspec and codebuild role to invalidate cloudfront distribution after syncing s3 bucket
Fix Lex V2 client state mapping - specific for audio
Enhance Lex V2 support to
allow configuration of multiple V2 locale ids via template in comma separated list
provide menu based selection of configured V2 locales
Enhance postMessage to better filter messages between iframe and parent
Make CognitoAppUserPoolClientId and CognitoUserPoolId optional in master-pipeline.yaml
v0.18.0
3 years ago
Move from webpack V3 to webpack V4 in the lex-web-ui component.
Move to npm version 7.10.0.
Update component package versions.
Resolve some dependabot alerts.
Fix to resolve update problem where Cognito Supported Identity Providers is reset to just Cognito. An update will now preserve the existing Supported Identity Providers.
Set AWS sdk to version 2.875.0.
Improve Lex V2 support to handle responseCard defined as a session attribute in sessionAttributes.appContext.responseCard.
Removed support for AWS Mobile Hub based distribution.
v0.17.9
3 years ago
New support for Lex Version 2 Bots - added template parameters for V2 Bot Id, Bot Alias Id,
and Locale Id. When a V1 Bot name is provided, the template will configure resources to use
the V1 bot. When the V1 Bot name is left empty and the V2 Bot parameters are specified, the template
will configure resources to use the V2 Bot. V1 Bot parameters take precedence over V2 Bot parameters if both
are supplied.
The Lex Web Ui can now be configured to send an initial utterance to the bot to get an intent started. A
new template parameter named WebAppConfBotInitialUtterance is available. If left empty, no initial utterance is
sent to the Bot which is the default behavior.
Changed format of the date message displayed on a message to use "n min ago" to assist with accessibility when
displaying this value.
Changed behavior of ShouldLoadIframeMinimized setting. In prior releases, the last known state of the iframe took priority
over this setting. In this release, when ShouldLoadIframeMinimized is set to true and the parent page is
loaded or refreshed, the Bot iframe will always appear minimized. If this parameter is set to false, the last known state
of the Bot is used to either show the iframe or minimize the iframe.
Changed loginutils.js to prevent the parent page or the full page from looping if login fails through cognito.
With this change, up to 5 attempts will be performed before failing with an alert message presented to the user.
Support mixed case web ParentOrigin URLs and WebAppPath in Cognito user pool to prevent login failures due to case mismatch.
Support multiple values for WebAppPath. This allows the LexWebUI with login enabled to be deployed on multiple pages
on the same site (origin).
Update the Cognito Callback and Signout URLs in the Cognito UserPool when ParentPageOrigin and WebAppPath parameters
are updated in CloudFormation.
v0.17.8
3 years ago
Fix for pipeline based deployments - issue 264 - template error
Fix to full page web client (index.html) using forceLogin to require a direct to login page
Fix to move to python 3.8 Lambda Runtime for yaml CloudFormation template embedded functions which remove use of boto3 vendored library
Add ability for Lex Web UI to automatically retry a request if the Lex bot times out after 30 seconds using a configurable number of attempts. By default the timeout retry feature is disabled. When enabled, the default retry count is 1.
v0.17.7
3 years ago
[0.17.7] - 2020-12-31
Build script fix
Move min button icon to the left of text
[0.17.6] - 2020-12-20
Additional fixes to support upgrades. Upgrades from 0.17.1 and above are supported. Older versions will need to perform a fresh install to migrate to this version.
Additions to CSS style documentation
0.17.5
3 years ago
[0.17.5] - 2020-12-12
Fix to allow use of CF template upgrade to disable WebAppConfHelp, WebAppConfPositiveFeedback, and WebAppConfNegativeFeedback
Fix to improve resizing of lex-web-ui button at bottom of page when text is used in addition to icon
v0.17.4
3 years ago
Improved upgrade support.
The CloudFormation upgrade stack operation from the AWS Console should now be used to
change configuration using the available parameters. After the upgrade is complete, the
lex-web-ui-loader-config.json file deployed to the web app S3 bucket will be updated
with the values specified in the template. Prior versions of the config file are archived
using a date timestamp in the S3 bucket should you need to refer to prior configuration values.
Users can now upgrade to new versions of Lex-Web-Ui using the AWS CloudFormation console
by replacing the template and specifying the S3 template location from the original regional
S3 bucket. As new releases of Lex-Web-Ui are published to the distribution repositories, you
can now upgrade to this version using the CloudFormation Upgrade/replace template process.
After an upgrade, the CloudFront distribution cache will need to be invalidated for the changes to be seen
immediately.
Chat history can now be preserved and redisplayed when the user comes back to the original parent page
hosting the Lex-Web-Ui. This features is controlled using the SaveHistory template parameter. When
this feature is enabled, a new menu is visible in the user interface that allows the user to
clear chat history. The following are the methods you can enable this feature. Note that you can
toggle this feature on and off using the upgrade process.
During a new deployment, specify true for the Save History parameter
Using the new upgrade feature, specify true for Save History parameter in the CloudFormation
console.
Lambda function upgrade to Python 3.7.
v0.17.2
3 years ago
Added option to hide message bubble on button click
Resolved current github dependabot security issues
Use default encryption for all S3 buckets using AES-256 encryption
Added instructions in readme for adding additional vue components
v0.17.1
3 years ago
Create uniquely named Cognito UserPool on stack creation
Removed display of Back button in title bar and instead provide a replay button using the text from prior
message directly in the message bubble. Back button can be re-enabled though configuration json if desired.
Enhanced css attributes of the minimized chatbot button to help allow clicking on items in the parent
window as well as selecting text next the button.