From 7e0c4b72909110c9862b6ee76fec526f08247d83 Mon Sep 17 00:00:00 2001 From: t-tarabhatia <84812001+t-tarabhatia@users.noreply.github.com> Date: Thu, 29 Jul 2021 06:48:03 -0700 Subject: [PATCH] Add changes to Partition Key A/B Test (#954) --- src/Common/Constants.ts | 1 + src/Explorer/Panes/AddCollectionPanel.tsx | 19 ++++++++++++++----- src/Platform/Hosted/extractFeatures.ts | 2 ++ src/hooks/useKnockoutExplorer.ts | 6 ++++++ 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/Common/Constants.ts b/src/Common/Constants.ts index fc97d559d..cbdd2da8e 100644 --- a/src/Common/Constants.ts +++ b/src/Common/Constants.ts @@ -95,6 +95,7 @@ export class Flights { public static readonly MongoIndexing = "mongoindexing"; public static readonly AutoscaleTest = "autoscaletest"; public static readonly PartitionKeyTest = "partitionkeytest"; + public static readonly PKPartitionKeyTest = "pkpartitionkeytest"; } export class AfecFeatures { diff --git a/src/Explorer/Panes/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel.tsx index f0ce4f4d1..39d7ad2c8 100644 --- a/src/Explorer/Panes/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel.tsx @@ -113,11 +113,7 @@ export class AddCollectionPanel extends React.Component