From 93545f8516a2cf8f4254428a2cf9e9b27cf5ab09 Mon Sep 17 00:00:00 2001 From: Till JS Date: Wed, 29 Apr 2026 01:04:34 +0200 Subject: [PATCH] chore: drop who + kontext MANA_APPS entries to match earlier extractions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two cleanup follow-ups that the parallel sessions which extracted these modules left behind, surfaced by the route-drift test added in 6d193a9fa: who — `chore: extract who module into standalone repo` (a3eedfc87) + follow-up cleanup (f076d9345) removed `lib/modules/who/` and the workbench `registerApp({ id: 'who' })` block, but the broken `/who/+page` and `/who/play/[gameId]/+page` routes still imported the deleted module and the MANA_APPS entry, APP_ICONS icon, categories.ts mapping and help-content block were still in place. Drop all five. kontext — `feat(notes): isSpaceContext flag replaces kontext module (Option B)` (8fbdc6db7) replaced the kontext module with a per-note `isSpaceContext` flag in the notes module. The MANA_APPS entry I added in 6d193a9fa and the matching APP_ICONS entry are now both stale — there is no `kontext` route, no module, no registerApp. Drop them. Verification: `registry.spec.ts` 4/4 green, `svelte-check src/lib` 0 errors / 5 warnings (pre-existing in other files). Co-Authored-By: Claude Opus 4.7 (1M context) --- .../web/src/lib/app-registry/categories.ts | 1 - .../web/src/lib/app-registry/help-content.ts | 15 ------- .../web/src/routes/(app)/who/+page.svelte | 13 ------- .../(app)/who/play/[gameId]/+page.svelte | 18 --------- packages/shared-branding/src/app-icons.ts | 12 ------ packages/shared-branding/src/mana-apps.ts | 39 ------------------- 6 files changed, 98 deletions(-) delete mode 100644 apps/mana/apps/web/src/routes/(app)/who/+page.svelte delete mode 100644 apps/mana/apps/web/src/routes/(app)/who/play/[gameId]/+page.svelte 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 07763f2bb..0d50abddd 100644 --- a/apps/mana/apps/web/src/lib/app-registry/categories.ts +++ b/apps/mana/apps/web/src/lib/app-registry/categories.ts @@ -79,7 +79,6 @@ export const APP_CATEGORY_MAP: Record = { wetter: 'life', inventory: 'life', storage: 'life', - who: 'life', firsts: 'life', memoro: 'life', questions: 'life', diff --git a/apps/mana/apps/web/src/lib/app-registry/help-content.ts b/apps/mana/apps/web/src/lib/app-registry/help-content.ts index a3b76cbfc..6c245520d 100644 --- a/apps/mana/apps/web/src/lib/app-registry/help-content.ts +++ b/apps/mana/apps/web/src/lib/app-registry/help-content.ts @@ -448,21 +448,6 @@ export const MODULE_HELP: Record = { 'Bring-Listen-Items können von Gästen "reserviert" werden', ], }, - who: { - description: - 'Rate-Spiel — erkenne Persönlichkeiten anhand von Hinweisen. Die AI gibt dir Schritt für Schritt mehr Informationen.', - features: [ - 'AI gibt dir Hinweise, du rätst die Person', - 'Verschiedene Schwierigkeitsgrade', - 'Spiel-Verlauf mit Statistiken', - 'Chat-basierte Interaktion', - 'Historische und aktuelle Persönlichkeiten', - ], - tips: [ - 'Stelle gezielte Ja/Nein-Fragen um die Person schneller einzugrenzen', - 'Schwierigere Modi geben weniger offensichtliche Hinweise', - ], - }, firsts: { description: 'Erste Male festhalten — eine Bucket-List für Dinge die du erleben möchtest, und ein Archiv erlebter Momente.', diff --git a/apps/mana/apps/web/src/routes/(app)/who/+page.svelte b/apps/mana/apps/web/src/routes/(app)/who/+page.svelte deleted file mode 100644 index 0b9fd4c97..000000000 --- a/apps/mana/apps/web/src/routes/(app)/who/+page.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - - Who? — Mana - - - - goto(`/who/${view}`)} goBack={() => history.back()} params={{}} /> - diff --git a/apps/mana/apps/web/src/routes/(app)/who/play/[gameId]/+page.svelte b/apps/mana/apps/web/src/routes/(app)/who/play/[gameId]/+page.svelte deleted file mode 100644 index 2e48c9e05..000000000 --- a/apps/mana/apps/web/src/routes/(app)/who/play/[gameId]/+page.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - - - Who? — Spiel — Mana - - - - {#if gameId} - goto('/who')} /> - {/if} - diff --git a/packages/shared-branding/src/app-icons.ts b/packages/shared-branding/src/app-icons.ts index 5a5bf93b2..83d35cd57 100644 --- a/packages/shared-branding/src/app-icons.ts +++ b/packages/shared-branding/src/app-icons.ts @@ -197,11 +197,6 @@ export const APP_ICONS = { // Blue→cyan gradient for the hydration theme. `` ), - who: svgToDataUrl( - // Theatre mask silhouette in front of a question mark — references - // the "guess who's behind the disguise" mechanic. Purple gradient. - `?` - ), recipes: svgToDataUrl( // Cooking pot with steam — represents recipe collection. // Orange→amber gradient for a warm kitchen feel. @@ -307,13 +302,6 @@ export const APP_ICONS = { // communication family without competing with either. `` ), - kontext: svgToDataUrl( - // Globe with three horizontal text-lines — represents the Web-Context - // crawler that pulls URLs into the user's profile context. Tan→ochre - // gradient (#a78b6f → #c79a64) sits in the documents family but warmer - // than the cool blues of notes/storage. - `` - ), wishes: svgToDataUrl( // Shooting star with sparkle trail — the wishes module is about // hopes/aspirations. Amber→rose gradient distinguishes it from the diff --git a/packages/shared-branding/src/mana-apps.ts b/packages/shared-branding/src/mana-apps.ts index 9df1f1331..0c19c9868 100644 --- a/packages/shared-branding/src/mana-apps.ts +++ b/packages/shared-branding/src/mana-apps.ts @@ -886,28 +886,6 @@ export const MANA_APPS: ManaApp[] = [ status: 'development', requiredTier: 'guest', }, - { - id: 'who', - name: 'Who', - description: { - de: 'Errate wer ich bin', - en: 'Guess who I am', - }, - longDescription: { - de: 'Chatte mit einer historischen Persönlichkeit. Eine KI verkörpert sie ohne den Namen zu verraten — du musst durch geschickte Fragen herausfinden, mit wem du sprichst. Vier Decks: Historisch, Frauen der Geschichte, Antike, Erfinder & Pioniere.', - en: 'Chat with a historical figure. An AI roleplays them without revealing their name — you have to figure out who you are talking to. Four decks: Historical, Women in History, Antiquity, Inventors & Pioneers.', - }, - icon: APP_ICONS.who, - color: '#a855f7', - comingSoon: false, - status: 'beta', - // Open to all signed-in users (Standard / public tier and up). - // The initial 'beta' here was an arbitrary RFC default — it - // matched the status='beta' badge but the gate was more friction - // than value while the module is finding its audience. The LLM - // calls behind it are credit-gated server-side regardless. - requiredTier: 'guest', - }, { id: 'meditate', name: 'Meditate', @@ -1206,23 +1184,6 @@ export const MANA_APPS: ManaApp[] = [ status: 'beta', requiredTier: 'guest', // LOCAL TIER PATCH — revert to 'beta' before release }, - { - id: 'kontext', - name: 'Web-Context', - description: { - de: 'URLs in deinen Kontext crawlen', - en: 'Crawl URLs into your context', - }, - longDescription: { - de: 'Webseiten und Artikel als persönlichen Kontext sammeln — crawlt eine URL (oder eine ganze Site bis 20 Seiten), optional KI-zusammengefasst, und hängt das Ergebnis an dein Profil-Kontext-Dokument an. Der Companion sieht das beim nächsten Planen automatisch mit.', - en: 'Pull web pages and articles into your personal context — crawl a URL (or up to 20 pages of a site), optionally AI-summarised, and append the result to your profile context document. The companion picks it up automatically on the next plan call.', - }, - icon: APP_ICONS.kontext, - color: '#a78b6f', - comingSoon: false, - status: 'beta', - requiredTier: 'guest', - }, { id: 'wishes', name: 'Wünsche',