-
Notifications
You must be signed in to change notification settings - Fork 101
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
Using the Create Block tool - Tutorial #857
Comments
01-Using-the-create-block-tool.mp4 |
This is excellent @jonathanbossenger - really solid work! Other than to say "yes - I love this!" I don't have any direct feedback on the content (which is to say that I'm happy for this to be shipped). One thing to note is that, since we don't have the capability to add chapters to videos, it would be good to have a list of timestamps in the video description indicating when you start different things - like installing prereqs on Mac, installing prereqs on Windows, using create-block, etc. Great work! |
That's a great idea, thanks @hlashbrooke. I'll make sure to add this to the video description. |
The part covering We definitely don't want people to use the identical versions of Node.js and npm as in the Gutenberg repository. The documentation page presented Development Environment is specific to the Gutenberg project. All the tools for building blocks should work with any Node LTS version. There are some nuances to the development process in the project where there are nearly 1000 code contributors 😄 I think that in the Block Editor Handbook, it was a good call to have two separate sections for creating a block and setting the development environment. I saw that there is a tutorial for Local WordPress Installations, and I believe that eventually, it would be nice to split this tutorial into two videos, too. If someone has Node.js installed, then they most likely can skip to the 5th minute of the video. Anyway, I guess the tutorial is excellent as is if you don’t plan to have more videos covering how to use other JS tools helpful for building blocks. |
I was wondering what's the overall plan for the learning materials regarding building blocks. The version included in the video is great to show how quickly you can create any block, but it's just the beginning. One thing that I found interesting in the video is that you presented the link to the npm package, which isn't easy to discover in the Block Editor Handbook: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/ The content of this video tutorial is very similar to the first page from the Getting Started section that I personally used in every public communication: https://developer.wordpress.org/block-editor/getting-started/create-block/ It's also linked in the handbook from the intro page: https://developer.wordpress.org/block-editor and the getting started page: https://developer.wordpress.org/block-editor/getting-started One thing that might be worth mentioning is that when you don't provide the plugin/block slug, then it's possible to customize several settings for plugin and block. See the video I used during my recent talk at WordCamp EU: |
Fantastic work Jonathan. Everything flows very nicely. Review the recording from 7:19 - 7:20. Should it be block code or block clode 😃 I like your systematic approach. |
@gziolo thank you for your detailed feedback.
That's a valid point. The purpose of this video is to introduce someone brand new to block development, but who may also want to contribute to the block editor itself. Also, if folks want to use wp-env, So my thinking was to focus on the specific version currently needed for Gutenberg development, which means the developer is already on the right version. Do you think it would be better to say something like this?
There is no general overall plan as yet, but the long-term goal is to cover as much as possible of the Block Developer Handbook. I'm starting with this series of 4 videos, with the short-term goal of presenting the quickest way to convert an existing shortcode plugin to a block-enabled plugin.
There is also a Block development course that @mburridge and @westnz are working on, that's a more detailed approach to teaching how to develop blocks. As will all educational content, most of what we're working on in the short term are foundational, and we can create future tutorial videos, online workshops, and courses that cover more advanced topics, that build on top of the foundations of this content.
This is a good example of what I'm talking about, eventually, I'd love to do a more detailed online workshop on create-block, covering what all the different options do. However, for a shorter 5-10 minute format of the tutorial video, I have to limit what I can cover. |
@westnz thanks for the feedback
I had hoped no one would notice 😁 |
It flowed smoothly @jonathanbossenger. Thank you for creating great educational resources! I have similar notes as @westnz and @gziolo, but not much besides that. Once it's all ready, I'll be happy to share this with folks. Keep it up! 👍 |
Updated to include notes on Node.js versions. 01-Using-the-create-block-tool.mp4 |
Reopening this issue as this content is a year old, and needs to be updated for the changes that have occurred over the last year. |
This will be covered in the module on block development in the beginner developer learning pathway. |
Topic Description
Set up and use the Create Block tool to scaffold a new block plugin.
Related Resources
Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.
Guidelines
Review the [team guidelines] (https://make.wordpress.org/training/handbook/guidelines/)
Tutorial Development Checklist
The text was updated successfully, but these errors were encountered: