feat: use browser download manager for single file downloads (#17507)

* Fix download panel reactivity

* Directly download individual files without buffering in memory

* Fix shared link e2e download tests
This commit is contained in:
Rudhra Raveendran
2025-04-10 07:13:50 -07:00
committed by GitHub
parent 43e3075f93
commit 9e49783e49
3 changed files with 17 additions and 18 deletions
+1
View File
@@ -29,6 +29,7 @@ const update = (key: string, value: Partial<DownloadProgress> | null) => {
const item = newState[key];
Object.assign(item, value);
item.percentage = Math.min(Math.floor((item.progress / item.total) * 100), 100);
newState[key] = { ...item };
return newState;
});