The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(settings): consolidate language and devices into account panel
Steven Enamakel8ebf63640d17
diff --git a/app/src/components/settings/hooks/useSettingsNavigation.ts b/app/src/components/settings/hooks/useSettingsNavigation.tsindex 9ec82c4358..17a384d471 100644--- a/app/src/components/settings/hooks/useSettingsNavigation.ts+++ b/app/src/components/settings/hooks/useSettingsNavigation.ts@@ -29,7 +29,6 @@ type SettingsRoute =| 'personality'| 'face'| 'theme'- | 'language'| 'appearance'| 'approval-history'| 'integrations'@@ -37,7 +36,6 @@ type SettingsRoute =| 'mcp-server'| 'sandbox-settings'| 'permissions'- | 'devices'| 'usage'| 'security'| 'migration'diff --git a/app/src/components/settings/layout/settingsNavIcons.tsx b/app/src/components/settings/layout/settingsNavIcons.tsxindex d911fbd338..31fbbae905 100644--- a/app/src/components/settings/layout/settingsNavIcons.tsx+++ b/app/src/components/settings/layout/settingsNavIcons.tsx@@ -54,11 +54,6 @@ export const SETTINGS_NAV_ICONS: Record<string, ReactNode> = {'M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z')),- language: icon(- stroke(- 'M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129'- )- ),personality: icon(stroke('M12 21a9 9 0 100-18 9 9 0 000 18zM9 10h.01M15 10h.01M9.5 15c.83.67 1.67 1 2.5 1s1.67-.33 2.5-1'@@ -74,9 +69,6 @@ export const SETTINGS_NAV_ICONS: Record<string, ReactNode> = {'M5.121 17.804A13 13 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z')),- devices: icon(- stroke('M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z')- ),tools: icon(stroke('M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065zM15 12a3 3 0 11-6 0 3 3 0 016 0z'diff --git a/app/src/components/settings/panels/AccountPanel.tsx b/app/src/components/settings/panels/AccountPanel.tsxindex efd021613a..dc323d4e71 100644--- a/app/src/components/settings/panels/AccountPanel.tsx+++ b/app/src/components/settings/panels/AccountPanel.tsx@@ -6,6 +6,7 @@ import { useCoreState } from '../../../providers/CoreStateProvider';import type { PlanTier } from '../../../types/api';import { BILLING_DASHBOARD_URL } from '../../../utils/links';import { openUrl } from '../../../utils/openUrl';+import LanguageSelect from '../../LanguageSelect';import { Badge, Button, Card, Field } from '../../ui';import SettingsPanel from '../layout/SettingsPanel';import LogoutAndClearActions from '../LogoutAndClearActions';@@ -72,6 +73,14 @@ const AccountPanel = () => {</Card>)}+ <Card>+ <Field+ label={t('settings.language')}+ description={t('settings.languageDesc')}+ control={<LanguageSelect ariaLabel={t('settings.language')} />}+ />+ </Card>+<LogoutAndClearActions /></SettingsPanel>);diff --git a/app/src/components/settings/settingsRouteElements.tsx b/app/src/components/settings/settingsRouteElements.tsxindex 938053d478..9f49eb11f5 100644--- a/app/src/components/settings/settingsRouteElements.tsx+++ b/app/src/components/settings/settingsRouteElements.tsx@@ -12,10 +12,8 @@ import AppearancePanel from './panels/AppearancePanel';import ApprovalHistoryPanel from './panels/ApprovalHistoryPanel';import CoreConnectionPanel from './panels/CoreConnectionPanel';import DeveloperOptionsPanel from './panels/DeveloperOptionsPanel';-import DevicesPanel from './panels/DevicesPanel';import EventLogPanel from './panels/EventLogPanel';import FeedbackPanel from './panels/FeedbackPanel';-import LanguagePanel from './panels/LanguagePanel';import MascotPanel from './panels/MascotPanel';import McpServerPanel from './panels/McpServerPanel';import MemoryDataPanel from './panels/MemoryDataPanel';@@ -101,7 +99,7 @@ export function settingsRouteElements(): ReactNode {somewhere real rather than falling through to the settings index. */}<Route path="notifications" element={<SettingsRedirect to="/settings/account" />} />{/* Real device-pairing panel (replaces the old "Coming Soon" stub). */}- <Route path="devices" element={wrapSettingsPage(<DevicesPanel />)} />+ <Route path="devices" element={<SettingsRedirect to="/settings/account" />} />{/* Feedback was its own top-level route reached from a sidebar-headericon. That icon is the command-palette trigger now, which left thepage with no way in, so the board lives here as a General panel. The@@ -118,7 +116,7 @@ export function settingsRouteElements(): ReactNode {<Route path="voice" element={<Navigate to="/connections?tab=voice" replace />} /><Route path="personality" element={<PersonalityRoute />} /><Route path="face" element={wrapSettingsPage(<MascotPanel />)} />- <Route path="language" element={wrapSettingsPage(<LanguagePanel />)} />+ <Route path="language" element={<SettingsRedirect to="/settings/account" />} /><Route path="agents" element={wrapSettingsPage(<AgentsPanel />)} /><Route path="agents/new" element={wrapSettingsPage(<AgentEditorPage />)} /><Route path="agents/edit/:id" element={wrapSettingsPage(<AgentEditorPage />)} />diff --git a/app/src/components/settings/settingsRouteRegistry.ts b/app/src/components/settings/settingsRouteRegistry.tsindex ae2b88157a..ecff4421d4 100644--- a/app/src/components/settings/settingsRouteRegistry.ts+++ b/app/src/components/settings/settingsRouteRegistry.ts@@ -147,6 +147,9 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [descriptionKey: 'pages.settings.accountSection.description',section: 'home',searchKeywords: [+ 'language',+ 'locale',+ 'translation','profile','sign out','logout',@@ -202,27 +205,8 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [navGroup: 'appearance',navOrder: 1,},- {- // language: the display-language picker, formerly a card at the bottom of- // Appearance — a language is not a visual preference.- id: 'language',- titleKey: 'settings.language',- descriptionKey: 'settings.languageDesc',- section: 'home',- searchKeywords: ['language', 'locale', 'translation', 'i18n'],- navGroup: 'general',- navOrder: 1,- },- {- // devices: real pairing panel (the old "Coming Soon" stub was removed).- id: 'devices',- titleKey: 'settings.account.devices',- descriptionKey: 'settings.account.devicesDesc',- section: 'home',- searchKeywords: ['mobile', 'phone', 'ios', 'android', 'pair'],- navGroup: 'general',- navOrder: 3,- },+ // language: now a card on Account; devices: pairing page removed. Both+ // slugs redirect to /settings/account.// --- Assistant group ---// The old 'ai' and 'agents-settings' hub pages are retired — their slugs