feat(download): enhance download progress ui with transfer stats

This commit is contained in:
Will Miao
2025-10-13 19:06:32 +08:00
parent 5e441d9c4f
commit 60d23aa238
14 changed files with 202 additions and 8 deletions

View File

@@ -164,7 +164,13 @@ export class DownloadManager {
const loraName = currentLora ? currentLora.name : '';
// Update progress display
updateProgress(currentLoraProgress, completedDownloads, loraName);
const metrics = {
bytesDownloaded: data.bytes_downloaded,
totalBytes: data.total_bytes,
bytesPerSecond: data.bytes_per_second
};
updateProgress(currentLoraProgress, completedDownloads, loraName, metrics);
// Add more detailed status messages based on progress
if (currentLoraProgress < 3) {