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
fix(settings): correct memory data panel to use French translations
Steven Enamakel6cda14baef1d
diff --git a/app/src/components/settings/panels/MemoryDataPanel.tsx b/app/src/components/settings/panels/MemoryDataPanel.tsxindex 8d30433ead..51bec7378a 100644--- a/app/src/components/settings/panels/MemoryDataPanel.tsx+++ b/app/src/components/settings/panels/MemoryDataPanel.tsx@@ -2,6 +2,7 @@ import { useCallback, useState } from 'react';import { useT } from '../../../lib/i18n/I18nContext';import type { ToastNotification } from '../../../types/intelligence';+import MemoryFamilyGate from '../../intelligence/MemoryFamilyGate';import { MemoryWorkspace } from '../../intelligence/MemoryWorkspace';import { ToastContainer } from '../../intelligence/Toast';import { VaultHealthChecklist } from '../../intelligence/VaultHealthChecklist';@@ -80,7 +81,9 @@ const MemoryDataPanel = ({ embedded = false }: MemoryDataPanelProps = {}) => {</SettingsSection><VaultHealthChecklist onToast={addToast} title={t('vaultHealth.setupTitle')} /><MemoryWindowControl onError={handleWindowError} onSaved={handleWindowSaved} />- <MemoryWorkspace onToast={addToast} />+ <MemoryFamilyGate family="tree">+ <MemoryWorkspace onToast={addToast} />+ </MemoryFamilyGate></div><ToastContainer notifications={toasts} onRemove={removeToast} /></>diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex 5f22ee2fdc..a1c2a337da 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -7493,7 +7493,8 @@ const messages: TranslationMap = {'memoryEngine.row.label': 'Moteur de mémoire :','memoryEngine.row.change': 'Modifier','memoryEngine.unavailable': 'Non disponible avec {engine}',- 'memoryEngine.unavailableHint': 'Changez de moteur de mémoire pour utiliser cette fonctionnalité.',+ 'memoryEngine.unavailableHint':+ 'Changez de moteur de mémoire pour utiliser cette fonctionnalité.','memoryEngine.engine.tinymemory.label': 'Sur cet appareil (TinyCortex)','memoryEngine.engine.tinymemory.description':'Stockée sur cet appareil avec TinyCortex. Privée, gratuite et par défaut.',diff --git a/app/src/pages/Brain.tsx b/app/src/pages/Brain.tsxindex 52a0d78ca4..92491c8b8e 100644--- a/app/src/pages/Brain.tsx+++ b/app/src/pages/Brain.tsx@@ -10,6 +10,7 @@ import { CodingSessionsCard } from '../components/intelligence/CodingSessionsCarimport GoalsPanel from '../components/intelligence/GoalsPanel';import { MemoryControls } from '../components/intelligence/MemoryControls';import MemoryEngineRow from '../components/intelligence/MemoryEngineRow';+import MemoryFamilyGate from '../components/intelligence/MemoryFamilyGate';import { MemoryGraph } from '../components/intelligence/MemoryGraph';import { MemorySourcesRegistry } from '../components/intelligence/MemorySourcesRegistry';import { MemoryTreeStatusPanel } from '../components/intelligence/MemoryTreeStatusPanel';@@ -365,16 +366,17 @@ export default function Brain() {: 'w-full space-y-5'}>{activeTab === 'graph' && (- <div className="space-y-5 animate-fade-up">- <MemoryControls- mode={mode}- onModeChange={setMode}- onRefresh={refresh}- onToast={addToast}- contentRootAbs={graph?.content_root_abs}- />+ <MemoryFamilyGate family="tree">+ <div className="space-y-5 animate-fade-up">+ <MemoryControls+ mode={mode}+ onModeChange={setMode}+ onRefresh={refresh}+ onToast={addToast}+ contentRootAbs={graph?.content_root_abs}+ />- {/*+ {/*A failed refresh AFTER a good load keeps the graph onscreen and warns, rather than replacing it with anerror. The graph is expensive to rebuild and stays@@ -391,49 +393,58 @@ export default function Brain() {this one means "what you see is old", the one belowmeans "there is nothing to see".*/}- {/*+ {/*`error !== null`, not truthiness: `load()`'s catch does`setError(err.message)`, and an Error carrying an emptymessage yields `''`, which is falsy. Under a truthinesstest that failure suppresses BOTH alerts and is silentagain — the exact defect this PR exists to remove.*/}- {error !== null && graph ? (- <Alert variant="warning">- <AlertDescription>{t('brain.refreshError')}</AlertDescription>- </Alert>- ) : null}+ {error !== null && graph ? (+ <Alert variant="warning">+ <AlertDescription>{t('brain.refreshError')}</AlertDescription>+ </Alert>+ ) : null}- {graph ? (- <MemoryGraph- nodes={graph.nodes}- edges={graph.edges}- mode={mode}- emptyHint={t('brain.empty')}- />- ) : error !== null ? (- <Alert variant="destructive">- <AlertDescription>{t('brain.error')}</AlertDescription>- </Alert>- ) : null}- </div>+ {graph ? (+ <MemoryGraph+ nodes={graph.nodes}+ edges={graph.edges}+ mode={mode}+ emptyHint={t('brain.empty')}+ />+ ) : error !== null ? (+ <Alert variant="destructive">+ <AlertDescription>{t('brain.error')}</AlertDescription>+ </Alert>+ ) : null}+ </div>+ </MemoryFamilyGate>)}- {activeTab === 'goals' && <GoalsPanel />}+ {activeTab === 'goals' && (+ <MemoryFamilyGate family="goals">+ <GoalsPanel />+ </MemoryFamilyGate>+ )}{activeTab === 'sources' && (<div className="space-y-5 animate-fade-up"><MemoryEngineRow /><CodingSessionsCard onToast={addToast} />- <MemorySourcesRegistry onToast={addToast} />+ <MemoryFamilyGate family="sources">+ <MemorySourcesRegistry onToast={addToast} />+ </MemoryFamilyGate></div>)}{activeTab === 'sync' && syncView === 'status' && (<div className="space-y-5 animate-fade-up">- <Card padded divided={false}>- <MemoryTreeStatusPanel onToast={addToast} />- </Card>+ <MemoryFamilyGate family="tree">+ <Card padded divided={false}>+ <MemoryTreeStatusPanel onToast={addToast} />+ </Card>+ </MemoryFamilyGate>{/* openhuman#6257: what is syncing right now, beside thehistory of what already ran. */}<Card padded divided={false} data-testid="brain-sync-activity">