From a40ce47127b9801c13b6ed418e01bbafc3ac3445 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 17 Apr 2026 15:31:01 +0000 Subject: [PATCH] Fix progress column to show Qdrant count for completed sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete sources now show "19,344 in Qdrant" instead of misleading extraction counts. Each status gets contextual progress display: complete → X in Qdrant, processing → X/Y in Qdrant (%), extracting → X/Y extracted, detected → dash. Co-Authored-By: Claude Opus 4.6 --- static/js/kiwix.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/kiwix.js b/static/js/kiwix.js index 5b21f66..c85ee93 100644 --- a/static/js/kiwix.js +++ b/static/js/kiwix.js @@ -44,9 +44,13 @@ '
' + s.zim_filename + '
' + '' + (s.language || '\u2014') + '' + '' + RECON.fmt(s.article_count) + '' + - '' + (es === 'processing' ? + '' + (es === 'complete' && pipeComplete > 0 ? + RECON.fmt(pipeComplete) + ' in Qdrant' : + es === 'processing' ? RECON.fmt(pipeComplete) + ' / ' + RECON.fmt(pipeTotal) + ' in Qdrant (' + pctDone + '%)' : - RECON.fmt(s.processed_count) + ' / ' + RECON.fmt(s.article_count) + ' extracted') + '' + + es === 'extracting' ? + RECON.fmt(s.processed_count) + ' / ' + RECON.fmt(s.article_count) + ' extracted' : + '\u2014') + '' + '' + statusBadge + '' + '' + toggle + '' + 'Browse' +