Skip to content

Advancing the Pages data view #66570

Closed

Description

@jameskoster

List layout

Image

  • Simplified design: puts greater emphasis on preview, optimises for displaying more rows, makes each item feel more like a clickable button.
  • Use an icon instead of the featured image. Special pages marked e.g. Homepage with a unique icon.
  • Hide all fields except title by default.
  • Add quick edit (there’s a PR for this).
  • Consider removing the author avatar and status icon when those fields are visible (they're a bit distracting with the new per-page icons, and the status icons are repeated in the sidebar creating some tension).
  • Visualise hierarchy, including search.
  • Allow fields to specify that their name should be displayed when that field is toggle on.

Table layout

Image

In both List and Table layout we should show the parent page in search results. One way to do this could be through a 'Parent' field that is automatically made visible when the search result includes children. In order for this to work we'd need to update List layout so that fields are able to specify that the field name should be included additional to the value. Here's a mockup:

Image

General

  • Show counts in sidebar.
  • Trashing – make a decision on whether to remove the confirm dialog
  • Permanently deleting – add confirm dialog

Fields + Filters

Homepage UX

Note

I acknowledge that some of the updates to list layout will also affect the Templates page, plus any third party consumers of the data views component. Let's discuss how to implement with minimal disruption.

Activity

  1. added
    [Feature] DataViews
    [Type] Enhancement
    Needs Design Feedback
    on Oct 29, 2024
  2. jarekmorawski commented on Dec 3, 2024

    @jarekmorawski
    Contributor

    Looks great! Good, thorough work and an important improvement to the current UI. Did you explore making the parent item expandable? It'd work well as a pattern Woo could apply to product variations.

  3. fcoveram commented on Dec 3, 2024

    @fcoveram
    Contributor

    Nice work. Great improvement.

    There are a few things that caught my attention, but I might be missing some context, so feel free to dismiss them.

    Menu item order

    The items could be grouped to convey their relationship more quickly. It occurs to me the following order, separated by a line divider.

    • View
    • Edit
    • Details
    • Rename
    • Duplicate
    • —Divider—
    • Set as homepage
    • Set order → "Order" alone is now clear about what it does/opens
    • —Divider—
    • Move to trash

    DataView Item depth level

    The indentation level of an item conveyed by the hyphen length is easy to distinguish when parent and sibling items are next to it, but in a search result, it’s hard to identify its depth.

    I wonder if there is a need to identify that level. If so, I see room for improving the hyphen by, perhaps, mixing it with the vertical line to communicate how deep the page is.

  4. jameskoster commented on Dec 4, 2024

    @jameskoster
    ContributorAuthor

    Menu item order

    I like all the suggestions here :)

    I wonder if there is a need to identify that level. If so, I see room for improving the hyphen by, perhaps, mixing it with the vertical line to communicate how deep the page is.

    That's an interesting question, I wonder if it's important to understand the exact level, or if simply knowing the item is a descendent (and seeing the direct ancestor) is adequate. I could go either way, did you have a mockup for this?

  5. fcoveram commented on Dec 10, 2024

    @fcoveram
    Contributor

    I wonder if it's important to understand the exact level, or if simply knowing the item is a descendent (and seeing the direct ancestor) is adequate.

    Knowing the ancestor adds value, for sure. It's a solid first step if the improvement keeps going.

    …did you have a mockup for this?

    Nope. But I can try an idea and share it here.

  6. fcoveram commented on Dec 11, 2024

    @fcoveram
    Contributor

    I tried a few ideas and these two are the solid ones. Yet, it lacks context and instead of providing clarity, it adds noise by introducing a new language.

    Image

    Since no feedback has been collected from users or the community pointing out needs for page order and position, the em dashes string could continue as is.

  7. youknowriad commented on Nov 13, 2025

    @youknowriad
    Contributor

    Is this "fit all" issue useful? Can we split what needs to be implemented into smaller dedicated issues instead?

  8. jameskoster commented on Nov 14, 2025

    @jameskoster
    ContributorAuthor

    Some pieces are. I'll create dedicated issues and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Design Feedback[Feature] DataViews[Type] Enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions