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

Gutenberg/allow unsupported block editor on atomic sites #12405

Conversation

marecar3
Copy link
Contributor

@marecar3 marecar3 commented Jul 9, 2020

Description: The Unsupported Block Editor feature was disabled on sites connected via Jetpack because of an issue requesting cookies from those sites without having login credentials other than WP.com credentials.
This inadvertently blocked Atomic sites as well, which are also connected via Jetpack. Atomic sites, being WP.com sites, don't have the cookie issue so this PR enables this feature on those sites.

GB-Mobile PR: wordpress-mobile/gutenberg-mobile#2476
GB PR: WordPress/gutenberg#23830

Addresses: wordpress-mobile/gutenberg-mobile#2470

To test: perform the Unsupported Block test cases 1 to 4.

PR submission checklist:

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

@marecar3 marecar3 requested review from maxme and guarani July 9, 2020 13:00
@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR is missing at least one label.

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jul 9, 2020

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@marecar3 marecar3 added this to the 15.2 ❄️ milestone Jul 9, 2020
@marecar3 marecar3 changed the base branch from develop to gutenberg/release_1.32_integration July 9, 2020 13:01
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jul 9, 2020

You can test the changes on this Pull Request by downloading the APK here.

@guarani
Copy link
Contributor

guarani commented Jul 9, 2020

Hey @marecar3 I'm having trouble with the build. I've downloaded Version pr-12405-build-60636, which looks like the correct build, but when I log into a regular WP.com site, the bottom sheet is missing the edit options.

gif showing the unsupported block editor option not working

@guarani
Copy link
Contributor

guarani commented Jul 9, 2020

Re-tested on Galaxy S10 running Android 10 with new build 60664.

(Note, I'm using the updated unsupported block sample HTML found here: wordpress-mobile/test-cases#42 since there are changes to the test cases that haven't been merged yet.)

  • TC001: User can edit unsupported blocks on regular WP.com sites
  • TC002: Ensure discarded edits are not persisted
  • TC003: User can edit unsupported blocks on regular WP.com Business (Atomic) sites
  • TC004: Self-hosted sites are supported (if they are not connected to WordPress via Jetpack)

@guarani guarani self-requested a review July 9, 2020 16:53
@guarani guarani merged commit fc6732a into gutenberg/release_1.32_integration Jul 9, 2020
@guarani guarani deleted the gutenberg/allow-unsupported-block-editor-on-atomic-sites branch July 9, 2020 20:29
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