diff --git a/memento-note/components/contextual-ai-chat.tsx b/memento-note/components/contextual-ai-chat.tsx
index 85ca171..3e539a7 100644
--- a/memento-note/components/contextual-ai-chat.tsx
+++ b/memento-note/components/contextual-ai-chat.tsx
@@ -507,6 +507,56 @@ export function ContextualAIChat({
)}
+
+ {/* Enrich-in-progress indicator */}
+ {resourceEnriching && !isLoading && (
+
+
+
+ {resourcePreview.source === 'chat' ? (t('ai.resource.fromChat') || 'Remplacement')
+ : resourcePreview.source === 'replace' ? (t('ai.resource.replacement') || 'Remplacement')
+ : resourcePreview.source === 'complete' ? (t('ai.resource.completedByAI') || 'Complété par IA')
+ : (t('ai.resource.mergedByAI') || 'Fusionné par IA')}
+
+
+
+
+
+
+
+
+
+
+
+ )}
+
+ {/* ── Left panel: note list — resizable ── */}
+
{/* Header */}
@@ -941,6 +962,15 @@ export function NotesTabsView({
+ {/* Resize handle */}
+
+
{/* ── Right content panel ── */}
{selected ? (
diff --git a/memento-note/scripts/add-resize.js b/memento-note/scripts/add-resize.js
new file mode 100644
index 0000000..a26c06f
--- /dev/null
+++ b/memento-note/scripts/add-resize.js
@@ -0,0 +1,60 @@
+const fs = require('fs');
+const path = require('path');
+
+const filePath = path.join(__dirname, '..', 'components', 'notes-tabs-view.tsx');
+let src = fs.readFileSync(filePath, 'utf8');
+
+const insertCode = `
+ // Resizable left panel
+ const [listPanelWidth, setListPanelWidth] = useState(256)
+ const isDraggingRef = useRef(false)
+
+ const handleResizeStart = (e) => {
+ e.preventDefault()
+ isDraggingRef.current = true
+ const startX = e.clientX
+ const startW = listPanelWidth
+ const onMove = (ev) => {
+ if (!isDraggingRef.current) return
+ setListPanelWidth(Math.min(420, Math.max(180, startW + (ev.clientX - startX))))
+ }
+ const onUp = () => {
+ isDraggingRef.current = false
+ window.removeEventListener('mousemove', onMove)
+ window.removeEventListener('mouseup', onUp)
+ }
+ window.addEventListener('mousemove', onMove)
+ window.addEventListener('mouseup', onUp)
+ }
+
+`;
+
+// Insert before the return statement
+const MARKER = ' return (\r\n