FestingerVault / festingervault

Get access to 25K+ kick-ass premium #WordPress themes and plugins. Now directly from your WP dashboard.
https://festingervault.com
GNU General Public License v3.0
953 stars 9 forks source link

Sorting in the updates page. #84

Open hansschuijff opened 4 weeks ago

hansschuijff commented 4 weeks ago

In the updates page I noticed I can click on the header of the list to sort the content by one of the column. That is only visible by the mouse arrow changing to a hand, implicating the header row is clickable.

Perhaps add some visual indicator of that? Often arrows are used to show what column used to sort the list and a double arrow (up/down) to show a column can be sorted. Either way some visual clue may be nice for users that haven't found this feature yet.

A small problem arose too, since the order is already set to prefer available updates on top. That means that if I try to sort on this column it is not sorting as I expected in case there are available updates. If sorting is available, I might want to use it to find plugins that are not yet set for auto-update and in that case I don't want to have updates on top, since I asked for sorting on that column.

It's a disadvantage of using ordering to filter out some subset, that the ability to order as desired may be blocked.

MartinFestingerVault commented 2 weeks ago

Hi @hansschuijff,

Thanks for your feedback.

Perhaps add some visual indicator of that? Often arrows are used to show what column used to sort the list and a double arrow (up/down) to show a column can be sorted. Either way some visual clue may be nice for users that haven't found this feature yet.

@ssovit can you include the sorting arrows - also used by shadcn?

image

https://ui.shadcn.com/docs/components/data-table

A small problem arose too, since the order is already set to prefer available updates on top. That means that if I try to sort on this column it is not sorting as I expected in case there are available updates. If sorting is available, I might want to use it to find plugins that are not yet set for auto-update and in that case I don't want to have updates on top, since I asked for sorting on that column.

It's a disadvantage of using ordering to filter out some subset, that the ability to order as desired may be blocked.

100% agreed. @ssovit please add a sorting dropdown filter to allow hide/show available updates.

Thanks.

hansschuijff commented 2 weeks ago

@MartinFestingerVault Thanks.

When looking at the issues list in this github repo I noticed how they use something similar (arrow in the list header) to filter on a column value. There the arrow is used like in a dropdown, what makes filtering on a column quite easy although it's a bit different than the way arrows in a header row are normally used as a sorting indicator. It's a pity we cannot use both. :-)