-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[RNMobile] Remove opacity change when images are being uploaded #59264
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: 0 B Total Size: 1.7 MB ℹ️ View Unchanged
|
Flaky tests detected in f571d1e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7999972818
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for these changes, Derek! I tested on both iOS and Android, both work as expected. 🎉
Upload multiple images to a Gallery block on iOS:
Screen.Recording.2024-02-22.at.14.40.14.mov
Replacing a current image in an Image block on iOS:
Screen.Recording.2024-02-22.at.14.46.50.mov
I know there have been separate discussions about removing the opacity for other media-based blocks, including the cover, file, and video blocks. I agree that'd be great to remove the opacity from those, whether in this PR or a separate one. I'll go ahead to approve this one but happy to take another look if you want to expand its focus to include those other blocks, too.
Thanks for the review! I'll make a note to review the opacity behavior for other blocks. I know several of the media blocks do not implement a local media preview while the media is uploading -- a static placeholder is displayed instead. The opacity change may be unique to the Image block. |
In-progress uploads no longer dim the image. This was removed in WordPress/gutenberg#59264.
In-progress uploads no longer dim the image. This was removed in WordPress/gutenberg#59264.
What?
Removes opacity change when Images are uploaded.
Why?
As part of ongoing efforts to improve the media upload experience, we have received feedback that Image upload process could be improved by modifying an "in progress" state when uploading Images.
How?
In the current production app, an Image will appear at 0.3 opacity while uploading, and transitions to 100% visibility when the upload is successful.
This PR removes the animation and associated code references when Images transition from local media to network media.
Testing Instructions
Screenshots or screencast
Example Video
Screen_Recording_20240222_132358_Jetpack.Pre-Alpha.mp4