GuthrieW / shl-trading-cards

The repository for the Simulation Hockey League's trading card platform. Built with Next.js, TypeScript and Tailwindcss.
https://cards.simulationhockey.com
MIT License
2 stars 2 forks source link

Bug Report (Submitted by 3723) #196

Closed GuthrieW closed 3 weeks ago

GuthrieW commented 1 month ago

Description

https://imgur.com/a/3tXFGjs This is more a suggestion than a real bug. It would be nicer to have the rarities list sorted by card rarity. It's okay from bronze > diamond, but not after that. They're sorted by oldest to newest card type added as far as I can see, but by rarity it would make more sense.

Reproduction Steps

Logged in > collection > rarities dropdown

Operating System

all

Browser

all

Device

all

luketd commented 1 month ago

@GuthrieW thoughts on this?

GuthrieW commented 1 month ago

Sounds simple enough. Just need to move these around: https://github.com/GuthrieW/shl-trading-cards/blob/main/constants/rarity-map.ts