Skip to content

[RNMobile] Enables native image fullscreen preview on iOS#18618

Merged
cameronvoell merged 4 commits intomasterfrom
rnmobile/image-fullscreen-preview-ios-native
Nov 21, 2019
Merged

[RNMobile] Enables native image fullscreen preview on iOS#18618
cameronvoell merged 4 commits intomasterfrom
rnmobile/image-fullscreen-preview-ios-native

Conversation

@cameronvoell
Copy link
Copy Markdown
Member

@cameronvoell cameronvoell commented Nov 20, 2019

Fixes gb-mobile/1286

gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#1597
WordPress-iOS PR: wordpress-mobile/WordPress-iOS#12979

This change enables a call to native fullscreen image previews on iOS from the mobile image block. It also fixes two minor UX issues around 1) not highlighting the image while caption is selected, and 2) not launching fullscreen image on tap when caption is selected (See wordpress-mobile/gutenberg-mobile#1286 (comment) ).

Testing

For steps, see gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#1597

Screenshots

See gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#1597

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR. .

@cameronvoell cameronvoell added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Nov 20, 2019
@cameronvoell cameronvoell marked this pull request as ready for review November 20, 2019 02:49
@cameronvoell cameronvoell changed the title Enables native image fullscreen preview on iOS [RNMobile] Enables native image fullscreen preview on iOS Nov 20, 2019
Copy link
Copy Markdown
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

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

Looks good!
Thank you @cameronvoell 🎉

@cameronvoell cameronvoell merged commit c67cb27 into master Nov 21, 2019
@cameronvoell cameronvoell deleted the rnmobile/image-fullscreen-preview-ios-native branch November 21, 2019 16:25
@youknowriad youknowriad added this to the Gutenberg 7.0 milestone Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Fullscreen Preview to Image Options

3 participants