Skip to content

Template Part Focus Mode #33926

Closed
Closed

Description

@mtias

This issue tracks short-term work to be done on what has been referred to as "isolated template part" mode. This is a view that just focuses on a single template part (like a header) and is available for any template part. It also outlines the role this will play as part of turning existing widget areas into block template parts. This last part is only tentatively written and is not scoped out pending research on both the widgets work and the navigation screen work.

Design overview: #29148.

Followups

Once the internal UX of editing template parts isolated from their containing template is in a good place, research should continue on how should existing widget areas transition to more ergonomic template parts.

Activity

  1. added
    [Type] Tracking Issue
    [Block] Template Part
    [Feature] Template Editing Mode
    on Aug 6, 2021
  2. draganescu commented on Aug 31, 2021

    @draganescu
    Contributor

    The canvas should be resizable with a drag handle. (See pattern directory previews.)

    @mtias / @jameskoster what is the use of this handle to resize? I see in later designs in #29148 that it went away.

  3. mtias commented on Aug 31, 2021

    @mtias
    MemberAuthor

    We want to introduce viewport resizers through template parts to then scale it up to the whole editor for responsive previewing. (Similar to the pattern directory.)

  4. noisysocks commented on Sep 8, 2021

    @noisysocks
    Member

    Hi! @kevin940726 and I are going to start working our way through this list.

    Quick question: What do you mean by "should be accessible from ... The Sidebar Menu"? What is the sidebar menu?

  5. draganescu commented on Sep 8, 2021

    @draganescu
    Contributor

    What is the sidebar menu?

    It's the menu that appears when clicking the "W" logo when editing a block theme.

  6. kevin940726 commented on Sep 8, 2021

    @kevin940726
    Member

    What is the sidebar menu?

    It's the menu that appears when clicking the "W" logo when editing a block theme.

    Oh okay I guessed it wrong 😅. I thought it's the right sidebar (inspector).

    Isn't the editor already accessible in the sidebar menu then?

  7. mtias commented on Sep 8, 2021

    @mtias
    MemberAuthor

    Yes, it was checked in the list but seems to have been unchecked since :)

  8. kevin940726 commented on Oct 15, 2021

    @kevin940726
    Member

    In the Inspector, the settings for the Template Part should be visible in the document tab.

    As mentioned in #30641 (comment), I don't think this is possible now. I think we should mark it as wont-fix until we have a proper solution to the underlying architecture?

  9. noisysocks commented on Oct 18, 2021

    @noisysocks
    Member

    List view as an icon button.

    I checked this one off now that #35170 is merged meaning you can edit a template part via the ellipsis button in a List View. Perhaps we can revisit having a dedicated icon after WP 5.9.

  10. noisysocks commented on Oct 28, 2021

    @noisysocks
    Member

    I think we can close this out now that #35512 is merged. No doubt there's plenty more to iterate on but I think things are in good shape for WP 5.9. Really nice work @kevin940726 and @jameskoster! ❤️🎉

  11. mtias commented on Oct 28, 2021

    @mtias
    MemberAuthor

    Excellent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[Block] Template Part[Feature] Template Editing Mode[Type] Tracking Issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions