-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Mobile] Create endpoint to post notices from host apps #25266
Conversation
Size Change: +70 B (0%) Total Size: 1.17 MB
ℹ️ View Unchanged
|
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.
Code LGTM, I have not product reviewed the whole PR chain.
Could you open an issue in gutenberg mobile to have feature parity for android related to this change?
For the Mobile Layout Picker work, we've just left a single issue open until both the iOS and Android side gets implemented. |
Perfect then! |
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.
LGTM! Tested all cases on an iPhone 11 Pro Max and iPad 7.
Nice work @chipsnyder!
Fixes: wordpress-mobile/gutenberg-mobile#2453
Related PRs:
gutenberg-mobile
wordpress-mobile/gutenberg-mobile#2613WordPress-iOS
wordpress-mobile/WordPress-iOS#14886Description
Adds an api that the host apps can use to present the info notice. This is being used as part of wordpress-mobile/gutenberg-mobile#2453 to show the page created messages.
🗒️ The linked PRs cover the iOS version of this feature. @antonis will be working on the Android side in a later PR.
How has this been tested?
🗒️ Test cases here are taken from wordpress-mobile/WordPress-iOS#14886
To disable or enable the development version of Modal Layout Picker
When enabled, the Layout Picker should show when creating a new page from My Site and from the Page list.
Start by navigating to the Modal Layout Picker
Page Created (with content)
Expect to see the info notice banner appear under the navigation bar with the text "Page created"
Blank Page Created
Expect to see the info notice banner appear under the navigation bar with the text "Blank page created"
Blog Post Created
Open existing Page Created
Disable Modal Layout Picker
Screenshots
Types of changes
Enhancement
Checklist: