-
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
Details View → Template Part #50392
Comments
6.3-detail-templatepart.mp4Much like other detail panels, the template part panel needs work. If we take the same philosophy as the pages panel we should take an info first approach to this. It’s also a great space to give more attention to blocks that are structurally important to your site. The most basic example is the navigation block.
Connections |
Here are some updated visuals based on Saxon's above, factoring in other designs that are coming into focus like meta actions. First of all let's clarify the details that should appear based on the template part source.
It's common for headers and footers to contain blocks that display site data like the title, logo, and navigation menus. These can be included in the sidebar offering a quick way to edit without engaging the full screen editor:
|
Couple of updates here: Basic template partsTemplate parts containing navigation menus, and site settings
There are on-going discussions in #50704 about how to handle multiple menus, so I left that out for now. When there's a single menu it seems fine to go ahead and display it. |
View site link is being worked on in #50420 👍 The spacing is a part of the other metrics we need to figure out. Title sizes, margins, back button, etc. I'm starting to think it might be worth opening a dedicated issue about that, as we've gone back and forth a lot. For this particular issue, how do we feel about the panel contents? Ready to update the OP and mark as ready for dev? |
Where are we at with this, especially considering the work around consolidating patterns, including template parts, in the new library/pattern section? Seems like it's not clear if this is ready for dev. Doing a sweep as part of a phase 2 update and 6.3 core editor triage. cc @WordPress/gutenberg-design |
@annezazu Navigation menus can be edited from the template part details panel now. Editing the Site title, tagline, and logo are missing, as are the revisions link. IMO these are all ready for dev. Edit: I updated the OP to remove the Duplicate & Replace actions. They're worthy of extraction to dedicated issues. |
The other thing I wanted to include is the ability to swap / cycle patterns on a template part. |
Isn't that the "Replace" action? Or did you think it should be more prominent? |
I vaguely recall us talking about showing thumbnails for alternate header/footer patterns, even showing which one was active denoted as such. |
Yeah, more prominent showing related patterns for specific areas. Something to explore later. Also highly related to #44582 |
Can the thumbnails be in two colunns? Does that get too small? |
It will likely depend on the template part in question. Let's spin up a separate issue to explore. |
I'm closing this as outdated with the work now of unifying details view and in-editor inspector. |
Show relevant blocks if they are used on the template part.
"Added by" section to appear when the template part was added by a plugin or user.
Ellipsis menu (next to Edit button)
The text was updated successfully, but these errors were encountered: