Skip to content

Commit 87eda27

Browse files
author
Bob Potterveld
committed
updated readme.
1 parent 9e57ca4 commit 87eda27

22 files changed

+1820
-1802
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [0.17.5] - 2020-12-12
8+
- Fix to allow use of CF template upgrade to disable WebAppConfHelp, WebAppConfPositiveFeedback, and WebAppConfNegativeFeedback
9+
- Fix to improve resizing of lex-web-ui button at bottom of page when text is used in addition to icon
10+
711
## [0.17.4] - 2020-12-06
812
- Improved upgrade support
913
- Chat history can now be preserved and redisplayed when the user comes back to the original parent page.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and ability to interrupt responses and replay recordings
1818
- Ability to programmatically configure and interact with the chatbot
1919
UI using JavaScript
2020

21+
#### Fixes in version 0.17.5
22+
- Fix to allow use of CF template upgrade to disable WebAppConfHelp, WebAppConfPositiveFeedback, and WebAppConfNegativeFeedback
23+
- Fix to improve resizing of lex-web-ui button at bottom of page when text is used in addition to icon
24+
2125
#### Features in version 0.17.4
2226
- Improved upgrade support.
2327
* The CloudFormation upgrade stack operation from the AWS Console should now be used to

config/utils/merge-config.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ module.exports = function mergeConfig(baseConfig, srcConfig) {
2323
let mergedConfig = {};
2424
let value = baseConfig[key];
2525
// merge from source if its value is not empty
26-
if (key in srcConfig && !isEmpty(srcConfig[key])) {
27-
value = (typeof(baseConfig[key]) === 'object') ?
28-
// recursively merge sub-objects in both directions
29-
Object.assign(
30-
mergeConfig(srcConfig[key], baseConfig[key]),
31-
mergeConfig(baseConfig[key], srcConfig[key]),
32-
) :
33-
srcConfig[key];
26+
// allow merging of emtpy values from helpIntent, positiveFeedbackIntent, and negativeFeedbackIntent
27+
if (key in srcConfig ) {
28+
if (key==='helpIntent' ||
29+
key==='positiveFeedbackIntent' ||
30+
key=== 'negativeFeedbackIntent' ||
31+
!isEmpty(srcConfig[key]) ) {
32+
value = (typeof (baseConfig[key]) === 'object') ?
33+
// recursively merge sub-objects in both directions
34+
Object.assign(
35+
mergeConfig(srcConfig[key], baseConfig[key]),
36+
mergeConfig(baseConfig[key], srcConfig[key]),
37+
) :
38+
srcConfig[key];
39+
}
3440
}
3541
mergedConfig[key] = value;
3642
return mergedConfig;

dist/custom-chatbot-style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,8 @@
7777
*/
7878
button.min-button {
7979
border-radius: 60px;
80-
}
80+
}
81+
82+
.message-button {
83+
display: none;
84+
}

dist/lex-web-ui-loader.css

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lex-web-ui-loader.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)