OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Single upload batch of multiple files freezes the UI and takes a long time to process #8648

Closed AndreaPiovanelli closed 1 year ago

AndreaPiovanelli commented 1 year ago

https://github.com/OrchardCMS/Orchard/blob/7bf78ef852a80582495a5c2c7a2c67b3d358029d/src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml#L81

When uploading multiple files, the UI sometimes freezes, failing to report the progress of single uploads and takes a long time to complete. For this reason, user has the perception no file has been uploaded until all uploads are complete.