Skip to content

feat: support multiple prop in gutenberg editor#10475

Merged
pinarol merged 17 commits intowordpress-mobile:developfrom
callstack:gutenberg/multiple-select
Oct 2, 2019
Merged

feat: support multiple prop in gutenberg editor#10475
pinarol merged 17 commits intowordpress-mobile:developfrom
callstack:gutenberg/multiple-select

Conversation

@dratwas
Copy link
Copy Markdown
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
Copy Markdown
Contributor

pinarol commented Sep 13, 2019

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

@pinarol
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link
Copy Markdown

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

Copy link
Copy Markdown
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