Skip to content

[RNMobile] Implement getMedia on Image block.#17979

Merged
etoledom merged 2 commits intomasterfrom
rnmobile/try-image-size-networking
Nov 20, 2019
Merged

[RNMobile] Implement getMedia on Image block.#17979
etoledom merged 2 commits intomasterfrom
rnmobile/try-image-size-networking

Conversation

@etoledom
Copy link
Copy Markdown
Contributor

@etoledom etoledom commented Oct 16, 2019

This PR implements Image Sizes settings on the image block.

Previously we were showing the settings UI, and setting the selected slug in the store. With this PR we now can get the image url to use with the corresponding image size.

On the RN-Mobile side, we have decided to implement networking on the native side. These are the PRs that allows us to do networking this way:

gutenberg-mobile PR wordpress-mobile/gutenberg-mobile#1455
WPiOS PR: wordpress-mobile/WordPress-iOS#12714
WPAndroid PR: wordpress-mobile/WordPress-Android#10779

@etoledom etoledom 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 Oct 16, 2019
@etoledom etoledom self-assigned this Oct 16, 2019
@etoledom etoledom force-pushed the rnmobile/try-image-size-networking branch 2 times, most recently from 4084672 to d903803 Compare November 8, 2019 08:01
@mchowning mchowning force-pushed the rnmobile/try-image-size-networking branch from d903803 to 85f97ef Compare November 11, 2019 21:47
@mchowning mchowning changed the base branch from master to rnmobile/release-v1.17.0 November 11, 2019 21:47
@mchowning
Copy link
Copy Markdown
Contributor

Hey @etoledom ! I rebased your changes on top of rnmobile/release-v1.17.0 and updated PR to target that branch.

@mchowning mchowning marked this pull request as ready for review November 11, 2019 22:01
Copy link
Copy Markdown
Contributor

@SergioEstevao SergioEstevao left a comment

Choose a reason for hiding this comment

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

Tested it on iOS and it's working great.

@etoledom etoledom force-pushed the rnmobile/try-image-size-networking branch from 1a061a8 to df26429 Compare November 20, 2019 08:25
@etoledom etoledom merged commit c7d00c6 into master Nov 20, 2019
@etoledom etoledom deleted the rnmobile/try-image-size-networking branch November 20, 2019 08:48
@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.

4 participants