-
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: Add Pending and Private views #62138
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +211 B (+0.01%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
Question: can these be shown only if there are pages in those taxonomies? It becomes a bit much otherwise, and it seems like this could be a default behavior for any of these taxonomies, unless custom pinned. Separately, we should find a better icon for at least private, but probably also pending. As I suggested in the other PR, since these are page statuses, they should probably all share some DNA with the base "page" shape.
|
I'd like to push back on this a little. The icons are supposed to communicate the status, not the post type. The fact that they relate to pages should be contextually apparent. 'Combo icons' (e.g. Page + small lock) wouldn't scale very well—we'd eventually need dedicated icons for pending posts, pending pages, pending comments, pending _$post_type_s, and so on. Additionally it results in the icons visually blurring together and potentially failing the 'squint' test. In that sense, the draft/published icons may be the ones to revisit. I do agree the icons need adjustment so that they're consistent. But I think that can potentially be done in a follow-up or during beta. The important thing to decide at the moment is whether or not to include these views for 6.6. |
The problem is, those icons were designed for different contexts, and dilute them by also applying to posts, IMO. I'm not voicing the strongest opinion in the world here, but for me, calendar is related to the date, not scheduled posts or pages. I realize that's a semantic detail, but it nevertheless feels meaningful to me. |
@jasmussen how do you feel about merging this one, then addressing the icons in #62136? |
Co-authored-by: jameskoster <[email protected]> Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]> Co-authored-by: jasmussen <[email protected]>
Follow-up to #62021. I'm unsure why these weren't included in #59659. I figured we can discuss in a PR.
What?
Adds views for pending and private pages in the Pages data view.
Why?
There are views for each of the other statuses (published, drafts, scheduled, trashed). It seems reasonable to include these too, particularly as there are such views in the wp-admin pages table.
I think there's room to explore alternative icons in follow-ups during beta.
Testing Instructions