[MM-52969] Revert "MM-51482_Create Apps Category and link to bots DM (#22918)" (#23647)

* Revert "MM-51482_Create Apps Category and link to bots DM (#22918)"

This reverts commit 1051925eec.

* Revert "MM-51711_Feature flag: APPS sidebar category (#22766)"

This reverts commit 9156205178.
Этот коммит содержится в:
Pablo Andrés Vélez Vidal
2023-06-14 11:05:21 +02:00
коммит произвёл GitHub
родитель 16ad573979
Коммит 6a5bb53963
22 изменённых файлов: 113 добавлений и 3697 удалений

Просмотреть файл

@@ -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;