[Modal Layout Picker] Add support for Self-Hosted sites#13017
[Modal Layout Picker] Add support for Self-Hosted sites#13017
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APK here. |
|
Changes looks good @antonis 👍. Just mentioning two issues (might not require any action)
Seems like it is a known issue on debug builds: Thought to mention since it happened consistently for the "Team" layout. |
|
Hello @ashiagr 👋 ,
Since all content is returned with the same API call I guess this is a data issue. I will check with @enejb and @chipsnyder on this.
I'll investigate further if I can handle this on my side. It seems to be related with the updateAndSavePostAsyncOnEditorExit function Thanks again for your feedback 🙇 |
@antonis This is expected behavior and the app crashes only in debug mode. |
|
I'm sorry for the confusion, but I mystified you. When the message says When the message says So in our current case it’s not ok and we should investigate why gutenberg didn’t let us (EditPostActivity) know that the content of the post has changed. |
|
Hello @malinajirka , @ashiagr 👋 |
# Conflicts: # build.gradle
chipsnyder
left a comment
There was a problem hiding this comment.
Tested this out with the included build and everything is working well 👍
# Conflicts: # build.gradle


Fixes: wordpress-mobile/gutenberg-mobile#2455
Related PRs:
Description
This PR populates the MLP UI for self-hosted sites with data fetched from
/wpcom/v2/common-block-layouts.To test:
Layout Picker should show when creating a new page from My Site or Site Pages the Modal Layout Picker appears.
Regular Flow
Slow Network
No Network
Screenshots:
PR submission checklist:
RELEASE-NOTES.txtif necessary.