Data views: Make filter reset button contextual to the view #60472
Labels
[Feature] Data Views
Work surrounding upgrading and evolving views in the site editor and beyond
Needs Dev
Ready for, and needs developer efforts
[Type] Enhancement
A suggestion for improvement.
Closely related to #60468.
When you browse a view like "Trash" in page management the "Reset" button in the filter UI is visible by default, and clicking it will remove all filters.
Technically this is more like a "Remove" behavior, which in this context makes the "Reset" label a bit misleading.
Instead, we might consider making the filter reset action contextual. IE when you navigate to the Trash view, the "Reset" button is hidden/disabled, and only becomes active when you add/edit any filters. Clicking it would restore the view to its initial filter configuration, IE status filter active and
trash
selected.cc @WordPress/gutenberg-design @ntsekouras @oandregal for thoughts.
The text was updated successfully, but these errors were encountered: