Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[Typescript] Store the locale in the Activity #3411

Merged
merged 8 commits into from
Jun 23, 2020

Conversation

Batta32
Copy link
Collaborator

@Batta32 Batta32 commented May 22, 2020

Close #3177

Purpose

What is the context of this pull request? Why is it being done?
Remove i18next dependency, and store and access locales on the Activity class.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)

  • Update files with the removal of i18next
  • Update responses files
  • Add logic to store and retrieve locale from the Activity class

Tests

Is this covered by existing tests or new ones? If no, why not?

We tested the race condition issue by connecting a Virtual Assistant Sample with a Skill Sample deployed in en-us and es-es, and running them at the same time
race condition

Virtual Assistant Sample tests
image

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

@pr-triage pr-triage bot added the PR: draft label May 22, 2020
@Batta32 Batta32 marked this pull request as ready for review June 17, 2020 20:01
@darrenj darrenj merged commit 7d6714d into next Jun 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the feature/southworks/fix-race-condition-issue branch June 23, 2020 07:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants