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
feat(settings): add route registry and navigation icons
Steven Enamakel2209cf097b8f
diff --git a/app/src/components/settings/hooks/useSettingsNavigation.ts b/app/src/components/settings/hooks/useSettingsNavigation.tsindex 1e20ad7662..8d4fddd14e 100644--- a/app/src/components/settings/hooks/useSettingsNavigation.ts+++ b/app/src/components/settings/hooks/useSettingsNavigation.ts@@ -29,6 +29,7 @@ type SettingsRoute =| 'notifications'| 'personality'| 'face'+ | 'theme'| 'language'| 'appearance'| 'approval-history'diff --git a/app/src/components/settings/layout/settingsNavIcons.tsx b/app/src/components/settings/layout/settingsNavIcons.tsxindex 0271637ca6..4704e32c34 100644--- a/app/src/components/settings/layout/settingsNavIcons.tsx+++ b/app/src/components/settings/layout/settingsNavIcons.tsx@@ -39,6 +39,11 @@ export const SETTINGS_NAV_ICONS: Record<string, ReactNode> = {'M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z')),+ theme: icon(+ stroke(+ 'M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01'+ )+ ),face: icon(stroke('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'diff --git a/app/src/components/settings/settingsRouteElements.tsx b/app/src/components/settings/settingsRouteElements.tsxindex 7d6dc0bac1..effc42add6 100644--- a/app/src/components/settings/settingsRouteElements.tsx+++ b/app/src/components/settings/settingsRouteElements.tsx@@ -25,6 +25,7 @@ import MigrationPanel from './panels/MigrationPanel';import NotificationsPanel from './panels/NotificationsPanel';import PermissionsPanel from './panels/PermissionsPanel';import PersonaPanel from './panels/PersonaPanel';+import ThemeStudioPanel from './panels/ThemeStudioPanel';import PrivacyPanel from './panels/PrivacyPanel';import RecoveryPhrasePanel from './panels/RecoveryPhrasePanel';import SandboxSettingsPanel from './panels/SandboxSettingsPanel';@@ -96,7 +97,7 @@ export function settingsRouteElements(): ReactNode {<Route path="migration" element={wrapSettingsPage(<MigrationPanel />)} /><Route path="appearance" element={wrapSettingsPage(<AppearancePanel />)} />{/* Theme studio merged into Appearance — one page for one subject. */}- <Route path="theme" element={<SettingsRedirect to="/settings/appearance#studio" />} />+ <Route path="theme" element={wrapSettingsPage(<ThemeStudioPanel />)} /><Route path="notifications" element={wrapSettingsPage(<NotificationsPanel />)} />{/* Real device-pairing panel (replaces the old "Coming Soon" stub). */}<Route path="devices" element={wrapSettingsPage(<DevicesPanel />)} />diff --git a/app/src/components/settings/settingsRouteRegistry.ts b/app/src/components/settings/settingsRouteRegistry.tsindex adfbe10c82..503ca4f126 100644--- a/app/src/components/settings/settingsRouteRegistry.ts+++ b/app/src/components/settings/settingsRouteRegistry.ts@@ -182,6 +182,18 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [navGroup: 'appearance',navOrder: 0,},+ {+ // theme: Theme Studio — per-token colours, fonts, background and theme+ // import/export for the active theme. Was a tab of Appearance; the+ // Appearance gallery's "Custom" tile links here.+ id: 'theme',+ titleKey: 'settings.theme.title',+ descriptionKey: 'settings.theme.menuDesc',+ section: 'home',+ searchKeywords: ['theme studio', 'custom theme', 'palette', 'colour', 'color', 'font', 'import'],+ navGroup: 'appearance',+ navOrder: 1,+ },{// language: the display-language picker, formerly a card at the bottom of// Appearance — a language is not a visual preference.@@ -218,7 +230,7 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [section: 'home',searchKeywords: ['personality', 'tone', 'character', 'persona', 'name'],navGroup: 'appearance',- navOrder: 1,+ navOrder: 2,},{id: 'face',@@ -227,7 +239,7 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [section: 'home',searchKeywords: ['face', 'avatar', 'mascot', 'tiny', 'colour', 'color'],navGroup: 'appearance',- navOrder: 2,+ navOrder: 3,},// --- Connections group ---