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

Add additional upload progress feedback #27

Merged
merged 1 commit into from
May 5, 2015

Conversation

orinokai
Copy link
Contributor

Hi Brendan, the progress indicator didn't seem to work for me (at least in Safari 8). This quick change gives me progress bar updates as the files upload.

@nitriques
Copy link
Member

This you tested it in other browser to be sure to not create a regression ?

@orinokai
Copy link
Contributor Author

orinokai commented May 5, 2015

I'm not able to cross-browser test this, unfortunately. I normally use Browserstack for testing, but because it's in-browser it doesn't work with dragging and dropping a file.

The change is pretty standard, however. Previously, the extension was using the XmlHttpRequest response progress event, which was just firing at the end of the upload when the browser received a response. This PR switches to using the request progress event which fires as the browser is sending data to the server.

@brendo
Copy link
Member

brendo commented May 5, 2015

Again, this is pretty nifty too, I wasn't aware of the subtle difference between the two events. Makes sense though!

brendo added a commit that referenced this pull request May 5, 2015
Add additional upload progress feedback
@brendo brendo merged commit 7be7bdd into symphonists:integration May 5, 2015
@orinokai orinokai deleted the upload-progress-feedback branch May 5, 2015 14:43
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.

3 participants