-
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
Site Editing: Explore a pattern for template part editing that is consistent in both content and template editing contexts #27852
Comments
To expand on this a little – it is important that the user is able to understand that editing the Header of their Index template part could also affect the Header of all the other templates that exist at the site. Or at the very least have a clear understanding that they are editing something different. This is not obvious at present, since folks are able to fluidly move between editing general template blocks and blocks inside a template part. We have some small visual hints in the UI (the template part chip in the top bar, and the template part outline) which go some way to highlight when a user is interacting with a template part, but they are easily missed and do not convey the scope of the actions. One way to expand upon these subtle hints would is to implement an isolated-only editing experience for template parts. That is to say, you cannot directly flip between editing something in the Header, and then something in the general template area. By adding just a little friction we create opportunity for the user to understand that they're about to engage in a unique experience. Here's a quick video of a prototype demonstrating how it could work: template.part.mp4
One nice thing about this entire flow is that the experience can be transplanted in to the template editor as well, and function in exactly the same way. |
Having taken a close look at the excellent work that has recently been done in #32464, and subsequent explorations in #33988, I'm thinking it would be best to try using the Reusable Block patterns for template part editing. IE:
This will hopefully simplify the solution to this issue dramatically :) |
I think we can close this since focus mode exists :) |
As we work out exactly how the UI will respond when users move between editing content and template, we must be mindful of the fact that template parts are also independent entities in their own right.
While editing a post with the full template visible (#27847), it may be that users do not need to fully engage template editing mode to modify the contents of a template part.
We should therefore explore consistent pathways and experiences for template part editing, that are agnostic of the aforementioned contexts.
The text was updated successfully, but these errors were encountered: