Add total download speed to stats bar
Some checks are pending
Build and Release / build (push) Waiting to run

Show current aggregate speed (all active downloads) in the stats bar
next to Pakete/Dateien/Gesamt. Only visible while session is running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe 2026-03-02 12:47:11 +01:00
parent c28384e78d
commit daf70211ac
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.4.82",
"version": "1.4.83",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",

View File

@ -1530,6 +1530,9 @@ export function App(): ReactElement {
<span>Pakete: {snapshot.stats.totalPackages}</span>
<span>Dateien: {snapshot.stats.totalFiles} fertig</span>
<span>Gesamt: {humanSize(snapshot.stats.totalDownloaded)}</span>
{snapshot.session.running && !snapshot.session.paused && (
<span>{snapshot.speedText.replace("Geschwindigkeit: ", "Speed: ")}</span>
)}
</div>
{totalPackageCount === 0 && <div className="empty">Noch keine Pakete in der Queue.</div>}
{totalPackageCount > 0 && packages.length === 0 && <div className="empty">Keine Pakete passend zur Suche.</div>}