fix(downloads): restore actionable package states and extraction controls

Resolve child archive selections to complete multipart sets, support bulk package extraction, refresh extraction passwords at execution time, and keep archive failures scoped by their full paths.

Restore sortable download columns, preserve verified availability, classify package retry and extraction states, secure link copying through the preload bridge, and release cancelled provider work without stale cooldowns.
This commit is contained in:
Sucukdeluxe
2026-08-22 22:52:49 +02:00
parent a5920869a3
commit 55b8911e94
33 changed files with 2187 additions and 561 deletions
+13 -4
View File
@@ -359,10 +359,19 @@ export function createVisualElectronApi(
entry.status = "extracting";
}
},
extractNow: async (packageId) => {
const entry = fixture.snapshot.session.packages[packageId];
if (entry) {
entry.status = "extracting";
extractNow: async (request) => {
for (const packageId of request.packageIds) {
const entry = fixture.snapshot.session.packages[packageId];
if (entry) {
entry.status = "extracting";
}
}
for (const itemId of request.itemIds) {
const item = fixture.snapshot.session.items[itemId];
const entry = item ? fixture.snapshot.session.packages[item.packageId] : undefined;
if (entry) {
entry.status = "extracting";
}
}
},
resetPackage: async (packageId) => {