Skip to content

Commit bbc294c

Browse files
committed
#RI-6320 - rename feature flag, update percentage
1 parent c284e0e commit bbc294c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

redisinsight/api/config/features-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
"strategy": "ioredis"
113113
}
114114
},
115-
"cloudDatabaseInTheList": {
115+
"enhancedCloudUI": {
116116
"flag": true,
117-
"perc": [[0, 20]]
117+
"perc": [[0, 50]]
118118
}
119119
}
120120
}

redisinsight/api/src/modules/feature/constants/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export enum KnownFeatures {
2929
DatabaseChat = 'databaseChat',
3030
Rdi = 'redisDataIntegration',
3131
HashFieldExpiration = 'hashFieldExpiration',
32-
CloudDatabaseInTheList = 'cloudDatabaseInTheList',
32+
EnhancedCloudUI = 'enhancedCloudUI',
3333
}
3434

3535
export interface IFeatureFlag {

redisinsight/api/src/modules/feature/constants/known-features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export const knownFeatures: Record<KnownFeatures, IFeatureFlag> = {
3939
name: KnownFeatures.Rdi,
4040
storage: FeatureStorage.Database,
4141
},
42-
[KnownFeatures.CloudDatabaseInTheList]: {
43-
name: KnownFeatures.CloudDatabaseInTheList,
42+
[KnownFeatures.EnhancedCloudUI]: {
43+
name: KnownFeatures.EnhancedCloudUI,
4444
storage: FeatureStorage.Database,
4545
},
4646
};

redisinsight/api/src/modules/feature/providers/feature-flag/feature-flag.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class FeatureFlagProvider {
6060
this.featuresConfigService,
6161
this.settingsService,
6262
));
63-
this.strategies.set(KnownFeatures.CloudDatabaseInTheList, new WithDataFlagStrategy(
63+
this.strategies.set(KnownFeatures.EnhancedCloudUI, new WithDataFlagStrategy(
6464
this.featuresConfigService,
6565
this.settingsService,
6666
));

0 commit comments

Comments
 (0)