-
Notifications
You must be signed in to change notification settings - Fork 171
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
Refactor plugin store and add sorting by downloads and release date #547
Conversation
Please merge this, I really like to keep on top of what the newest plugins are or what has been updated. It would also be nice if the store would indicate if things are already installed and change the button text to "Update" rather than "Install". Would make browsing the store a lot less confusing. |
To be honest, I totally forgot about this because I thought I already had... I'll finish it up and it should be good to merge soon.
Yeah. I'm sure someone will get to it someday #360 |
Alright should be done now. |
Thank you! |
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.
Nice!
I've just noticed that the server is erroring when sorting by name (but not the other sorts). This shouldn't be merged until that is sorted. |
Okay, fixed that. This has been reviewed so i'm going to merge it. |
…547) * untested first commit * fix types & names * comment out built in sorting for now * rerun search when sort changes * fix ts complaints * use prettier * stop switch-case fall through * move spinner * use locale instead of hardcoded string * fix typo * add sorting by downloads & try using the data field in the dropdown for data * fix typing error * fix asc/desc in dropdown * fix asc/desc again. asc = smaller one go first aaaaa * I don't think i know what ascending means maybe * use props instead of children, like a normal component
…teamDeckHomebrew#547) * untested first commit * fix types & names * comment out built in sorting for now * rerun search when sort changes * fix ts complaints * use prettier * stop switch-case fall through * move spinner * use locale instead of hardcoded string * fix typo * add sorting by downloads & try using the data field in the dropdown for data * fix typing error * fix asc/desc in dropdown * fix asc/desc again. asc = smaller one go first aaaaa * I don't think i know what ascending means maybe * use props instead of children, like a normal component
Please tick as appropriate:
If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/
Description
This fixes issue: #419
(This is currently waiting on SteamDeckHomebrew/decky-plugin-store#51 to be in the main plugin store so it actually works instead of just breaking sorting)Adds four new options to the plugin store's sort box, release date ascending/descending and downloads asc/desc.
It also moves the Store.tsx page around a bit, so the tabs will load before the store does, and just display a spinner for the plugin list bit.