Communication of upload progress in content editor

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !119156 (merged) should be addressed:

  • @mvanremmerden started a discussion: (+3 comments)

    Communication of upload progress

    We need a better way to communicate the upload state, not down to actual percentage, but at least whether it's still in progress or not. Right now it's confusing for the user, because we seem to have a first spinning indicator, but that always disappears after just 1-2 seconds, so that wrongly communicates to the user the upload is done.

    After that, the only way you can see the progress is if you intentionally click on the file to be uploaded. For the MVC, could we maybe just extend the duration of the spinning indicator for the entire duration of the upload?

    There is also another bug where if you click "Comment" before it's completely uploaded, you will end up with an empty link to a non-functional blob, and that link is basically invisible in the Rich Text editor, so users will probably only notice a weird extra white space that's a link to the object itself, and don't know why it's there. In the markdown editor, if you comment before the upload finishes, it doesn't add any non-functional elements into the text, which is a better behavior for this worst case.

Edited by 🤖 GitLab Bot 🤖