alert() in Electron halts the renderer main thread until the user clicks OK — the upload table, status bar and progress all freeze. During a 170-file batch the dialog popped up mid-upload and froze everything for however long the user took to dismiss it (which is why stats updates lagged to one every 3-5s instead of the usual 1s cadence). Replaced with the same showCopyToast used elsewhere, with an 8s duration so the message is still readable. showCopyToast now accepts an optional durationMs argument. |
||
|---|---|---|
| .. | ||
| app.js | ||
| drop-target.html | ||
| index.html | ||
| styles.css | ||