Skip to content

Template Part details panel: Add semantic descriptions #48777

Closed

Description

@jameskoster

#48732 will add a basic detail to this panel: The original author of the template part.

We can expand this a lot in the future, and even offer some edit actions (rename, reset, etc).

In the short term it might be nice to add some more flavor by describing semantic areas when appropriate. Here's a rough example:

Screenshot 2023-03-06 at 11 54 29

Activity

  1. added
    Needs Design
    [Feature] Site Editor
    on Mar 6, 2023
  2. jameskoster commented on Mar 6, 2023

    @jameskoster
    ContributorAuthor

    Here are some ideas for descriptions:

    Headers
    This Template Part is a Header, which typically includes the site title, logo, and main navigation menu. You can have multiple headers; for example, the blog archive template may have a simple header design while the single post template may feature a more elaborate one, including the Post Featured Image.

    Footers
    This Template Part is a Footer, which typically includes credits, social links, and other contact details. You can have multiple footers; for example, you might want a simpler footer on your Contact page template to avoid repeating page content.

    General template parts
    This is a generic template part unrelated to any specific area within a page. Generic template parts can have various uses; for example, Displaying a Post summary for use in blog archive templates. Or displaying comments on both the Post and Page templates.

  3. added
    Needs Design Feedback
    and removed
    Needs Design
    on Mar 6, 2023
  4. richtabor commented on Mar 6, 2023

    @richtabor
    Member

    Template Part

    Should "Template Part" be capitalized? I don't think so.

    single post template

    But I do think we should capitalize specific templates/template parts. We should also use terms directly referencing the template names when we call out other templates. In this example, I'd use "Single" template, as that's what we call it in the Site Editor.

    the blog archive template

    Maybe "the Blog's Archive template" perhaps? Not sure, but I do like connecting Archive with Blog.

  5. richtabor commented on Mar 6, 2023

    @richtabor
    Member

    Perhaps there's an opportunity to detail what template parts are.

    Something like:

    This template part is a Header, which typically includes the site title, logo, and main navigation menu. Template parts are smaller, reusable parts of your site. Personalize this template part or make a new one.

    You can have multiple headers; for example, the Blog template may have a simple header design while the Single template may feature a Post Featured Image block for added imagery.

  6. jameskoster commented on Mar 7, 2023

    @jameskoster
    ContributorAuthor

    Should "Template Part" be capitalized? I don't think so.

    I'm never sure on these things. Looking at the copy here, I guess not.

    Perhaps there's an opportunity to detail what template parts are.

    I thought about that, but we do have the Template part panel itself which already does this to some extent, so I was worried it might be a bit repetitive?

  7. added
    [Type] Enhancement
    on Mar 7, 2023
  8. moved this from ❓ Triage to 🐛 Punted to 6.2.1 in WordPress 6.2 Editor Taskson Mar 8, 2023
  9. moved this to Needs design in 6.3 Designon Mar 22, 2023
  10. moved this from Needs design to Needs feedback in 6.3 Designon Mar 22, 2023
  11. 5 remaining items

  12. moved this from 🐛 Punted to 6.2.1 to 🦵 Punted to 6.3 in WordPress 6.2 Editor Taskson Apr 13, 2023
  13. apeatling commented on Apr 26, 2023

    @apeatling
    Contributor

    Is the copy finalized for these? I was going to work on adding.

  14. jameskoster commented on Apr 27, 2023

    @jameskoster
    ContributorAuthor

    I think we could start with the suggestions in #48777 (comment) and refine in the PR if required.

  15. ndiego commented on Jun 12, 2023

    @ndiego
    Member

    Hey @jameskoster, just checking in as this issue is on the 6.3 Project Board, and I do not see any recent activity. Are we still aiming for 6.3 with this? Thanks!

  16. jameskoster commented on Jun 13, 2023

    @jameskoster
    ContributorAuthor

    Ideally, yes. But this is just one small detail among a host of other improvements to be made in this panel, the full details of which can be seen in #50395. So if you'd like to close this issue in favor of that one, please feel free.

  17. ndiego commented on Jun 13, 2023

    @ndiego
    Member

    Great, thanks @jameskoster. I will close this in favor of #50395. By Beta 1 (6/27), we should consider adding all remaining items on 6.3 Design to the 6.3 Project Board (they can be on both boards) as that will be the main board that the Editor Triage Team, and the Editor Tech Leads will be working off of.

  18. jameskoster commented on Jun 13, 2023

    @jameskoster
    ContributorAuthor

    Apologies, I linked to the wrong issue. #50392 is the one I was looking for.

  19. moved this from Needs dev to Done in 6.3 Designon Jun 27, 2023
  20. removed
    Needs Dev
    on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site Editor[Type] Enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions