-
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
Pages data view: Update title field so that homepage and posts page are marked with a badge #57763
Comments
Is this the same "badge" kind of fields that we have in "patterns" for the sync status? Because the design looks different to me in the mockups. |
It depends whether this data is a field, technically speaking. I could be convinced otherwise, but I didn't see it as one for a couple of reasons;
My feeling was that it should be a badge, appended to the title field. Ideally we graduate the badge to a component for consistent display, but that can happen later. |
Ok, so you're saying that this is just a different rendering for the "title" field. That could work. |
Going to give this one a quick shot. |
PR at #61718 |
In wp-admin this is achieved with a text label:
In the current pages list the homepage and posts page appear at the top with icons to denote their purpose:
In the pages data view there is no indication at all about which page serves as the homepage / posts page. Lets come up with a design to achieve this.
There are other situations where such a pattern can be useful – for instance the privacy policy page in core, and the shop / cart / checkout pages are also marked this way – so it could be worth implementing this in a reusable/extendable fashion.
The text was updated successfully, but these errors were encountered: