Launcher: registry mods show their 1-5 star rating
Horizon results and project pages show a project's rating from the registry service (GET playhorizon.dev/api/mods/ratings, fetched with the results, kept ten minutes): five pixel stars, the mean and how many, or "No ratings yet". Nothing shows when the service doesn't answer. The launcher has no GitHub account, so a project's page offers "Sign in with GitHub to rate": it opens the site's sign-in, which comes back to the project's page and its stars (one rating per GitHub account). HORIZON_MOD_RATINGS (a file or https:// address) points a test registry at its own ratings. The star icon is drawn for Horizon on the icons' grid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,6 +67,8 @@ pub mod icons {
|
||||
"search",
|
||||
"server",
|
||||
"sliders",
|
||||
// Not Pixelarticons': drawn for Horizon's ratings, in the same 2-unit grid.
|
||||
"star",
|
||||
"terminal",
|
||||
"trash",
|
||||
"user",
|
||||
|
||||
Reference in New Issue
Block a user