-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Iterating on the New Template Area (Partial) flow #21526
Comments
Firstly, I love the reduction in things being asked for and move towards simply creating the template area. I also think a move to visual for this makes a lot of sense. I wonder could this go further and just create the template area name, similar to reusable blocks where you edit after creation? I might be missing the benefit though of giving it a name first. |
Thanks Michael! I agree with all of this. Can we get this integrated sooner than later? I'd love to fiddle with this new interaction in the Site Editor. |
Sounds good to me! |
I've proposed an update to the design for this on a comment on #21218. For simplicity, I would like to keep conversation there. |
Resolved in #23295 |
Here is a gif and an image of a new template area (partial) inserted into the site editor in Gutenberg (master):
Proposal
This works well enough for demo purposes. Now, it's time to iterate on the process a bit. I propose we make some minor changes to make the process a little tidier. I put together a prototype using a design pattern from an issue iterating on the Inserter. It's not particularly relevant to this issue as the changes I'm proposing are limited to the moment after the Template area is inserted into the post.
Try the prototype.
Lets not ask for the theme name. If it's necessary, that should be done behind the scenes. Let's not ask for a slug. Instead, we should generate a slug based on what the user names the template area (similar to how a site title translates into a URL).
Screenshot
The text was updated successfully, but these errors were encountered: