Skip to content
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

Prevent editor image uploads from temporarily disappearing when upload is completed #6510

Closed
derekblank opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
[Type] Enhancement Improves a current area of the editor

Comments

@derekblank
Copy link
Contributor

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.

@derekblank
Copy link
Contributor Author

Resolved in WordPress/gutenberg#57869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Improves a current area of the editor
Projects
None yet
Development

No branches or pull requests

1 participant