
We all need this, but …
it’s a mess to implement.
An upload progress indicator is really something users need or the first time they upload a large document, they will look at you (or call you or whatever) saying “oups, your app crashed. Could you fix this bug ?”.
The tricky part about this indicator is that there must be two parallel requests at the same time, one that is uploading the document and another that is updating the progress bar (and knows about the status of the uploaded document…).
I could make this indicator work in zena in about a day. I used mongrel_upload plugin. Once again, thanks to all the people sharing there work. I could not have managed to build this by myself in such a short time.
The progress indicator has been implemented for the main document upload. I will need some more time to make it work in the other upload places (‘replace file’ and ‘import’).
Another advantage of this change is that the upload is no longer blocking a zena process, since all the upload is handled in mongrel until it is finished.
Gaspard Bucher