Skip to content

Improve UX around filter customisation of bundled data views #60468

@jameskoster

Description

@jameskoster

Based on the discussion below, let's update the UX conventions around customising views like so:

  • Filters that are part of the view config (for example status = trash in the 'Trash' view) are locked – they cannot be edited or removed. They can potentially be hidden from the UI, as they are in pattern category views.
  • Data views: Make filter reset button contextual to the view #60472
  • When additional filters are added, the 'Reset' button should restore to view to its original state rather than removing all filters as it does now.
  • When additional filters are added, mark the view as modified:
modified
  • Add actions for modified views in the sidebar; 'Reset', 'Save' (for user-generated views), 'Save as...' (for bundled views):
actions

Original issue

It can sometimes be confusing when you edit the filters associated with a bundled view so that the visible records no longer reflect the purpose of the view.

A great example of this is the "Trash" view in page management. If you remove the status filter in this view you see all pages, yet the active view suggests you're viewing trash:

trash.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DevReady for, and needs developer efforts[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions