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

Gallery - Only run the linkTo saving on the web since it's not mobile related #2736

Closed
wants to merge 7 commits into from

Conversation

jd-alexander
Copy link
Contributor

Fixes #2735
Gutenberg PR WordPress/gutenberg#26227

The linkTo behavior in the Gallery block was broken due to a recent set of changes which broke the undo functionality of the Gallery block. This occurred due to code being run on mobile that's related to the web so this PR fixes this issue so that the undo functionality of the Gallery block is restored.

To test:
Follow the instructions in WordPress/gutenberg#26227

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to RELEASE-NOTES.txt if necessary.

@jd-alexander jd-alexander added [Type] Bug Something isn't working [Type] Task labels Oct 16, 2020
@jd-alexander jd-alexander added this to the 1.40 milestone Oct 16, 2020
@jd-alexander jd-alexander requested a review from guarani October 16, 2020 22:18
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Oct 16, 2020

Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job!

Copy link
Contributor

@guarani guarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via WordPress/gutenberg#26227 (review)

I'm not sure this is a [***], since it might not affect or be noticed by a large number of users (looking at internal reference pbMoDN-o4-p2), but I'm not certain of this, so feel free to leave as-is.

@jd-alexander
Copy link
Contributor Author

I'm not sure this is a [***], since it might not affect or be noticed by a large number of users (looking at internal reference pbMoDN-o4-p2), but I'm not certain of this, so feel free to leave as-is.

Sharp eye 😉

Downgraded in cd49644

@jd-alexander
Copy link
Contributor Author

Closing this PR as the issue was resolved in this one WordPress/gutenberg#26377

@jd-alexander jd-alexander deleted the issue-2735/fix_gallery_link_to_issue branch October 22, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working [Type] Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gallery block is not removed when undo is pressed
2 participants