feat: summarize completed upload batches

Capture real batch duration and show a dedicated localized completion summary with success, failure, and skipped counts plus a direct action to open failed uploads.
This commit is contained in:
Sucukdeluxe
2026-08-21 01:10:53 +02:00
parent fb544efe2f
commit 04bd4b396c
10 changed files with 153 additions and 0 deletions
+3
View File
@@ -2082,6 +2082,7 @@ ipcMain.handle('start-upload', async (_event, payload) => {
succeeded: 0,
failed: 0,
skipped: 0,
durationSec: 0,
files: []
}, skippedJobs);
try { await configStore.appendHistory(skippedSummary); } catch (error) {
@@ -2347,6 +2348,8 @@ ipcMain.handle('start-upload', async (_event, payload) => {
total: tasks.length,
succeeded: 0,
failed: tasks.length,
skipped: 0,
durationSec: 0,
files: [],
error: err ? err.message : 'Unbekannter Fehler'
};