Skip to content

Commit

Permalink
Refactor plugin store and add sorting by downloads and release date (S…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
PartyWumpus authored and bricefriha committed Jun 1, 2024
1 parent 597a074 commit 77778da
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions backend/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,15 @@
"plugin_updates_label": "Plugin updates available"
},
"other": {
"header": "Other"
"header": "Other",
"uninstall": {
"label": "Uninstall Decky",
"short_label": "Uninstall",
"description": "We are sorry to see you go! If you are considering uninstalling because you are having issues, please consider opening an issue or joining our Discord so we can help you and other users.",
"pwd_input": "Please, enter your password:",
"pwd_confirm": "Confirm",
"pwd_cancel": "Cancel"
}
},
"updates": {
"header": "Updates"
Expand Down Expand Up @@ -280,4 +288,4 @@
"error": "Error Installing PR",
"start_download_toast": "Downloading PR #{{id}}"
}
}
}

0 comments on commit 77778da

Please sign in to comment.