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

Creating a custom External Template for the @wordpress/create-block package #166

Closed
bph opened this issue Sep 7, 2023 Discussed in #161 · 19 comments
Closed

Creating a custom External Template for the @wordpress/create-block package #166

bph opened this issue Sep 7, 2023 Discussed in #161 · 19 comments

Comments

@bph
Copy link
Collaborator

bph commented Sep 7, 2023

Discussed in #161

Originally posted by ryanwelcher August 28, 2023
External Templates are a very powerful tool to allow complete customization of block structure that is not widely known.

The article will focus on the technical steps of creating a template but from the use-case of an extender wanting to add more blocks to an existing plugin with pre-set values.

At the end of the article, I'd like to add a call for templates to allow the extender community to share their templates.

@ryanwelcher
Copy link

Draft is ready for first review - https://docs.google.com/document/d/1elbSquxQC5yNE-asPeN_l65QWMQfrCxRp4PYtSqtkzM/edit

@bph
Copy link
Collaborator Author

bph commented Apr 2, 2024

Great article. Of course, I had a few comments. 🧐

@bph bph moved this from Needs 1st review to Done w/ 1st Review in Developer Blog Content Board Apr 2, 2024
@justintadlock
Copy link

@ryanwelcher - This looks like it's had two reviews or is the second review still in progress? I'm not 100% sure, but I'd like to get the ticket status updated.

@ryanwelcher
Copy link

I'd say the first review is complete. I'll move it into the post next and then ping for a second review via the preview.

@ryanwelcher
Copy link

I moved the post into a preview -https://developer.wordpress.org/news/?p=3420&preview=1&_ppp=7b6492b0c6

There seems to be some issues with the code block that I'll tackle on Monday

@ryanwelcher ryanwelcher moved this from Done w/ 1st Review to Needs 2nd review in Developer Blog Content Board Apr 5, 2024
@bph
Copy link
Collaborator Author

bph commented Apr 8, 2024

@ryanwelcher yes, sorry about that. Nick is on it, though. WordPress/wporg-developer-blog#61

@justintadlock
Copy link

Running through the second review now.

@justintadlock justintadlock moved this from Needs 2nd review to Done w/ 2nd review in Developer Blog Content Board Apr 10, 2024
@justintadlock
Copy link

Good work, @ryanwelcher! The second review is in, which is mostly grammar and punctuation changes.

@ryanwelcher
Copy link

ryanwelcher commented Apr 12, 2024

I've updated the post, adding an excerpt and featured image.

Preview: https://developer.wordpress.org/news/?p=3420&preview=1&_ppp=dadf4f97be

Social Media Post:

The create-block package is a fantastic time-saving tool that allows you to quickly and consistently create custom blocks for your projects with a single command. With External Project Templates you can take full control of create-block to customize how you build your blocks.

@ryanwelcher ryanwelcher moved this from Done w/ 2nd review to Ready to publish in Developer Blog Content Board Apr 12, 2024
@ryanwelcher
Copy link

cc @bph @justintadlock

@bph
Copy link
Collaborator Author

bph commented Apr 12, 2024

Howdy @ryanwelcher Awesome article.
If that's ok with you, we schedule the article for next week on Tuesday (4/16) for publishing

Just for convenience, here again the checklists:

Pre-publishing checklist: (updated 1/29/2024)

  • Post Title and subheaders in sentence case
  • Are Category or Categories selected?
  • Are Tags identifies?
  • Is there an explicit Excerpt?
  • Are all images files uploaded to the media library
  • Do all images have an alt-text?
  • For TOC us the Pattern under Developer Blog > Table of contents
  • Assign or upload a featured image
  • Props added? (See Guidelines)
  • add copy for a social post as comment to this issue (example)
    🙌 Publish! 📗

Post-publishing checklist

  • add Props for reviews to #props channel in WP Slack (Example) (use Slack handles)
  • close the issue with a comment to link to the published post
  • close the accompanying discussion with the link to the published post.

@bph
Copy link
Collaborator Author

bph commented Apr 12, 2024

What's missing is the Social post (unless that's what you call 'post excerpt'?

@ryanwelcher
Copy link

What's missing is the Social post (unless that's what you call 'post excerpt'?

Yes, that's what I called it.

@ryanwelcher
Copy link

I've changed the title of the post to Creating an external project template for create-block - FYI

Props @greenshady, @bph and @dansoschin for providing feedback and reviewing this post.

@ryanwelcher
Copy link

If that's ok with you, we schedule the article for next week on Tuesday (4/16) for publishing

Totally fine with me! Should I schedule it WP or just hit publish then?

@ryanwelcher
Copy link

I've scheduled it in WP

@ryanwelcher
Copy link

Post is live - https://developer.wordpress.org/news/2024/04/16/creating-an-external-project-template-for-create-block/

@bph bph moved this from Ready to publish to Published (Done) in Developer Blog Content Board Apr 16, 2024
@juanmaguitar
Copy link
Contributor

Social scheduled for May 7th

@flexseth
Copy link

flexseth commented May 1, 2024

Just wanted to raise awareness about some semantics around using the webpackConfig file

Not sure if it's mentioned in the post, but might be a good idea to test the code in the post to make sure it is working. Disclaimer: I have not tested, but it's been reported twice via the post above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Published (Done)
Development

No branches or pull requests

5 participants