From 6acf27326734afc0fc9121b8b3c5d6effe5221f5 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 23 May 2026 21:12:17 -0400 Subject: [PATCH] fix(ui): poll import task list during active batch so Recent Import Tasks doesn't sit stale Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/views/SettingsView.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/SettingsView.vue b/frontend/src/views/SettingsView.vue index b15b946..8235e0a 100644 --- a/frontend/src/views/SettingsView.vue +++ b/frontend/src/views/SettingsView.vue @@ -57,7 +57,12 @@ function startPolling() { pollId = setInterval(() => { if (!document.hidden) { system.refreshStats() - if (tab.value === 'import') importStore.refreshStatus() + if (tab.value === 'import') { + importStore.refreshStatus() + // Refresh the task list while a batch is in flight so the UI + // doesn't sit stale next to a ticking imported/skipped counter. + if (importStore.activeBatch) importStore.loadTasks(true) + } } }, 5000) }