From 1446463f04613c0435bb9496164dc0f98b12e7fb Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 9 May 2026 07:39:35 +0000 Subject: [PATCH] design: apply Architectural Minimalist style to all Settings pages - settings/layout: serif h1 title + uppercase tracking subtitle, matching Agents page - SettingsNav: uppercase tracking-wider tabs with foreground underline on active - All settings pages (general, ai, appearance, profile, mcp, about, data): remove duplicate h1 (now in layout header), replace with uppercase section label - notes.ts: decouple history guards from global userAISettings - note-document-info-panel: add 'Save version' button with loading feedback --- .../app/(main)/settings/about/page.tsx | 7 +++---- .../(main)/settings/ai/ai-settings-header.tsx | 7 +++---- .../appearance/appearance-settings-client.tsx | 8 ++++---- .../app/(main)/settings/data/page.tsx | 9 ++++----- .../general/general-settings-client.tsx | 8 +++----- memento-note/app/(main)/settings/layout.tsx | 20 +++++++++++++++---- memento-note/app/(main)/settings/mcp/page.tsx | 7 +++---- .../(main)/settings/profile/profile-form.tsx | 7 +++---- .../components/settings/SettingsNav.tsx | 8 ++++---- 9 files changed, 43 insertions(+), 38 deletions(-) diff --git a/memento-note/app/(main)/settings/about/page.tsx b/memento-note/app/(main)/settings/about/page.tsx index db721c6..a8796b7 100644 --- a/memento-note/app/(main)/settings/about/page.tsx +++ b/memento-note/app/(main)/settings/about/page.tsx @@ -11,10 +11,9 @@ export default function AboutSettingsPage() { return (
-
-

{t('about.title')}

-

{t('about.description')}

-
+

+ {t('about.description')} +

{/* App info */} diff --git a/memento-note/app/(main)/settings/ai/ai-settings-header.tsx b/memento-note/app/(main)/settings/ai/ai-settings-header.tsx index bb2c14b..a93b7f1 100644 --- a/memento-note/app/(main)/settings/ai/ai-settings-header.tsx +++ b/memento-note/app/(main)/settings/ai/ai-settings-header.tsx @@ -6,9 +6,8 @@ export function AISettingsHeader() { const { t } = useLanguage() return ( -
-

{t('aiSettings.title')}

-

{t('aiSettings.description')}

-
+

+ {t('aiSettings.description')} +

) } diff --git a/memento-note/app/(main)/settings/appearance/appearance-settings-client.tsx b/memento-note/app/(main)/settings/appearance/appearance-settings-client.tsx index 6462e7a..39f7b60 100644 --- a/memento-note/app/(main)/settings/appearance/appearance-settings-client.tsx +++ b/memento-note/app/(main)/settings/appearance/appearance-settings-client.tsx @@ -163,10 +163,10 @@ export function AppearanceSettingsClient({ return (
-
-

{t('appearance.title')}

-

{t('appearance.description')}

-
+ {/* Section label — architectural style */} +

+ {t('appearance.description') || "Personnalisez l'interface"} +

-
-

{t('dataManagement.title')}

-

{t('dataManagement.toolsDescription')}

-
+
+

+ {t('dataManagement.toolsDescription')} +

{/* Export card */} diff --git a/memento-note/app/(main)/settings/general/general-settings-client.tsx b/memento-note/app/(main)/settings/general/general-settings-client.tsx index 9446b78..a0c6b6e 100644 --- a/memento-note/app/(main)/settings/general/general-settings-client.tsx +++ b/memento-note/app/(main)/settings/general/general-settings-client.tsx @@ -50,11 +50,9 @@ export function GeneralSettingsClient({ initialSettings }: GeneralSettingsClient return (
- {/* Page title */} -
-

{t('generalSettings.title')}

-

{t('generalSettings.description')}

-
+

+ {t('generalSettings.description')} +

{/* 2-column card grid */}
diff --git a/memento-note/app/(main)/settings/layout.tsx b/memento-note/app/(main)/settings/layout.tsx index 8843a9b..30894bb 100644 --- a/memento-note/app/(main)/settings/layout.tsx +++ b/memento-note/app/(main)/settings/layout.tsx @@ -9,17 +9,29 @@ export default function SettingsLayout({ }) { return (
- {/* Horizontal Tab Navigation */} -
- + {/* Architectural header — matches Agents page */} +
+
+
+

+ Paramètres +

+

+ Configuration & Préférences +

+
+
+ {/* Tab nav flush to the border-bottom of header */} +
{/* Page Content */}
-
+
{children}
) } + diff --git a/memento-note/app/(main)/settings/mcp/page.tsx b/memento-note/app/(main)/settings/mcp/page.tsx index 8a9e365..0d135c9 100644 --- a/memento-note/app/(main)/settings/mcp/page.tsx +++ b/memento-note/app/(main)/settings/mcp/page.tsx @@ -14,10 +14,9 @@ export default async function McpSettingsPage() { return (
-
-

Paramètres MCP

-

Gérez vos clés API et serveurs MCP connectés.

-
+

+ Gérez vos clés API et serveurs MCP connectés. +

) diff --git a/memento-note/app/(main)/settings/profile/profile-form.tsx b/memento-note/app/(main)/settings/profile/profile-form.tsx index 7cfd633..2e387b3 100644 --- a/memento-note/app/(main)/settings/profile/profile-form.tsx +++ b/memento-note/app/(main)/settings/profile/profile-form.tsx @@ -13,10 +13,9 @@ export function ProfileForm({ user, userAISettings }: { user: any; userAISetting return (
-
-

{t('profile.title')}

-

{t('profile.description')}

-
+

+ {t('profile.description')} +

{/* Profile info card */} diff --git a/memento-note/components/settings/SettingsNav.tsx b/memento-note/components/settings/SettingsNav.tsx index 46a511b..b222f0d 100644 --- a/memento-note/components/settings/SettingsNav.tsx +++ b/memento-note/components/settings/SettingsNav.tsx @@ -34,16 +34,16 @@ export function SettingsNav({ className }: SettingsNavProps) { const isActive = (href: string) => pathname === href || pathname.startsWith(href + '/') return ( -