Skip to content

Conversation

@enejb
Copy link
Contributor

@enejb enejb commented May 17, 2021

This PR is similar to #13804

It adds the availability information that is needed for the layout grid block to be available to only .com sites for now and in the future to all sites that have the layout grid block.

Related PR:
WordPress/gutenberg#31777
Related wordpress-mobile/gutenberg-mobile#3513

To test:

CASE A:
- An business site as well as a simple site should see the layout grid block.

CASE B:
- An Jetpack site or a .org site should NOT see the layout grid block.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented May 17, 2021

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

@enejb enejb marked this pull request as ready for review May 20, 2021 07:15
@enejb enejb requested a review from mzorz May 20, 2021 07:15
@enejb enejb self-assigned this May 20, 2021
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented May 21, 2021

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

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

Great work @enejb 👍
The code changes LGTM and the app works as expected 🎉
I tested this both with metro and the CI produced APK:

  • I took the liberty of pushing a version change pointing at the latest commit that has an artifact on S3 to produce the APK.
  • The remaining failing lint check is due to a missing line at the end of LayoutGridBlockFeatureConfig.kt

Copy link
Contributor

@mzorz mzorz left a comment

Choose a reason for hiding this comment

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

Nice work @enejb - as discussed elsewhere code LGTM, approving but leaving merge for you to do later once conflicts are fixed and the other PRs are all in order to be merged 👍
🚢

@enejb enejb force-pushed the layout-grid-block-availability branch from f910d7f to 3fc8d2b Compare June 21, 2021 22:15
@enejb enejb merged commit e0cf272 into develop Jun 22, 2021
@enejb enejb deleted the layout-grid-block-availability branch June 22, 2021 04:18
@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants