Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(settings): replace PanelPage with SettingsPanel in MemoryDebugPanel

Steven Enamakel9209355ab948
diff --git a/app/src/components/settings/panels/MemoryDebugPanel.tsx b/app/src/components/settings/panels/MemoryDebugPanel.tsx
index 2c61947322..a33308f4e1 100644
--- a/app/src/components/settings/panels/MemoryDebugPanel.tsx
+++ b/app/src/components/settings/panels/MemoryDebugPanel.tsx
@@ -12,7 +12,6 @@ import {
memoryRecallNamespace,
} from '../../../utils/tauriCommands';
import { MemoryTextWithEntities } from '../../intelligence/MemoryTextWithEntities';
-import PanelPage from '../../layout/PanelPage';
import Button from '../../ui/Button';
import SettingsBackButton from '../components/SettingsBackButton';
import {
@@ -197,13 +196,8 @@ const MemoryDebugPanel = () => {
}, [clearNamespaceInput, refreshAll, t]);
return (
- <PanelPage
- className="z-10"
- contentClassName=""
- testId="memory-debug-panel"
- description={t('devOptions.debugPanelsDesc')}
- leading={<SettingsBackButton onBack={navigateBack} />}>
- <div className="p-4 space-y-5">
+ <SettingsPanel testId="memory-debug-panel" description={t('devOptions.debugPanelsDesc')}>
+ <div className="space-y-5">
{/* Documents */}
<SettingsSection title={t('memory.documents')}>
<div className="px-4 py-3 space-y-3">
@@ -440,7 +434,7 @@ const MemoryDebugPanel = () => {
</div>
</SettingsSection>
</div>
- </PanelPage>
+ </SettingsPanel>
);
};