Skip to content

Conversation

@mzorz
Copy link
Contributor

@mzorz mzorz commented Aug 24, 2018

This PR makes the block icons visible in the BlockPicker:

screen shot 2018-08-23 at 21 48 42

To test:

  1. update the branch
  2. focus on a block and tap the + icon
  3. observe the picker now shows the block icons

Relies on the following Gutenberg PR WordPress/gutenberg#9294

@gziolo
Copy link
Contributor

gziolo commented Aug 24, 2018

It's a quite simplified version comparing to web :)
Next step would be to use BlockIcon components instead which uses div thus requires some refactor in RN context.
Yet another step would be to reuse BlockTypesList which has even more DOM elements in use...

@mzorz mzorz mentioned this pull request Aug 24, 2018
4 tasks
Copy link
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.

The icons are looking great, feel free to merge when you have the GB side PR approved.

@mzorz
Copy link
Contributor Author

mzorz commented Aug 24, 2018

Thank you @SergioEstevao ! 🙇

Copy link
Member

@koke koke left a comment

Choose a reason for hiding this comment

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

Looking great 👏 👏 👏

@mzorz mzorz merged commit eecb7b7 into master Oct 12, 2018
@mzorz mzorz deleted the feature/inserter-icons branch October 12, 2018 12:47
@gziolo
Copy link
Contributor

gziolo commented Oct 12, 2018

Awesome to see this landed 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants