-
Notifications
You must be signed in to change notification settings - Fork 1.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
[RNMobile] Add Featured Banner to Image Block #16332
[RNMobile] Add Featured Banner to Image Block #16332
Conversation
You can trigger an installable build for these changes by visiting CircleCI here. |
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
This protocol includes a method named didSetFeaturedImage, which will send a message to the JS side when a featured image is set from Post Settings.
… data over the bridge
The intention behind this change is to make the function's purpose clearer. It also moves the naming inline to this feature's Android counterpart. (See: wordpress-mobile/WordPress-Android#14451.)
…eId" This change is a bid align closer to the naming conventions of other functions in iOS.
Generated by 🚫 dangerJS |
3d2cafa
to
6d67735
Compare
…to gutenberg/add/featured-badge
…obile/WordPress-iOS into gutenberg/add/featured-badge
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! Just remember to change the commit after merging the others :) Also update the GBMobile one after merging gutenberg.
Paritial fix for: wordpress-mobile/gutenberg-mobile#1011
gutenberg
: WordPress/gutenberg#31347gutenberg-mobile
: wordpress-mobile/gutenberg-mobile#3390This PR introduces a Featured banner on iOS devices, which overlays a post's featured image when it's added to an image block. This will make it clear to users which of their images, if any, are set as the post's featured image.
The main PR for the branch this individual PR will be merged into,
gutenberg/add/featured-functionality-to-image-block-ios
, can be found here: #16427To test: Please refer to the Gutenberg PR as the central place for steps to tests and screenshots.
Regression Notes
As this PR adds a banner over the image block, there is some potential for it to unintentionally have a negative impact on the existing UI and/or animations that take place when an image is replaced within the block (depending on whether it's featured or not).
The steps I took to test whether the intended flow works as expected can be found in the linked Gutenberg PR. As this is a UI change, I also tested that the display looks correct in landscape and in dark mode.
No automated tests.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.