diff --git a/apps/mana/apps/web/src/lib/app-registry/apps.ts b/apps/mana/apps/web/src/lib/app-registry/apps.ts index 0250488eb..f1e687683 100644 --- a/apps/mana/apps/web/src/lib/app-registry/apps.ts +++ b/apps/mana/apps/web/src/lib/app-registry/apps.ts @@ -78,6 +78,7 @@ import { Flask, Exam, Globe, + CoatHanger, } from '@mana/shared-icons'; // ── Apps with entity capabilities ─────────────────────────── @@ -1292,6 +1293,19 @@ registerApp({ }, }); +registerApp({ + id: 'wardrobe', + name: 'Kleiderschrank', + color: '#e11d48', + icon: CoatHanger, + views: { + // Detail routes (/wardrobe/garment/[id], /wardrobe/outfit/[id], + // /wardrobe/compose/[[outfitId]]) live as SvelteKit routes; the + // workbench only needs the list view for the tab-switcher root. + list: { load: () => import('$lib/modules/wardrobe/ListView.svelte') }, + }, +}); + registerApp({ id: 'library', name: 'Bibliothek', diff --git a/apps/mana/apps/web/src/lib/app-registry/categories.ts b/apps/mana/apps/web/src/lib/app-registry/categories.ts index 4c052d245..08f04dbfc 100644 --- a/apps/mana/apps/web/src/lib/app-registry/categories.ts +++ b/apps/mana/apps/web/src/lib/app-registry/categories.ts @@ -110,6 +110,7 @@ export const APP_CATEGORY_MAP: Record = { library: 'creative', playground: 'creative', quiz: 'creative', + wardrobe: 'creative', // System — settings, admin, meta settings: 'system',