Skip to content

Add locale support to WebChat#3306

Merged
compulim merged 16 commits intomasterfrom
zhiwang/Add-locale-support
Aug 7, 2020
Merged

Add locale support to WebChat#3306
compulim merged 16 commits intomasterfrom
zhiwang/Add-locale-support

Conversation

@timenick
Copy link
Contributor

Fixes #3296

Description

Update createDirectLine to accept and pass locale option.

Copy link
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

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

As this is in draft mode, I am just scanning for obvious problems.

@timenick timenick marked this pull request as ready for review July 31, 2020 06:10
@timenick timenick requested a review from compulim July 31, 2020 06:11
@timenick timenick changed the title [Draft] Add locale support Add locale support in WebChat Jul 31, 2020
@timenick timenick changed the title Add locale support in WebChat Add locale support to WebChat Jul 31, 2020
@timenick
Copy link
Contributor Author

timenick commented Jul 31, 2020

The zh-CN test case failed due to the locale feature is not enabled in DLJS.

Copy link
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

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

Please add a test for { conversationStartProperties: { locale: { invalid: true } } }. We are expecting the end-to-end will continue to work as if it does not have locale defined.

After this test is added, I will approve and merge it.

@timenick timenick requested a review from compulim August 6, 2020 09:35
Copy link
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

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

Please rename test cases.

@compulim
Copy link
Contributor

compulim commented Aug 7, 2020

LGTM!

@compulim compulim merged commit f42ead8 into master Aug 7, 2020
@compulim compulim deleted the zhiwang/Add-locale-support branch August 7, 2020 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support locale at StartConversation

2 participants