-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
A better onboarding experience for Block Development in the Block Editor Handbook #55432
Comments
Thank you for opening this issue as a follow-up for #22151. You captured nicely some of the talking points that weren't addressed in the previous discussion. I like how actionable this issue is in contrast to the previous one that fulfilled its purpose, and it became hard to contribute to over a longer time because of too many topics covered.
We should further discuss how to best explain these ideas once the appropriate issue gets created. I'm leaning towards revisiting that aspect completely and using the nomenclature related to the block frontend rendering lifecycle where you have static HTML serialization in the editor ( |
Thank you for following up on this! I was always bummed the prior issue sat for so long and it's great to see new life being breathed into it. |
This is very exciting, and will also make it much easier to create educational content for Learn WordPress, following a similar path for the first-time block developer. One question I do have is, what will be covered in the Styling Blocks chapter of the Fundamentals of block development section? |
@jonathanbossenger I have opened an issue for that page sharing some key ideas to be covered in that page #56275. The main takeaways for that page would be:
|
Thank you for clarifying @juanmaguitar that is exactly what I would cover! 👍 In the handbook in the past block supports has always appeared after the custom stylesheets, when in fact supports is more useful to developers. |
The goal of this issue is to share a plan of action to provide a great onboarding experience for Block Development, taking into account the feedback received.
Discussion: Next Steps for Block Creation Documentation was opened 3 years ago and it has been a great resource for gathering feedback and coordinating actions to improve the Block Editor Handbook.
This feedback has been analyzed here and the following plan of action has been concluded as a good way to tackle most of the feedback received:
The plan of action consists of 3 lines of action:
gutenberg-examples
See detailed explanations of this plan of action
1. New version of
gutenberg-examples
The handbook docs need to be supported with real-life examples that can be executed and played with in local environments. The connection between the Handbook and the current https://github.com/WordPress/gutenberg-examples is a great idea but the implementation of this hub of examples referenced in the docs can be improved.
This plan of action includes a new version of "gutenberg-examples" that addresses the feedback provided about it:
wp-env
) all the examples or any group of themThis new version is available here: https://github.com/WordPress/block-development-examples
gutenberg-examples-2023
will becomeWordPress/gutenberg-examples
and the older version will be archived2. Ideas and approaches to update
There are a few ideas that have been detected and reported as pain points for block development adoption so the Handbook will be updated to alleviate them:
wp-env
as the only recommendation to set up a Local WordPress environmentwp-env
as:gutenberg-examples
and a link to it can be provided just as a reference of how things can be done in plain JSgutenberg-examples
that can be tested will be referencedrender.php
andsave.js
(which is considered by some core developers as a best practice)3. Revamped "Getting Started" section
This work has already started in the issue #54124 with the goal of restructuring the "Getting Started Guide" with the following organization:
Tasks
1. New version of
gutenberg-examples
2. Ideas and approaches to update
wp-env
as the only recommendation to set up a Local WordPress environment**3. Revamped Getting Started Section
Please share in the comments your thoughts about this plan of action to provide a great onboarding experience for Block Development.
Pinging @annezazu, @zzap, @gziolo, @jonathanbossenger, @ryanwelcher as they've been active participants of the conversation at #22151
The text was updated successfully, but these errors were encountered: