Skip to content
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

feat: support multiple prop in gutenberg editor #10475

Merged
merged 17 commits into from
Oct 2, 2019

Conversation

dratwas
Copy link
Contributor

@dratwas dratwas commented Sep 2, 2019

In this PR I added the possibility to set multiple media when inserting to the block.
Related gutenberg-mobile PR wordpress-mobile/gutenberg-mobile#1331
CI is failing when creating PRs from fork so there is PR that is created based on this one - #10556
To test:
At this moment we don't support gallery block so this change can not be tested without changes in gutenberg-mobile JS bundle. In the future, we will use this functionality to multiple selections of media for the gallery.

  • set multiple prop to true in media-upload bloc
  • add image/video block - multiple select should be enabled for selecting media from the device or WP Media
  • the array of selected media should be passed to the callback function

@pinarol
Copy link
Contributor

pinarol commented Sep 13, 2019

Is this PR ready for review? If so, could you please add some description? @dratwas

@pinarol
Copy link
Contributor

pinarol commented Sep 13, 2019

@mkevins could you help @dratwas add proper labels to this PR?

@dratwas dratwas marked this pull request as ready for review September 16, 2019 12:05
@dratwas
Copy link
Contributor Author

dratwas commented Sep 16, 2019

Hi all :) This PR is ready to review.
CI is failing on Copy Secrets job but TBH I have no idea how I can fix that.

Copy link
Contributor

@mkevins mkevins left a comment

Choose a reason for hiding this comment

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

Hi @dratwas 👋

Sorry for the delay, I had made these comments a few days ago, and just realized they are still pending since I didn't "Submit review" on them. I thought they'd be one-off comments.

@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link

You can test the changes on this Pull Request by downloading the APK here.

Copy link
Contributor

@mkevins mkevins left a comment

Choose a reason for hiding this comment

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

Nice work @dratwas 🎉 !

@pinarol pinarol merged commit b5b9494 into wordpress-mobile:develop Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants