fix(downloads): support offline fallback drafts

- launch Firefox handoffs through authenticated reconnect
- preserve usable drafts when metadata lookup fails
- reject stale metadata results and retry failed rows only
This commit is contained in:
NimBold
2026-06-22 17:21:47 +03:30
parent f469c5d7eb
commit 6b3753949b
10 changed files with 745 additions and 183 deletions
-3
View File
@@ -444,9 +444,6 @@ export const useDownloadStore = create<DownloadState>((set, get) => ({
}
const mediaFormatSelector = targetItem.mediaFormatSelector?.trim();
if (targetItem.isMedia && !mediaFormatSelector) {
throw new Error('Cannot redownload: selected media format is missing.');
}
const settings = useSettingsStore.getState();
const destPath = targetItem.destination ||