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 <noreply@anthropic.com>
This commit is contained in:
parent
13d220bd30
commit
2ad9f2d1eb
@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
@ -289,6 +289,8 @@
|
||||
<span class="sb-separator">|</span>
|
||||
<span class="sb-progress-count" id="sbInProgressCount">In Progress 0</span>
|
||||
<span class="sb-separator">|</span>
|
||||
<span class="sb-done-count" id="sbDoneCount">Done 0</span>
|
||||
<span class="sb-separator">|</span>
|
||||
<span class="sb-error-count" id="sbErrorCount">Error 0</span>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user