Skip to content

Show processing message when upload done but not processed #14

Description

@Hattorius

Currently when uploading large files the progress bar slowly moves to 100% based on how far it is with the upload process. When it reaches 100% the full file has been uploaded but still needs to be processed on the server side (additional encryption etc.). This can take a while for large files.

Proposed solution
After the file upload progress reaches 100% here:

xhr.upload.onprogress = event => {
if (event.lengthComputable) {
let percentComplete = (event.loaded / event.total) * 100;
this.progress(percentComplete);
}
};
it should show the message "processing"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions