owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
421 stars 157 forks source link

[web] Ensure that uploads are not UI-blocking and still running in suspended tabs #11050

Closed JammingBen closed 1 month ago

JammingBen commented 1 month ago

Description

User Stories

Value

Acceptance Criteria

Definition of ready

Definition of done

JammingBen commented 1 month ago

After fiddling around, I believe it is currently impossible to achieve this. The only potential solution would be to initialize Uppy in a Web Worker, as we can't pass an instance of it to the worker. However, the issue is that Uppy relies on the global window object, which can't be used inside a worker. That leaves us with no real options I'm afraid.

dschmidt commented 1 month ago

For reference and additional context in the issue itself: https://github.com/transloadit/uppy/issues/5238

JammingBen commented 1 month ago

Closing here since this is nothing we can or will do in the foreseeable future. See https://github.com/transloadit/uppy/issues/5238#issuecomment-2176226042 for further details.