Page MenuHomePhabricator

Reset current active filters from the last saved set used
Open, Needs TriagePublic

Description

Suggested by @dialmove:

When I select a bookmarked Saved filter, the individual filters saved in it are added to the Active Filters panel as buttons. However, when I remove one of those buttons, it disappears; there's no easy and fast way to re-add the removed filter and restore the initial configuration.

Would it be possible to add a "Reset current filter" action which restored the current selected filter to its initial state, without having to find it and re-apply it from the (potentially quite large) list of saved filters?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@dialmove You can reset the state of a Saved Filter by reselecting it from the "Saved filters" menu.

And what about default filters of you haven't bookmarked any?

Example:

  1. you are working with the default set of filters for the wiki
  2. you remove by accident one of the filters (like I just did right now)

How to get that default set back immediately? The only solution is to remove all filters to have access to the "restore default filters" link. That's not obvious at all.

I think that's blocking some users.

At one point early on, the back button did this (it went to the previous filter setting), but people hated it because 1) they expected the back button to take them to the previous logical page, away from the RC page and 2) it went through filter changes one by one, so undoing three filter changes took three back button clicks

@dialmove You can reset the state of a Saved Filter by reselecting it from the "Saved filters" menu.

I know, but having to think about choosing the correct filter defeats the purpose of this feature request, which is restoring the original state while thinking about something else (the list of results). The amount of focus one have to put into using the interface is relevant to this interaction, not just the effect it produces.

The point is having a way to quickly switch on and off between two states of a filter, by adding and removing one facet in the combination of filters.

Removing one facet is fast, by clicking the "x" in the button at the "active filters" list. But then the button is gone, and to re-apply it you need to search it by name, or re-apply the filter by opening the Saved filters menu, scrolling the list, and aiming to choose the correct item in the menu without misclicking. That is not a low-mental-burden operation like the one I'm requesting, it's a beast of a different nature.

How to get that default set back immediately? The only solution is to remove all filters to have access to the "restore default filters" link. That's not obvious at all.

If only the Restore button was always available, I could set as default a different filter every time I want to use it, and use Restore as a quick enable/disable option. But if the Restore button is hidden unless you manually delete all current filters one by one, it is of no use.

That kind of grinding to access one potentially useful feature doesn't make much sense. The option to restore should be available as soon as the default filter has changed, not when the list of filters is empty.

Since my previous comment I've discovered a workaround to the workaround. The goal is: load arbitrary bookmarked filter X; disable sub-filter Y; re-enable sub-filter Y with minimum mental load (i.e. re-enabling sub-filter Y should be made by muscle memory over a visible item, without making a choice on an initially hidden widget.)

The process to achieve this with the current interface:

  • Set bookmarked filter X as default filter, and apply it.
  • Delete sub-filter Y.
  • Press "Clear all filters".
  • Press "Restore default filters", which happens to be at exactly the same location as "Clear all filters".
  • Repeat steps 2, 3, 4 as many times as needed in fast sequence.
  • After finishing using filter X, restore previous default filter.

Any tweak to the user interface to simplify this process would be welcome.

Thanks, @Trizek-WMF -- we will make a triage decision on this once you send over the background and info on all filters issues.

JTannerWMF added a subscriber: JTannerWMF.

Unfortunately we won’t be able to prioritize this in the near future.