Skip to content

Commit

Permalink
Merge pull request #685 from aws-samples/development
Browse files Browse the repository at this point in the history
Release 0.20.2
  • Loading branch information
atjohns authored Apr 25, 2024
2 parents 94bd01d + 12316f8 commit 82caf98
Show file tree
Hide file tree
Showing 32 changed files with 44,314 additions and 206,505 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.21.2] - 2024-04-24
- Added support for more Connect interactive messages. The UI now supports Panel, QuickReply & Carousel messages.
- Removed the DateTime picker component due to its legacy dependency on Vue 2, please use the DatePicker going forward.
- Cleaned up some dependencies to reduce the amount of polyfills required
- Upgrade all python scripts to 3.10
- Other minor bug fixes and documentation updates.

## [0.21.1] - 2024-03-26
- Updated the streaming feature to be more flexible so users can choose whether or not the fullfilment Lambda should be streaming responses. Additional details can be found in the streaming responses README.
- Added a copy icon so responses from the bot can be easily copy/pasted. This option can be configured manually from the configuration file and is defaulted to 'off'.
Expand Down Expand Up @@ -69,7 +76,7 @@ This update removes all dependency vulnerabilities as of release date.
* 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](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.
- Add support for Connect interactive messaging into Lex Web UI: [https://docs.aws.amazon.com/connect/latest/adminguide/interactive-messages.html](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.
- Fix handling the new ElicitIntent dialogAction type LexV2 response, which does not have some expected properties on the sessionState object

## [0.19.5] - 2022-07-17
Expand Down
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,24 +148,6 @@ TimePicker in Web UI:

<img src="./img/interactive-message-datepicker.png" width=350>

Additionally, Lex Web UI supports a DateTimePicker templateType which will give the end user an open-ended selector for a date/time variable to send back to Lex. DateTimePicker format expected:

```
{
"templateType":"TimePicker", (mandatory)
"version":"1.0", (mandatory)
"data":{ (mandatory)
"content":{ (mandatory)
"title":"Schedule appointment", (mandatory)
}
}
}
```

DateTimePicker in Web UI:

<img src="./img/interactive-message-datetimepicker.png" width=400>

## Examples
The examples below are organized around the following use cases:
1. [Stand-Alone Page](#stand-alone-page)
Expand Down
10 changes: 5 additions & 5 deletions build/upload-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ pushd .
cd ..
git ls-files | xargs zip -u build/out/src-$version.zip
popd
aws s3 cp --acl public-read out/src-$version.zip \
aws s3 cp out/src-$version.zip \
"s3://${BOOTSTRAP_BUCKET_PATH}/src-$version.zip"

aws s3 cp --acl public-read out/custom-resources-$version.zip \
aws s3 cp out/custom-resources-$version.zip \
"s3://${BOOTSTRAP_BUCKET_PATH}/custom-resources-$version.zip"

aws s3 cp --acl public-read out/initiate-chat-lambda-$version.zip \
aws s3 cp out/initiate-chat-lambda-$version.zip \
"s3://${BOOTSTRAP_BUCKET_PATH}/initiate-chat-lambda-$version.zip"

aws s3 cp --acl public-read out/streaming-lambda-$version.zip \
aws s3 cp out/streaming-lambda-$version.zip \
"s3://${BOOTSTRAP_BUCKET_PATH}/streaming-lambda-$version.zip"

aws s3 sync --acl public-read --exclude "*" --include "*.yaml" \
aws s3 sync --exclude "*" --include "*.yaml" \
../templates "s3://${BOOTSTRAP_BUCKET_PATH}/templates/"

echo "[INFO] master template: https://s3.amazonaws.com/${BOOTSTRAP_BUCKET_PATH}/templates/master.yaml"
Loading

0 comments on commit 82caf98

Please sign in to comment.