docs update, fix JSONL import (full-scan instead of line-offset tracking), sync button UX

This commit is contained in:
Meleki committed 2026-02-23 21:54:19 +01:00
1 parent 9aa8b8a1c6
commit 90139430f7
6 files changed
+81 -23

No files matched your search

+2 -3
View File
@@ -543,13 +543,12 @@ async function syncData() {
try {
const res = await api('/api/sync', { method: 'POST' });
btn.textContent = `↻ ${res.output}`;
setTimeout(() => { btn.textContent = '↻ Sync'; }, 3000);
await loadView();
setTimeout(() => { btn.textContent = '↻ Sync'; btn.classList.remove('syncing'); }, 3000);
} catch (e) {
btn.textContent = '↻ Fehler!';
setTimeout(() => { btn.textContent = '↻ Sync'; }, 3000);
setTimeout(() => { btn.textContent = '↻ Sync'; btn.classList.remove('syncing'); }, 3000);
}
btn.classList.remove('syncing');
}
// --- Modal ---