diff --git a/frontend/app.js b/frontend/app.js index d47e8b1..aafe426 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -5718,13 +5718,13 @@ const n = data.total_changes || 0; const vaults = (data.vaults || []).join(", "); - showToast(`${n} fichier(s) mis à jour (${vaults})`, "info"); + // Toast removed: silent auto-indexing — no notification needed // Refresh sidebar and tags if affected vault matches current context const affectsCurrentVault = selectedContextVault === "all" || (data.vaults || []).includes(selectedContextVault); if (affectsCurrentVault) { try { - await Promise.all([loadVaults(), loadTags()]); + await Promise.all([refreshSidebarTreePreservingState(), refreshTagsForContext()]); // Refresh current file if it was updated if (currentVault && currentPath) { const changed = (data.changes || []).some((c) => c.vault === currentVault && c.path === currentPath);