columns_ui icon indicating copy to clipboard operation
columns_ui copied to clipboard

Add ablity to determine Filter precedence by selection order

Open mzso opened this issue 8 years ago • 4 comments

Hi!

I find it unintuitive that there's a prespecified order in which the filters are applied. Depending on what I'm looking for sometimes it makes sense to start with one thing sometime it's the other. Currently if I filter something late in the precedence they get reset when I filter for something earlier.

In my opinion it would be far more logical if I use one of the filters all the items that don't match would be removed from all the others and so on when I do it with the second filter of my choice.

mzso avatar Oct 28 '17 17:10 mzso

I think it would be quite confusing. Say you have three filters: genre, artist and album. You select a genre, and the other two filters are filtered. You select an album and the artist filter is filtered. You select an artist, and the other two filters are unchanged. Now you reset the album filter to 'All albums'. What do the artist and album filters show after that? What happens when you select another album?

Additionally, how would the precedence at any time be conveyed to the user?

In any case, it's fairly detached from how the filters are implemented at present, so it's not something that would be easily implemented.

reupen avatar Oct 28 '17 21:10 reupen

@reupen commented on 2017. okt. 28. 23:19 CEST:

What do the artist and album filters show after that? What happens when you select another album?

Whatever the two enabled filters leave.

Additionally, how would the precedence at any time be conveyed to the user?

Speaking of. Does there even need to be an order at all? Every time you select/deselect something all the other categories are filtered appropriately. (The search filter requires some special treatment though, such as not reducing the other categories only the results in the playlist)

In any case, it's fairly detached from how the filters are implemented at present, so it's not something that would be easily implemented.

Oh, well...

mzso avatar Oct 28 '17 22:10 mzso

Speaking of. Does there even need to be an order at all? Every time you select/deselect something all the other categories are filtered appropriately. (The search filter requires some special treatment though, such as not reducing the other categories only the results in the playlist)

The filters are intended to loosely represent a hierarchy. So imagine a genre and artist filter, you select a genre and the artist filter is filtered. Then you select an artist. If everything filtered everything else, the genre filter would now only display that artist's genre(s). To change genre you'd have to reset the artist filter.

I can only guess that the filter fields you've chosen don't resemble a hierarchy?

reupen avatar Oct 29 '17 10:10 reupen

@reupen commented on 2017. okt. 29. 11:52 CET:

The filters are intended to loosely represent a hierarchy. So imagine a genre and artist filter, you select a genre and the artist filter is filtered. Then you select an artist. If everything filtered everything else, the genre filter would now only display that artist's genre(s). To change genre you'd have to reset the artist filter.

This doesn't make it inferior though, it just has different drawbacks. Though a reset all filters button might be useful, if you want to filter for something completely different.

I can only guess that the filter fields you've chosen don't resemble a hierarchy?

Some do, some not so much. I have a filter for filetypes and one for processed/not processed music. There's definitely no point for these to have any sort of hierarchy with the others or each other. I just get annoyed when they're unexpectedly reset when I choose them out of order.

mzso avatar Oct 29 '17 11:10 mzso