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

Disable gallery size options #13252

Merged
merged 2 commits into from
Jan 22, 2020
Merged

Conversation

mkevins
Copy link
Contributor

@mkevins mkevins commented Jan 21, 2020

Fixes wordpress-mobile/gutenberg-mobile#1792

This PR updates the gutenberg-mobile reference to point to v1.20.1, a hotfix release.

Note: First it the Podfile will reference a commit hash to run CI tests, then after all PRs are green, the Podfile will be updated to reference a tag (after the hotfix is merged to gutenberg-mobile master, and tagged there).

Related PRs:

gutenberg: WordPress/gutenberg#19774
gutenberg-mobile: wordpress-mobile/gutenberg-mobile#1794
WordPress-Android: wordpress-mobile/WordPress-Android#11120

Description

This PR disables the gallery image size options on mobile. We can re-enable them after we've verified / implemented the desired behavior for mobile.

To test:

Steps:

  • Create a gallery block with some images
  • Tap the gallery
  • Tap the gallery settings icon (the gear)

Expected result:

The image size option should not be visible in the menu.

PR submission checklist:

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

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jan 21, 2020

You can test the changes on this Pull Request by downloading it from AppCenter here with build number: 20890. IPA is available here. If you need access to this, you can ask a maintainer to add you.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jan 21, 2020

Warnings
⚠️ PR is missing at least one label.

Generated by 🚫 dangerJS

Podfile Outdated
@@ -141,7 +141,7 @@ target 'WordPress' do
## Gutenberg (React Native)
## =====================
##
gutenberg :commit => 'aaa43ff63c6fc8dd44f6bd45af25e2f91619d6a5'
gutenberg :commit => '2bf7408427195ce361675a6bfb48d7ed07da22e3'
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's not forget this to update this as before merging
gutenberg :tag => 'hotfix/v1.20.1'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the reminder. Updated as :tag => 'v1.20.1'.

Copy link
Contributor

@pinarol pinarol left a comment

Choose a reason for hiding this comment

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

LGTM! Tested with the ipa link in this PR, verified that the image size option isn't showing:

IMG_3357

Thank you for the fix Matthew!

@mkevins mkevins merged commit a7fde4b into release/14.0 Jan 22, 2020
@mkevins mkevins deleted the fix/disable-gallery-size-options branch January 22, 2020 06:14
@mkevins
Copy link
Contributor Author

mkevins commented Jan 22, 2020

Thanks for testing @pinarol 😃

I tested one more time after the reference update with the generated ipa here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants