Skip to content

Conversation

@aualdrich
Copy link

Active Storage Direct Upload attachments will now use a progress bar instead of the spinner to better indicate progress when uploading large files.

Non-Active Storage methods will still use the spinner as always.

I refactored the direct uploading functionality into its own utility class. This is for tidyness but also because that's the only way that the DirectUpload module allows implementing progress. See here for more info.

Active Storage Direct Upload attachments will now use a progress bar instead of the spinner to better indicate progress when uploading large files.

Non-Active Storage methods will still use the spinner as always.

I refactored the direct uploading functionality into its own utility class. This is for tidyness but also because that's the only way that the DirectUpload module allows implementing progress. See [here](https://edgeguides.rubyonrails.org/active_storage_overview.html#track-the-progress-of-the-file-upload) for more info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant