* Revert "MM-51482_Create Apps Category and link to bots DM (#22918)" This reverts commit1051925eec. * Revert "MM-51711_Feature flag: APPS sidebar category (#22766)" This reverts commit9156205178.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
16ad573979
Коммит
6a5bb53963
@@ -732,41 +732,3 @@ describe('shouldShowUnreadsCategory', () => {
|
||||
expect(Selectors.shouldShowUnreadsCategory(state)).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe('get feature flags', () => {
|
||||
test('should check the value of feature flag AppsSidebarCategory', () => {
|
||||
let state = {
|
||||
entities: {
|
||||
general: {
|
||||
config: {},
|
||||
},
|
||||
},
|
||||
} as GlobalState;
|
||||
|
||||
expect(Selectors.appsSidebarCategoryEnabled(state)).toBe(false);
|
||||
|
||||
state = {
|
||||
entities: {
|
||||
general: {
|
||||
config: {
|
||||
FeatureFlagAppsSidebarCategory: 'false',
|
||||
},
|
||||
},
|
||||
},
|
||||
} as GlobalState;
|
||||
|
||||
expect(Selectors.appsSidebarCategoryEnabled(state)).toBe(false);
|
||||
|
||||
state = {
|
||||
entities: {
|
||||
general: {
|
||||
config: {
|
||||
FeatureFlagAppsSidebarCategory: 'true',
|
||||
},
|
||||
},
|
||||
},
|
||||
} as GlobalState;
|
||||
|
||||
expect(Selectors.appsSidebarCategoryEnabled(state)).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -306,7 +306,3 @@ export function deprecateCloudFree(state: GlobalState): boolean {
|
||||
export function cloudReverseTrial(state: GlobalState): boolean {
|
||||
return getFeatureFlagValue(state, 'CloudReverseTrial') === 'true';
|
||||
}
|
||||
|
||||
export function appsSidebarCategoryEnabled(state: GlobalState): boolean {
|
||||
return getFeatureFlagValue(state, 'AppsSidebarCategory') === 'true';
|
||||
}
|
||||
|
||||
@@ -119,7 +119,6 @@ export type ClientConfig = {
|
||||
ExperimentalViewArchivedChannels: string;
|
||||
FileLevel: string;
|
||||
FeatureFlagAppsEnabled: string;
|
||||
FeatureFlagAppsSidebarCategory: string;
|
||||
FeatureFlagBoardsProduct: string;
|
||||
FeatureFlagCallsEnabled: string;
|
||||
FeatureFlagGraphQL: string;
|
||||
|
||||
Ссылка в новой задаче
Block a user