From f203e100c10bdb6630bfe2118e49d81c2786b690 Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 16 Apr 2026 14:27:46 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20final=20cleanup=20=E2=80=94=20dead=20l?= =?UTF-8?q?ink,=20security=20status,=20showTitle,=20drop=20subscriptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. CompleteStep: /apps → / ("Workbench" instead of dead "Alle Apps") 2. pnpm lockfile synced after @mana/subscriptions removal 3. Security header panel: status dots for Passkey/2FA/Sessions count 4. GeneralSection: inline settings rows replace GlobalSettingsSection wrapper — no more title="" hack or double-card nesting 5. shared-auth-ui: showTitle prop on PasskeyManager, SessionManager, TwoFactorSetup, AuditLog; SecuritySection passes showTitle={false} 6. Drop @mana/subscriptions from sources.css + package.json Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/lib/components/onboarding/steps/CompleteStep.svelte | 6 +++--- .../lib/components/settings/sections/SecuritySection.svelte | 4 ++++ .../shared-auth-ui/src/components/TwoFactorSetup.svelte | 4 +++- packages/shared-tailwind/src/sources.css | 1 - 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/mana/apps/web/src/lib/components/onboarding/steps/CompleteStep.svelte b/apps/mana/apps/web/src/lib/components/onboarding/steps/CompleteStep.svelte index a9e2b2870..72a47038f 100644 --- a/apps/mana/apps/web/src/lib/components/onboarding/steps/CompleteStep.svelte +++ b/apps/mana/apps/web/src/lib/components/onboarding/steps/CompleteStep.svelte @@ -50,7 +50,7 @@
@@ -60,8 +60,8 @@
-
Alle Apps
-
Entdecke mehr
+
Workbench
+
Deine Apps entdecken
diff --git a/apps/mana/apps/web/src/lib/components/settings/sections/SecuritySection.svelte b/apps/mana/apps/web/src/lib/components/settings/sections/SecuritySection.svelte index 7fb8c6d60..3faac2ef6 100644 --- a/apps/mana/apps/web/src/lib/components/settings/sections/SecuritySection.svelte +++ b/apps/mana/apps/web/src/lib/components/settings/sections/SecuritySection.svelte @@ -51,6 +51,7 @@ passkeys = await authStore.listPasskeys(); }} primaryColor="hsl(var(--color-primary))" + showTitle={false} /> @@ -65,6 +66,7 @@ sessionsLoading = false; }} primaryColor="hsl(var(--color-primary))" + showTitle={false} /> @@ -75,6 +77,7 @@ onDisable={(password) => authStore.disableTwoFactor(password)} onGenerateBackupCodes={(password) => authStore.generateBackupCodes(password)} primaryColor="hsl(var(--color-primary))" + showTitle={false} /> @@ -92,5 +95,6 @@ securityEventsLoading = false; }} primaryColor="hsl(var(--color-primary))" + showTitle={false} /> diff --git a/packages/shared-auth-ui/src/components/TwoFactorSetup.svelte b/packages/shared-auth-ui/src/components/TwoFactorSetup.svelte index 1548676ba..87872fc4b 100644 --- a/packages/shared-auth-ui/src/components/TwoFactorSetup.svelte +++ b/packages/shared-auth-ui/src/components/TwoFactorSetup.svelte @@ -39,6 +39,7 @@ password: string ) => Promise<{ success: boolean; backupCodes?: string[]; error?: string }>; primaryColor?: string; + showTitle?: boolean; translations?: Partial; } @@ -48,6 +49,7 @@ onDisable, onGenerateBackupCodes, primaryColor = '#6366f1', + showTitle = true, translations = {}, }: Props = $props(); @@ -168,7 +170,7 @@
{#if view === 'status'}
-

{t.title}

+ {#if showTitle}

{t.title}

{/if}
{enabled ? t.statusEnabled : t.statusDisabled} diff --git a/packages/shared-tailwind/src/sources.css b/packages/shared-tailwind/src/sources.css index f3b3375b5..c16648473 100644 --- a/packages/shared-tailwind/src/sources.css +++ b/packages/shared-tailwind/src/sources.css @@ -22,5 +22,4 @@ @source "../../shared-auth-ui/src"; @source "../../shared-branding/src"; @source "../../shared-theme-ui/src"; -@source "../../subscriptions/src"; @source "../../credits/src";