MediaUpload and MediaPlaceholder unify props#1310
Conversation
|
@dratwas Could you please put the link of the associated gutenberg PR in the description please? Thanks! |
|
Thanks for the PR! I'll start reviewing this but, a couple of things that caught my attention: I think the .gitmodules file needs this change in order for reviewers to see your fork's changes: But this should be reverted before the merge ☝️ Secondly, you should commit & push gutenberg subrepo hash to this PR after you pushed things to the gutenberg PR. |
|
That way reviewer can checkout the PR branch and start testing right after just running a submodule update. |
|
I tried checking it out locally and it worked for me, even if it fails in CI. I think github exposes external commits that are part of a PR when fetching somehow. My guess is that it might be something that only works on newer git clients, but I don’t really know how that’s working. |
|
To me it was confusing and limiting. First of all I got an error on checkout so it left me with some question marks about having the right things to test. Our CI has the same error: I think it would contain less confusion that way and CI jobs would also succeed hopefully. |
0aa8a5a to
f516611
Compare
d35724a to
fb7dc7d
Compare
pinarol
left a comment
There was a problem hiding this comment.
LGTM! Tested as described here: WordPress/gutenberg#17145 (review)
After the gutenberg PR is merged please update the gutenberg submodule ref to point to rnmobile/master and revert the .gitmodules file.
|
WordPress/gutenberg#17145 was just merged |
Done :) |
@etoledom is this the failing UI test you were referring to ? if so I'll merge this one. |
|
@dratwas Could you be able to update gutenberg subrepo again to point to the latest |
Yes, it looks like it. The best way to be sure is to run them locally though. |
|
I ran Android UI tests(yarn test:e2e:android:local) locally by updating They look fine: |
…rg-mobile into add/autosave-monitor * 'develop' of https://github.com/wordpress-mobile/gutenberg-mobile: (56 commits) Update gutenberg ref Update gutenberg ref Update gutenberg ref Update gutenberg ref Add support for group component (#1335) Update gutenberg hash fix error generating app name on sauce Bump eslint-utils from 1.3.1 to 1.4.2 Update gutenberg ref Update release notes Update gutenberg ref to rnmobile/master HEAD disable paste tests MediaUpload and MediaPlaceholder unify props (#1310) Update gutenberg ref (#1340) Update gutenberg ref disable list tests and enable paste tests enable list tests enable list end tests enable block insertion tests enable heading tests ... # Conflicts: # gutenberg

This PR unifies web and mobile props for MediaUpload and MediaPlaceholder components. It is the first iteration where we do not support multiple select images/videos.
Related gutenberg PR - WordPress/gutenberg#17145
See #1298 and #1299