feat(downloads): restore sorting and stable availability

Make Service sortable by visible provider labels, keep pointer sorting distinct from column dragging, preserve keyboard sorting, infer active and completed transfers as online, and retain definitive availability across item and package resets. Keep manual extraction and package-status changes out of this selective rebuild.
This commit is contained in:
Sucukdeluxe
2026-08-24 00:46:40 +02:00
parent 20be2a9a03
commit 7bd31185b0
6 changed files with 253 additions and 25 deletions
+6 -8
View File
@@ -5708,10 +5708,9 @@ export class DownloadManager extends EventEmitter {
item.lastError = "";
item.resumable = true;
item.targetPath = "";
item.provider = null;
item.fullStatus = "Wartet";
item.onlineStatus = undefined;
item.updatedAt = nowMs();
item.provider = null;
item.fullStatus = "Wartet";
item.updatedAt = nowMs();
}
const postProcessTasks = this.abortPackagePostProcessing(packageId, "reset");
@@ -5792,10 +5791,9 @@ export class DownloadManager extends EventEmitter {
item.lastError = "";
item.resumable = true;
item.targetPath = "";
item.provider = null;
item.fullStatus = "Wartet";
item.onlineStatus = undefined;
item.updatedAt = nowMs();
item.provider = null;
item.fullStatus = "Wartet";
item.updatedAt = nowMs();
if (this.session.running) {
this.runItemIds.add(itemId);