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

Site Editor: Enhance the "Add template" flow. #29558

Closed
jameskoster opened this issue Mar 4, 2021 · 5 comments
Closed

Site Editor: Enhance the "Add template" flow. #29558

jameskoster opened this issue Mar 4, 2021 · 5 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts.

Comments

@jameskoster
Copy link
Contributor

Currently the add-template experience is a little lacklustre:

Screenshot 2021-03-04 at 10 56 25

The popover menu reduces what could potentially be a visual exercise to something that is very text-heavy, and potentially difficult to grok for folks who are unfamiliar with templates.

An interface that visually displays the templates might be more intuitive. Especially if we consider that block patterns associated with templates may exist.

@jameskoster jameskoster added Needs Design Needs design efforts. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Mar 4, 2021
@jameskoster
Copy link
Contributor Author

We should concentrate on templates initially, but it's worth keeping in mind how the design we produce here could potentially be used for adding posts / pages from the Sidebar Menu in the Site Editor as well.

@jameskoster
Copy link
Contributor Author

Here's an option for this:

add.template.mp4

After clicking the + icon to add a template, a full-screen modal (#28574) appears to present the options, including thumbnail previews.

If block patterns that are associated with the chosen template exist, they are presented as layout options. In the video above I select the Single Post template, after which I am presented two layout options – one including a sidebar and one omitting it. There's an option to skip this step and "Start blank".

After choosing a layout the template is created with a Snackbar confirmation.

I suspect there is a balance to be struck here with regards to whether we present these as two discrete steps, or whether they could somehow be combined. One issue with combining the steps could be information overload when there are many patterns to choose from.


For fun I decided to see how this concept might work for content flows as well. Here's adding a page:

add.page.mp4

In this case we can skip the template selection step from the process above, since that is governed by the post type. But we can re-use the layout/pattern selection interface to present pre-configured page layouts (block patterns) that could help folks get started more quickly.

We'll need to consider adding search/filter functionality to the layout/pattern selection step in both cases as the pattern library expands.

@jameskoster jameskoster added the Needs Design Feedback Needs general design feedback. label Mar 5, 2021
@aristath
Copy link
Member

aristath commented Mar 8, 2021

Nice, I love it! Amazing work @jameskoster

@paaljoachim
Copy link
Contributor

Hey James. It would be great to see what this would look like in a modal.
Thanks.

@jameskoster
Copy link
Contributor Author

Closing in favor of #37407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts.
Projects
None yet
Development

No branches or pull requests

3 participants