Added support for self serve telemetry + Localization fixes (#580)

* initial telemetry commit

* Added localization changes

* moved telemetrymessage types to selfservetypes

* fixed compile errors

* fixed failing test

* changed translation file format

* Addressed PR comments

* modified test
This commit is contained in:
Srinath Narayanan
2021-03-30 10:11:43 -07:00
committed by GitHub
parent 63e13cdabe
commit 6cdac3c53b
18 changed files with 1306 additions and 193 deletions

View File

@@ -131,9 +131,9 @@ describe("SelfServeUtils", () => {
type: "object",
labelTKey: "Regions",
choices: [
{ label: "South West US", key: "SWUS" },
{ label: "North Central US", key: "NCUS" },
{ label: "East US 2", key: "EUS2" },
{ labelTKey: "South West US", key: "SWUS" },
{ labelTKey: "North Central US", key: "NCUS" },
{ labelTKey: "East US 2", key: "EUS2" },
],
},
],
@@ -238,9 +238,9 @@ describe("SelfServeUtils", () => {
type: "object",
labelTKey: "Regions",
choices: [
{ label: "South West US", key: "SWUS" },
{ label: "North Central US", key: "NCUS" },
{ label: "East US 2", key: "EUS2" },
{ labelTKey: "South West US", key: "SWUS" },
{ labelTKey: "North Central US", key: "NCUS" },
{ labelTKey: "East US 2", key: "EUS2" },
],
},
children: [] as Node[],