-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Files only show up in the list once completely uploaded #4965
Comments
This is most probably related to the file conflict dialog from @butonic - because we is on vacation we need to find somebody else to jump in. @karlitschek |
I'll have a look at this. |
The code for this has been moved from "fileuploadadd" to "fileuploaddone", which means that the file is intentionally added into the list once the upload is done. I will try to add back the entry with the spinner. |
The spinner seems to have been intentionally removed by @butonic when implementing the file conflict dialog. I'll continue looking into adding it back. It's not a quick fix as much of the upload code has been refactored. I'll try and implement the following behavior:
|
Ok I've pushed a partial fix to 4965-bringbackfileuploadspinner (branched from master) It does display the spinner but the spinner doesn't reappear whenever the user chose to overwrite a file. |
Yes, I intentionally removed the upload in progress spinner because it increases the complexity of the file upload handling to a level that I could not wrap my head around while adding a conflicts dialog. It starts getting complicated when trying to cancel uploads because you have to keep track of the xhr upload objects that currently exist. And users can add more files while uploads are in progress. @jancborchardt an me also wanted to replace the upload spinner with a progress bar in the background of the table row. @VicDeo while you are fixing this maybe we should add a placeholder row to the table spanning all columns (while files are being uploaded they don't need size and modified date). We can then use the background of a div to render the upload progress. (IE8 should use an animated gif to indicate upload is in progress) |
@butonic I agree with you. Couldn't wrap my head around that logic either 😉 How about putting a spinner near the progress bar in the controls bar as an alternative ? |
@PVince81 yes that would work. I'll only be able to get my hands on this next week. |
File upload progress bar for individual Files tracked in #991 |
Regression in current master: Files only show up in the list once they are completely uploaded. No placeholder with spinner as there used to be.
@georgehrke @PVince81 maybe something to do with the previews or the Ajax stuff?
The text was updated successfully, but these errors were encountered: