-
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
Improvements to Header pattern category to better clarify and guide usage #40116
Comments
Would "Titles" or "Headings & Titles" be better to disambiguate? |
With the implementation of bundled Header and Footer patterns #43157, this issue becomes more important to address IMO. For example, right now the Header patterns are buried beneath the other patterns categorized also as "header" as pointed out by @beafialho in the original PR: headers.movThis isn't ideal and it's clear some category separation needs to happen. |
As a next step to move this forward, I'm not sure what technically needs to be done here but essentially we want to end up with a new Titles category to house the current "header" patterns and for the "header" category to now contain truly header specific content like these bundled patterns #43157 We'll also need to update the pattern directory appropriately: https://wordpress.org/patterns/categories/header/ cc @mcsf @ryelle for technical thoughts and to see if either of you can help make this happen ahead of 6.1 :) |
Fixes #40116 With this new category, we can clariy the classification of patterns as "Headers". Category "Headers" pertains to global patterns meant to sit at the top of a page, while category "Headings & Titles" pertains to typically visually distinctive elements that help structure the contents of a page.
cc @carolinan, who has also contributed in this area (e.g. adding a new category for Footer patterns in t56416). I can't comment on the pattern directory parts. For the rest, we can easily add a pattern category, both here in Gutenberg in the compat layer and in Core. I opened #44203, have a look. |
We can easily add a new "Headings & Titles" category to the Pattern Directory. It wouldn't change any existing patterns though, anything currently tagged "Header" would stay that way. If that's a problem, we could probably write a script to update them, it would just take a little more time. |
I think we should create a Hero or Banners category and move everything we used to have into it and leave the actual new headers in Headers. |
Fixes #40116 With this new category, we can clariy the classification of patterns as "Headers". Category "Headers" pertains to global patterns meant to sit at the top of a page, while category "Headings & Titles" pertains to typically visually distinctive elements that help structure the contents of a page.
* Block Patterns: Add category for Headings & Titles Fixes #40116 With this new category, we can clariy the classification of patterns as "Headers". Category "Headers" pertains to global patterns meant to sit at the top of a page, while category "Headings & Titles" pertains to typically visually distinctive elements that help structure the contents of a page. * Rename to "Banners"
* Block Patterns: Add category for Headings & Titles Fixes #40116 With this new category, we can clariy the classification of patterns as "Headers". Category "Headers" pertains to global patterns meant to sit at the top of a page, while category "Headings & Titles" pertains to typically visually distinctive elements that help structure the contents of a page. * Rename to "Banners"
What problem does this address?
In a discussion in post status slack, Brin Wilson and I discussed the current categorization of Header Patterns in the Inserter, pattern directory, etc. It became clear that the current Header category including both items related to a Header for your site and something more akin to Headings proved confusing. In general, there are two problems:
Here's a quick video discussing this:
patterns.mov
What is your proposed solution?
A few ideas!
In my opinion, I think it makes sense to branch off a new category of patterns that reflects more of the Heading style patterns where you might want to draw attention to/differentiate a section. This seems like it will most set folks up for success in using these various patterns correctly as well as align nicely with how work is underway to integrate patterns into the experience of doing things like adding a new template part or creating a new template from scratch.
The text was updated successfully, but these errors were encountered: