From 59996e3860310243ad6b22ba8e1a1d9c7d902638 Mon Sep 17 00:00:00 2001 From: Kurt Doherty Date: Mon, 22 Sep 2025 14:05:24 +1000 Subject: [PATCH] feat: Allow MMI product to display in AppSwitcher --- src/core/app-switcher/__tests__/config.test.ts | 1 + src/core/app-switcher/app-switcher.stories.tsx | 4 ++-- src/core/app-switcher/config.ts | 1 + src/storybook/changelog.mdx | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/app-switcher/__tests__/config.test.ts b/src/core/app-switcher/__tests__/config.test.ts index a2e074307..f6a3783cb 100644 --- a/src/core/app-switcher/__tests__/config.test.ts +++ b/src/core/app-switcher/__tests__/config.test.ts @@ -70,6 +70,7 @@ test('product display order should not change without updating this test', () => "consoleCloud", "keywhere", "bdm", + "mmiWeb", ] `) }) diff --git a/src/core/app-switcher/app-switcher.stories.tsx b/src/core/app-switcher/app-switcher.stories.tsx index e90048afb..1e42db3a5 100644 --- a/src/core/app-switcher/app-switcher.stories.tsx +++ b/src/core/app-switcher/app-switcher.stories.tsx @@ -125,11 +125,11 @@ export const AllAccessible: StoryObj<{ accessibleProductIds: string[] }> = { * const ids = AppSwitcher.getDisplayableProductsForExploreGroup(accessibleProductIds) * * return ids.length > 0 && ( - * + * * {ids.map((productId) => ( * * ))} - * + * * ) * ``` */ diff --git a/src/core/app-switcher/config.ts b/src/core/app-switcher/config.ts index f22a30a63..ae3bcb2c6 100644 --- a/src/core/app-switcher/config.ts +++ b/src/core/app-switcher/config.ts @@ -80,4 +80,5 @@ export const productDisplayOrder_DO_NOT_ADD_PRODUCTS_TO_THIS_UNLESS_APPROVED_FOR // Secondary apps here (should be alphatically ordered by configured app name) 'keywhere', 'bdm', + 'mmiWeb', ] as const satisfies SupportedProductId[] diff --git a/src/storybook/changelog.mdx b/src/storybook/changelog.mdx index d56895d27..edccbd2cb 100644 --- a/src/storybook/changelog.mdx +++ b/src/storybook/changelog.mdx @@ -16,9 +16,9 @@ We will publish release version history and changes here. Where possible, we wil Beta versions should be relatively stable but subject to occssional breaking changes. -### **5.0.0-beta.53 - ??/??/25** +### **5.0.0-beta.53 - 22/09/25** -- TBC +- **feat:** Allow MMI product to display in the AppSwitcher ### **5.0.0-beta.52 - 17/09/25**