When using Uppy with the Tus plugin, I would like to use the onProgress
, onError
and onSuccess
hooks to render progress bars and toast notifications and include the filename.
However, these hooks do not inject metadata for the file in question as an argument. I can work around this by using onBeforeRequest
and saving the file name in a variable, but when multiple files are uploaded, they are executed concurrently, and the variable gets overwritten.
I’m essentially facing the same issue as Tus-js-client multiple uploads - how to tell them apart on success except for Uppy with the Tus plugin.