SpaceCowMedia / commander-spellbook-site

The future and modernized version of the Commander Spellbook website
MIT License
30 stars 7 forks source link

Reorder Combos / Add Order Filters on Featured Tab #491

Open GordonsKitchen opened 6 months ago

GordonsKitchen commented 6 months ago

I think it would be good to reorder the combos on the Featured tab to show users combos that have the highest potential of being useful.

Here is a screenshot taken while Outlaws of Thunder Junction was on our featured tab. This is the top of the tab: image

As you can see, this tab shows a bunch of off-colored variants right at the tab. Based off the combos and their order, it appears that the combos are ordered by Date Created - Descending or by Date Updated - Descending. I think there is a use for this so users can easily see the newest spoiler combos we've added. However, for a user who just wants to see the potentially best combos, it is a bit unsightly.

This screenshot was taken from the same featured tab, almost at the bottom: image

These combos are probably more useful to the general user - less colors, less cards, less pre-reqs etc. So it would be good to either modify the current reordering to show these first, or to add order filters where users can specify whatever order they want. Honestly, both would probably be the best solution. To reorder the current page, I would suggest setting the default to: Most decks (based off EDHREC), then by Color Identity from fewest colors -> most colors, then by # of Cards, then by # of Pre-reqs. If this causes a tie, then just list via ABC or whatever order. This ordering could probably be made site-wide and resolve #488

In terms of the order filters, I would have for Date Created / Updated, Color Identity (Least -> Most colors, and vice-versa), number of Cards, and number of Decks (the default search).