The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): label the settings sessions group 'Sessions', not 'Archived Chats'
brooklyn!540442a8a4c6
diff --git a/apps/desktop/src/app/settings/index.tsx b/apps/desktop/src/app/settings/index.tsxindex 7014f8aa0b6..859697e5813 100644--- a/apps/desktop/src/app/settings/index.tsx+++ b/apps/desktop/src/app/settings/index.tsx@@ -381,7 +381,7 @@ export function SettingsView({ onClose, onConfigSaved, onMainModelChanged }: Setactive: activeView === 'sessions',icon: Archive,id: 'sessions',- label: t.settings.nav.archivedChats,+ label: t.settings.nav.sessions,onSelect: () => setActiveView('sessions')},{diff --git a/apps/desktop/src/app/settings/subpages.test.ts b/apps/desktop/src/app/settings/subpages.test.tsindex 3ce0d7d99e3..cef59fa7576 100644--- a/apps/desktop/src/app/settings/subpages.test.ts+++ b/apps/desktop/src/app/settings/subpages.test.ts@@ -44,6 +44,20 @@ describe('settings subpage routing', () => {}})+ it('gives every settings group its own nav label in every locale', () => {+ for (const locale of Object.values(TRANSLATIONS)) {+ const nav: Record<string, string> = locale.settings.nav++ for (const view of Object.keys(OTHER_SUBPAGES)) {+ expect(nav[view]).toBeTruthy()+ }++ // Sessions also holds the default project folder, so it can't wear the+ // label of the palette row that lands on its archive page.+ expect(nav.sessions).not.toBe(nav.archivedChats)+ }+ })+it('routes every curated field and legacy target to its owning child before consuming the target', () => {for (const section of SECTIONS.filter(section => section.keys.length)) {for (const field of section.keys) {diff --git a/apps/desktop/src/app/settings/use-settings-search.ts b/apps/desktop/src/app/settings/use-settings-search.tsindex 384ef0c8eb9..c70f4fb677f 100644--- a/apps/desktop/src/app/settings/use-settings-search.ts+++ b/apps/desktop/src/app/settings/use-settings-search.ts@@ -125,10 +125,7 @@ export function useSettingsSearchCatalog(enabled: boolean) {{ settings: Settings2, tools: Wrench })- const pageLabels: Record<string, string> = {- ...t.settings.nav,- sessions: t.settings.nav.archivedChats- }+ const pageLabels: Record<string, string> = t.settings.nav// The pages that own rows: config sections and the standalone views.const parents = [diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.tsindex f9b410c7025..9b6b6bcfbd9 100644--- a/apps/desktop/src/i18n/ar.ts+++ b/apps/desktop/src/i18n/ar.ts@@ -438,6 +438,7 @@ export const ar = defineLocale({keysSettings: 'الإعدادات',mcp: 'MCP',archivedChats: 'المحادثات المؤرشفة',+ sessions: 'الجلسات',about: 'حول',notifications: 'الإشعارات',keybinds: 'اختصارات لوحة المفاتيح',diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.tsindex c3259656a3c..cb238ad138d 100644--- a/apps/desktop/src/i18n/de.ts+++ b/apps/desktop/src/i18n/de.ts@@ -830,6 +830,7 @@ export const de = defineLocale({keysSettings: 'Einstellungen',mcp: 'MCP',archivedChats: 'Archivierte Chats',+ sessions: 'Sessions',about: 'Über',billing: 'Abrechnung',notifications: 'Benachrichtigungen',diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex fab72f1e442..1031d71072a 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -812,6 +812,7 @@ export const en: Translations = {keysSettings: 'Settings',mcp: 'MCP',archivedChats: 'Archived Chats',+ sessions: 'Sessions',about: 'About',billing: 'Billing',notifications: 'Notifications',diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.tsindex d27064e6e00..16d43831ac4 100644--- a/apps/desktop/src/i18n/es.ts+++ b/apps/desktop/src/i18n/es.ts@@ -830,6 +830,7 @@ export const es = defineLocale({keysSettings: 'Configuración',mcp: 'MCP',archivedChats: 'Chats archivados',+ sessions: 'Sesiones',about: 'Acerca de',billing: 'Facturación',notifications: 'Notificaciones',diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.tsindex 4395f3bbeb0..37a909de4be 100644--- a/apps/desktop/src/i18n/fr.ts+++ b/apps/desktop/src/i18n/fr.ts@@ -829,6 +829,7 @@ export const fr = defineLocale({keysSettings: 'Paramètres',mcp: 'MCP',archivedChats: 'Conversations archivées',+ sessions: 'Sessions',about: 'À propos',billing: 'Facturation',notifications: 'Notifications',diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex 8dc784a1af0..74cc4db5946 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -424,6 +424,7 @@ export const ja = defineLocale({keysSettings: '設定',mcp: 'MCP',archivedChats: 'アーカイブ済みチャット',+ sessions: 'セッション',about: '情報',billing: '請求',notifications: '通知',diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex e6db4344c93..ae3d24bf4b4 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -480,6 +480,7 @@ export const ru = defineLocale({keysSettings: 'Настройки',mcp: 'MCP',archivedChats: 'Архив чатов',+ sessions: 'Сеансы',about: 'О программе',billing: 'Оплата',notifications: 'Уведомления'diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex 9eda6ac62ef..fe11c9d6994 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -682,6 +682,7 @@ export interface Translations {keysSettings: stringmcp: stringarchivedChats: string+ sessions: stringabout: stringbilling: stringnotifications: stringdiff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.tsindex c541e3dbd5d..e9882c18450 100644--- a/apps/desktop/src/i18n/zh-hant.ts+++ b/apps/desktop/src/i18n/zh-hant.ts@@ -381,6 +381,7 @@ export const zhHant = defineLocale({keysSettings: '設定',mcp: 'MCP',archivedChats: '已封存聊天',+ sessions: '工作階段',about: '關於',billing: '帳單',notifications: '通知',diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 75e3494dd93..2779bc7f7c3 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -523,6 +523,7 @@ export const zh = defineLocale({keysSettings: '设置',mcp: 'MCP',archivedChats: '已归档对话',+ sessions: '会话',about: '关于',billing: '账单',notifications: '通知',