wordpress-mobile/gutenberg-mobile

Prevent editor image uploads from temporarily disappearing when upload is completed

derekblank opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
When an image upload is completed, the image temporarily disappears and then reappears. On faster connections, it can look like the image "flashes" momentarily. On slower connections, the disappearance is quite noticeable, and can potentially cause user confusion whether the image upload has actually failed or succeeded:

Image.mov

Describe the solution you'd like
My understanding is that when an image is uploaded, a local media copy appears in the editor while the file is being uploaded to the server. I believe this issue is caused by the local media file being replaced by the uploaded image being downloaded from the server. If this is accurate, potentially we could persist the local image copy in the editor while the server image is being downloaded.

Describe alternatives you've considered
Other recently initiatives like reducing the upload bandwidth size may also help.

There is also room to explore adding further success confirmation to the user through potential design enhancements like a checkmark or an animation/fade.