From 2ad9f2d1eba319bc50cec4c0f4dbcd6c01328b90 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 12 Mar 2026 03:46:30 +0100 Subject: [PATCH] fix: statusbar shows uploaded/total + add Done counter - Statusbar: uploaded / total (not remaining) so right side stays constant - New "Done" counter in statusbar showing completed uploads Co-Authored-By: Claude Opus 4.6 --- renderer/app.js | 3 ++- renderer/index.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/renderer/app.js b/renderer/app.js index cdd7857..3f2d2b8 100644 --- a/renderer/app.js +++ b/renderer/app.js @@ -1634,12 +1634,13 @@ function updateStatusBar() { document.getElementById('sbState').textContent = stateText; document.getElementById('sbSpeed').textContent = formatSpeed(lastUploadStats.globalSpeedKbs || 0); const uploadedSize = Math.max(0, stats.totalSize - stats.remainingSize); - document.getElementById('sbTotal').textContent = `${formatSize(uploadedSize)} / ${formatSize(stats.remainingSize)}`; + document.getElementById('sbTotal').textContent = `${formatSize(uploadedSize)} / ${formatSize(stats.totalSize)}`; document.getElementById('sbEta').textContent = `ETA ${etaSeconds > 0 ? formatTime(etaSeconds) : '--:--'}`; document.getElementById('sbConnections').textContent = `Aktive Verbindungen ${lastUploadStats.activeJobs || 0}`; document.getElementById('sbQueueCount').textContent = `Gesamt ${stats.total}`; document.getElementById('sbRemainingCount').textContent = `Remaining ${stats.remaining}`; document.getElementById('sbInProgressCount').textContent = `In Progress ${stats.inProgress}`; + document.getElementById('sbDoneCount').textContent = `Done ${stats.done}`; document.getElementById('sbErrorCount').textContent = `Error ${stats.errors}`; } diff --git a/renderer/index.html b/renderer/index.html index a0e37e6..523c9ee 100644 --- a/renderer/index.html +++ b/renderer/index.html @@ -289,6 +289,8 @@ | In Progress 0 | + Done 0 + | Error 0