chore: add default value for feature flag on the client side (#28683)

This commit is contained in:
Sumit Kumar 2023-11-07 16:26:46 +05:30 committed by GitHub
parent 72f349db41
commit 33e08286ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@ export const FEATURE_FLAG = {
release_git_branch_protection_enabled:
"release_git_branch_protection_enabled",
license_widget_rtl_support_enabled: "license_widget_rtl_support_enabled",
ab_onboarding_flow_start_with_data_dev_only_enabled:
"ab_onboarding_flow_start_with_data_dev_only_enabled",
} as const;
export type FeatureFlag = keyof typeof FEATURE_FLAG;
@ -61,6 +63,7 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
release_app_sidebar_enabled: false,
release_git_branch_protection_enabled: false,
license_widget_rtl_support_enabled: false,
ab_onboarding_flow_start_with_data_dev_only_enabled: false,
};
export const AB_TESTING_EVENT_KEYS = {

View File

@ -29,6 +29,7 @@ public enum FeatureFlagEnum {
release_embed_hide_share_settings_enabled,
ab_mock_mongo_schema_enabled,
rollout_datasource_test_rate_limit_enabled,
ab_onboarding_flow_start_with_data_dev_only_enabled,
// Add EE flags below this line, to avoid conflicts.
}