From 9e90cea521a3cf907d531e38c8e3b62abfbf794b Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sat, 29 Nov 2025 15:12:57 +0100 Subject: [PATCH] feat(chat): add app switcher to PillNavigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Import getPillAppItems from shared-branding - Enable showAppSwitcher with all Mana apps - Current app (chat) is marked in dropdown 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/chat/apps/web/src/routes/(protected)/+layout.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/chat/apps/web/src/routes/(protected)/+layout.svelte b/apps/chat/apps/web/src/routes/(protected)/+layout.svelte index ff0353383..4b8497e1b 100644 --- a/apps/chat/apps/web/src/routes/(protected)/+layout.svelte +++ b/apps/chat/apps/web/src/routes/(protected)/+layout.svelte @@ -11,8 +11,12 @@ } from '$lib/stores/navigation'; import { PillNavigation } from '@manacore/shared-ui'; import type { PillNavItem, PillDropdownItem } from '@manacore/shared-ui'; + import { getPillAppItems } from '@manacore/shared-branding'; import type { LayoutData } from './$types'; + // App switcher items + const appItems = getPillAppItems('chat'); + let { children, data }: { children: any; data: LayoutData } = $props(); let isChecking = $state(true); @@ -177,6 +181,8 @@ showLogout={true} onLogout={handleLogout} primaryColor="#3b82f6" + showAppSwitcher={true} + {appItems} />