-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Layout Grid Availability - featureConfig implementation #14667
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
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
WordPress/src/main/java/org/wordpress/android/util/SiteUtils.java
Outdated
Show resolved
Hide resolved
|
You can test the changes on this Pull Request by downloading the APK here. |
There was a problem hiding this 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
mzorz
left a comment
There was a problem hiding this 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 👍
🚢
f910d7f to
3fc8d2b
Compare
… version with the bridge changes
Generated by 🚫 dangerJS |
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.