-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(game): allow sorting by achievement type #1857
feat(game): allow sorting by achievement type #1857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great 👍
Just a thought but would it make sense to hide the Type sort when there are no existing typed achievements? All of the other sorts always apply but this one is semi-conditional at least until all games are marked which may take some time after the feature goes live (and also for subsets which won't get marked). Likely not worth the effort but thought I'd at least bring it up
Yes, very good idea. We should make that change-- I'll update the code in this PR in just a bit. |
Conditional rendering logic added in eebadf4. |
This PR adds a new sorting option to game pages: "Type", which orders achievements by Progression, Win Condition, and then
null
.Brave.Browser.mp4