Releases: aws-samples/aws-lex-web-ui
Releases · aws-samples/aws-lex-web-ui
0.19.7
- Update to not allow V1 and V2 bots to be selected simultaneously in CloudFormation parameters.
- Disable initial utterance sending if chat window is minimized on load.
- Reduced minimized width of iframe to prevent overflow covering up page elements.
- Rearrange live chat button locations for better UI experience.
0.19.6
- Fix issue where some empty string variables would break the Code Deploy build, for example, if InitialText was cleared out of the CloudFormation parameters.
- Added more CloudFormation parameters for commonly used UI properties. The new variables include:
- HideButtonMessageBubble
- MessageMenu
- BackButton
- MinimizedButtonContent
- Change initial speech mechanism to fetch and play mp3 files created during codebuild. Implement support for configured localeIds when creating the mp3 files. Create an mp3 for each configured localeId and use aws translate to generate text for the locale and use aws polly to create the mp3 files. When the user changes locale in the UI and clicks on the mic button, the initial speech for the selected locale will be played.
- Add support for Connect interactive messaging into Lex Web UI: https://docs.aws.amazon.com/connect/latest/adminguide/interactive-messages.html. Both ListPicker and TimePicker are supported templateTypes and can be sent using the exact same JSON structure as Connect. Additionally, added support for a DateTimePicker templateType which will give the end user an open-ended selector for a date/time variable to send back to Lex.
- Fix handling the new ElicitIntent dialogAction type LexV2 response, which does not have some expected properties on the sessionState object
0.19.5
- Add the ability to send Lex session attributes prefixed with connect_ to Connect chat
- Fix issue with master pipeline template not working properly for Lex V2 bots
- Fix issue where Connect agent and chat user have same name
- Update dependencies versions
- Custom CloudFront response policy that allows iFrame embedding
- Changed attaching Amazon Connect chat transcripts to false by default
0.19.4
- Add setSessionAttribute function to iframe api, add optional messageType parameter to postText function.
- Add the ability to manually configure a help message in lex-web-ui-loader-config.json per locale. This message is displayed in response to clicking the help button rather then sending to the lex bot. In addition, the last message from the bot can be re-displayed after the help message giving the user context on next action again
- Prefer Lex V1 response cards over Lex V2 in the case where both are present. In a QnABot result, both a V1 and V2 response card will be present. V1 response cards might contain additional buttons not present in the V2 response card. When both are present, prefer the V1 response card.
- Fix for when user sends live chat message while within live chat
- Change Connect CloudFormation parameters to have default empty strings
- Updated default CSS for input container to be visible on screen in iOS/Safari 15
0.19.3
0.19.2
Connect Live Chat related fixes
- Update Connect Live Chat README to clarify CORS settings
- Fix problem where CodeBuild was not executed when Connect associated template parameters were changed
- Fix use of template parameter to disable Connect attach chat transfer
0.19.1
0.19.0
Two changes in version 0.19.0:
- Capability to forward chat history as a transcript to an agent when Connect Live Chat is initiated. Details on use of the transcript can be found in Connect Live Chat Agent Readme
- Update to the OPTIONS method in the API to configure CORS to only allow requests from the WebAppParentOrigin.
0.18.2
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.
0.18.1
- 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