Skip to content

Update Loading and Failed Screens for Unsupported Block Editor#3573

Merged
SiobhyB merged 24 commits into
developfrom
android/remove-ube-editor-check
Jun 29, 2021
Merged

Update Loading and Failed Screens for Unsupported Block Editor#3573
SiobhyB merged 24 commits into
developfrom
android/remove-ube-editor-check

Conversation

@SiobhyB
Copy link
Copy Markdown
Contributor

@SiobhyB SiobhyB commented Jun 2, 2021

Fixes the Android side of #3425

gutenberg: WordPress/gutenberg#32395
WordPress-Android: wordpress-mobile/WordPress-Android#14762
WordPress-iOS: wordpress-mobile/WordPress-iOS#16586

Description

The /sites/{site_id}/gutenberg endpoint is unreliable but was being used to check if Gutenberg was available on a site's backend, and if so, disable the Unsupported Block Editor (UBE).

Since the majority of users will have Gutenberg enabled, it makes sense to remove usage of this unreliable API endpoint. That's done in the Android PR in this PR chain.

To account for the removal, the loading and failed screens are updated in the Gutenberg PR.

How has this been tested?

Please refer to the Gutenberg PR as the central place for the most up-to-date testing instructions.


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.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile Bot commented Jun 21, 2021

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

@AliSoftware
Copy link
Copy Markdown
Contributor

AliSoftware commented Jun 21, 2021

Note: The "Build Android RN Bridge & Publish to S3" failure on CI is because pMz3w-diy-p2 got processed by Systems 5h ago which means S3 now returns 404 instead of 403 and we need to update our build.gradle files accordingly.
I apparently don't have the permissions to push a patch on the gutenberg repo, but hopefully @oguzkocer does?

@SiobhyB SiobhyB self-assigned this Jun 22, 2021
@SiobhyB SiobhyB marked this pull request as ready for review June 23, 2021 17:20
@SiobhyB SiobhyB requested a review from AmandaRiu June 23, 2021 17:53
Copy link
Copy Markdown
Contributor

@AmandaRiu AmandaRiu left a comment

Choose a reason for hiding this comment

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

Changes LGTM! Ready to merge once gutenberg is updated. :shipit:

SiobhyB added 4 commits June 29, 2021 19:09
This commit moves these changes from the "1.56.0" section of the notes to the "unreleased" section.
@SiobhyB SiobhyB enabled auto-merge June 29, 2021 21:18
@SiobhyB SiobhyB merged commit 976e283 into develop Jun 29, 2021
@SiobhyB SiobhyB deleted the android/remove-ube-editor-check branch June 29, 2021 21:31
@ceyhun ceyhun mentioned this pull request Jul 9, 2021
5 tasks
@fluiddot fluiddot added this to the 1.57.0 (17.8) milestone Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants