-
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
Gallery block: Remove warning notice about mobile version required #37842
Conversation
Size Change: -1.15 kB (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
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.
Good thinking @glendaviesnz, I think it makes sense to remove the notice at this stage. Tested and confirmed that with my local storage cleared, the mobile gallery warning no longer appears and the gallery behaves as expected (new and existing galleries, adjusting gallery and image level settings, adding and removing images, etc), and that the block-library
package doesn't use @wordpress/interface
anywhere else 👍
LGTM, but let's see what other folks think, too 🙂
…37842) Co-authored-by: Glen Davies <[email protected]>
Description
Fixes: Automattic/wp-calypso#59560
In a small number of instances, the one-time notice about the Gallery mobile version issue displays multiple times every time a gallery is added or edited. It is not possible to replicate this, so difficult to work out how to prevent it.
It appears that for a very small number of users the value that toggles this message off is not sent to the store, but with no easy way to replicate it is not possible to work out the cause of that or a workaround.
Given that the number of mobile users on < 18.2 will should now be reduced considerably since this message was added, combined with the risk of this issue affecting a large number of users if it goes out in WP5.9 this PR removes the message completely.
To test
Screenshots
Before:
After: