From ebe91afd682236e1cecffc373dca8f97703a0fd5 Mon Sep 17 00:00:00 2001 From: nmorasb Date: Thu, 16 Nov 2023 16:30:49 -0500 Subject: [PATCH 1/2] ref MAT-6157: remove some feature flags --- src/Store/featureFlagStore.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/Store/featureFlagStore.ts b/src/Store/featureFlagStore.ts index 549b37b..27b9133 100644 --- a/src/Store/featureFlagStore.ts +++ b/src/Store/featureFlagStore.ts @@ -4,31 +4,20 @@ import { BehaviorSubject } from "rxjs"; // immutable object that retains state, tracks updates const subject = new BehaviorSubject(null); export interface FeatureFlags { - export: boolean; - populationCriteriaTabs: boolean; - importTestCases: boolean; - - qdm: boolean; qdmExport: boolean; - qdmVersioning: boolean; + qdmTestCases: boolean; qiCoreElementsTab: boolean; highlightingTabs: boolean; qdmHighlightingTabs: boolean; - exportQiCoreBundleType: boolean; disableRunTestCaseWithObservStrat: boolean; qdmHideJson: boolean; } const initialState: FeatureFlags = { - export: false, - populationCriteriaTabs: true, - importTestCases: false, - qdm: false, qdmExport: false, - qdmVersioning: false, + qdmTestCases: true, qiCoreElementsTab: false, highlightingTabs: false, qdmHighlightingTabs: false, - exportQiCoreBundleType: false, disableRunTestCaseWithObservStrat: true, qdmHideJson: true, }; From f784cfbc1d216b18839913d5c1e75d4281b14885 Mon Sep 17 00:00:00 2001 From: nmorasb Date: Fri, 1 Dec 2023 09:43:00 -0500 Subject: [PATCH 2/2] ref MAT-6157: restore the importTestCases flag for QDM usage --- src/Store/featureFlagStore.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Store/featureFlagStore.ts b/src/Store/featureFlagStore.ts index 27b9133..85e1600 100644 --- a/src/Store/featureFlagStore.ts +++ b/src/Store/featureFlagStore.ts @@ -11,13 +11,15 @@ export interface FeatureFlags { qdmHighlightingTabs: boolean; disableRunTestCaseWithObservStrat: boolean; qdmHideJson: boolean; + importTestCases: boolean; } const initialState: FeatureFlags = { qdmExport: false, qdmTestCases: true, qiCoreElementsTab: false, - highlightingTabs: false, + highlightingTabs: true, qdmHighlightingTabs: false, + importTestCases: false, disableRunTestCaseWithObservStrat: true, qdmHideJson: true, };