Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose upload total size for progress event #545

Merged
merged 2 commits into from Aug 28, 2023

Conversation

rickythink
Copy link
Contributor

Hello

I hope you are doing well! I wanted to submit a pull request for exposing an additional 'total upload file size' parameter in the onProgress event. I believe this change will improve the project by making it easier for developers to display the total upload size of the file, which is diffrent with the local file size as described on ProgressEvent/total

I have tested this change locally and updated the onProgress handler to use this new parameter. Please let me know if you would like me to add any additional tests or documentation.

If you feel this pull request could be improved in any way, please let me know so I can update it. I'm happy to make any edits to get this merged.

Thank you for your time and consideration. I look forward to hearing your feedback!

Let me know if you would like me to modify the language or contents of this pull request template further. I'm happy to help craft effective communication for your needs.

@yoavniran
Copy link
Collaborator

thanks @rickythink
looks good. I'll review more deeply in the next couple of days
I also want to see how I can run the CI flow for this PR

@yoavniran
Copy link
Collaborator

Hey @rickythink
great job with the PR. added tiny suggestions (mainly stylistic)
I ran CI for this PR and it looks good!
Please update, and I'll then merge.

Co-authored-by: Yoav Niran <yoavniran@users.noreply.github.com>
@yoavniran yoavniran merged commit 8c9451b into rpldy:master Aug 28, 2023
1 check failed
@yoavniran
Copy link
Collaborator

thanks @rickythink !

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.

None yet

2 participants