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] Templates and Template Parts screens - Provide a way for users to add a description to custom templates. #36664

Open
paaljoachim opened this issue Nov 19, 2021 · 7 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Nov 19, 2021

NB! Refocusing issue from adding a column for published date to instead making it possible for users to add descriptions to custom templates.


The following is based on testing the PR Gutenberg Build from this PR:
#36379 (comment)

What problem does this address?

If the user has two similar templates it would be helpful to have a column for when the template was created.

Screenshot 2021-11-19 at 16 24 43

What is your proposed solution?

Perhaps something similar to this (Refocusing the issue so users can add a description to custom templates)

Templates-list-date

@paaljoachim paaljoachim changed the title [Site Editor] Templates - Templates and Template Parts screens [Site Editor] Templates and Template Parts screens - add Published date. Nov 19, 2021
@talldan talldan added the Needs Design Feedback Needs general design feedback. label Nov 22, 2021
@talldan
Copy link
Contributor

talldan commented Nov 22, 2021

This isn't part of the design that @jameskoster put together.

At the moment templates and template parts don't support a published date. Like the 'Author' field that would have to be something added to the post type. There's also the same situation with author that a lot of these templates are files, so won't have a concept of being published.

@jameskoster
Copy link
Contributor

jameskoster commented Nov 22, 2021

I wonder if there's a better way to do this. For the vast majority of templates the publish date is not useful information, indeed I'm not sure how we'd even determine the publish date for templates supplied by theme / plugin packages.

If the user has two similar templates

In this case, they should probably use the description field to elaborate. It's not currently possible to edit the description for custom templates, so perhaps this issue is where we explore how to enable that?

@paaljoachim paaljoachim changed the title [Site Editor] Templates and Template Parts screens - add Published date. [Site Editor] Templates and Template Parts screens - Provide a way for users to add a description to custom templates. Nov 22, 2021
@paaljoachim
Copy link
Contributor Author

I am refocusing this issue. So users can add a description to the custom templates.

@paaljoachim
Copy link
Contributor Author

My initial thought would be using the 3 dot drop down.

Add-description

When there is a description in place "Add description" would change to "Edit description".

@jameskoster
Copy link
Contributor

Yeah I think that makes sense. It may also be good to offer a way to add/edit the description whilst editing the template as well:

Screenshot 2021-11-22 at 10 48 14

@annezazu
Copy link
Contributor

annezazu commented Apr 6, 2022

Noting that this was discussed during the 6.0 walkthrough as something to explore.

@jameskoster
Copy link
Contributor

We recently added a 'Summary' panel in the post editor where you can edit the post excerpt. We should explore aligning with that pattern here.

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. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants