Skip to content

@feat(@aws-amplify/ui-components): Error/audio handling and css improvements#6672

Merged
wlee221 merged 7 commits intoui-components/mainfrom
ui-components/chatbot-error-handling
Aug 28, 2020
Merged

@feat(@aws-amplify/ui-components): Error/audio handling and css improvements#6672
wlee221 merged 7 commits intoui-components/mainfrom
ui-components/chatbot-error-handling

Conversation

@wlee221
Copy link
Contributor

@wlee221 wlee221 commented Aug 28, 2020

Issue #, if available:

Description of changes: This PR makes improvements to chatbot that is on ui-preview right now.

Improvements:

  • Errors are now divided into recoverable and unrecoverable errors and are handled accordingly.
  • Users no longer need to wait for bot to finish speaking. They can interrupt the audio by pressing mic or send button.
  • Loading dots are now customizable.
  • Use different input placeholder when only voice is enabled.

Fix:

  • Disable text sending through enter keystroke when only voice is enabled.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@wlee221 wlee221 requested a review from iartemiev as a code owner August 28, 2020 05:26
@wlee221 wlee221 requested review from ashika01 and removed request for iartemiev August 28, 2020 05:27
@wlee221 wlee221 changed the title @feature(@aws-amplify/ui-components): Better error and audio handling; Loading animation customization. @feat(@aws-amplify/ui-components): Better error and audio handling; Loading animation customization. Aug 28, 2020
@wlee221 wlee221 changed the title @feat(@aws-amplify/ui-components): Better error and audio handling; Loading animation customization. @feat(@aws-amplify/ui-components): Error/audio handling and css improvements Aug 28, 2020
@lgtm-com
Copy link

lgtm-com bot commented Aug 28, 2020

This pull request introduces 1 alert and fixes 1 when merging f66a008 into abf8e82 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

fixed alerts:

  • 1 for Unused variable, import, function or class

@wlee221 wlee221 changed the base branch from main to ui-components/main August 28, 2020 15:46
this.playbackSource.start(0);
};
const errorCallback = err => {
console.error('test');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no i did it again

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happens to all. No worries

Copy link
Contributor

@ashika01 ashika01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 🚀 There is one line that needs to be removed and this can be merged 👍

@wlee221 wlee221 merged commit eaa023e into ui-components/main Aug 28, 2020
@wlee221 wlee221 deleted the ui-components/chatbot-error-handling branch November 18, 2020 19:53
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants