-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve organization of templates to reflect importance/hierarchy #44302
Comments
I like to think there's an opportunity for a thumbnail view in the not too distant future. But in the mean time, should we categorize? Maybe a main category holding home, index, archive, then an expanded category for category, 404, single, page, tag, etc, and finally a category for custom-made templates? |
Ordering the template page into categories could be helpful. |
There's some discussion in #42325 (comment) which might be relevant here. |
This came up in the nineteenth call for testing for the FSE Outreach Program:
|
It's difficult to order the entire list of templates because 'important' is somewhat subjective based on the current task and existing templates. We could create an ordering function that sorts based on the existence of templates hierarchically (e.g. Index is only important when Home doesn't exist). But a simpler approach might be additional sorting levels in the UI... so instead of just having a single list of templates they're arranged into categories. Quick mockup: This could theoretically make the template addition process simpler too. For example if you want to add a blog to your site you just click + and select 'Blog', rather than having to manually create Category, Tag, Author, Single Post, one by one. |
I wonder if subheadings could work in that context? While the waterfall structure affords endless drilldowns, I wonder if it isn't nice to have more immediate access? |
I'd say it's worth a try. We'd probably need to make the subheadings sticky to aid orientation within extra long lists. |
Noting that the current chaotic ordering remains confusing as I test 6.2 beta 2. For example, here's a screenshot of browse mode where you can see some custom templates alongside the ones built into TT3: In this case, I have to scroll down and find "home" to edit my homepage template. Is this something we can improve for 6.2? I think it will be a huge quality of life improvement cc @richtabor as design lead. |
My preference here would be to add some subheadings to group templates contextually, something like: Grouping by post type (and custom) will scale well when plugins are added (you can imagine a 'Products' section when you install WooCommerce). I acknowledge things like 404 aren't technically It's a bit down the road, but we could use such grouping to create a UI for adding custom post types too. For example there may be a 'Add testimonials section' button somewhere which would automatically create If we add grouping to the list (contextual or otherwise) then I think the ordering may be less of an issue. That's not to say we shouldn't figure something out there, more that it can probably by worked out separately. |
I really like this idea of grouping with sub-headings (without the need to drill down) |
Groupings look good. In future we may need to figure out how this overlaps with the idea of showing certain templates alongside pages, but not something to think about now. |
In terms of ordering within the sections, perhaps alphabetical would be okay to start, with the caveat that 404 should always be at the bottom :) |
Groupings seems nice to explore, but I agree at least stopping the seemingly random shifts that occur when using "recently edited". A hard-coded list based on A/Z but optimized (don't lead with 404) seems like a good start. Custom templates should probably be still separate, it can get confusing otherwise. |
I'd like to continue exploring the "Pages / Blog / Custom" groupings further, but probably best to do a specific issue about that. |
I opened #48651 as a follow-up. I'll close this one, but feel free to re-open if I am too eager in doing so. |
What problem does this address?
Right now, when you're looking at the template list, there's no sense of what's important and the templates feel a bit scattered, especially after you add new ones that appear at the top:
It feels odd that you have to scroll and read each template to find what you are most likely to need.
What is your proposed solution?
Consider adding a level of organization to the templates to help better reflect importance and relevance of specific templates. For example, the template powering the homepage likely should be listed higher than a random new category template.
cc @WordPress/gutenberg-design for thoughts here!
The text was updated successfully, but these errors were encountered: