godot-asset-library
godot-asset-library copied to clipboard
Implement rating in the backend
Currently, there is no way users can change the rating of an asset. We should implement some way to do it though (and disallow double rating, etc.).
Not blocking for beta.
We should probably not use star ratings (see why) but rather an upvote/downvote system with sorting determined using a Wilson score.
Alternatively, we could just implement upvotes (akin to GitHub stars).
The stars are there they don't work, a plugin doesn't work, couldn't rate it, couldn't review it and the only way to leave an issue is to login to gitlab and talk to the developer!
If you want I could work on the voting system, make the stars clickable and make it possible to comment on items, leaving a review.
In addition to an upvote/downvote system, I would also recommend keeping track of download counts and making them a sortable value in the UI, that way people can incorporate that information into their decision making as well.
@willnationsdev I remember seeing an issue about this, but I can't find it right now.
Still, I don't know how we could prevent the download endpoint from being abused while staying GDPR-compliant. To my knowledge, we're not allowed to store non-logged-in users' IP addresses in a database without a compelling reason, even if they're hashed.
@Calinou ahh, that makes sense. Kinda sucks though.
https://law.stackexchange.com/questions/28603/how-to-satisfy-gdprs-consent-requirement-for-ip-logging/28609
This is supported in the asset library rewrite.
Oh I hope it has been achieved. I can help with it