Topic Ratings Plugin

I’ve finished the refactoring. The logic is still quite complex so there may be some remaining issues, but I’ve tested it a fair bit.

https://github.com/angusmcleod/discourse-ratings/commit/f83410310a945a701dc52e1e0999a53e6a41edcc

New or updated ratings will be rounded to the nearest decimal place. If you edit a post with a rating in an existing topic this will prompt the rating to update to a rounded number.

This bug is fixed.

There are no plugin outlets in that view yet, so this is not (yet) possible. Right @zogstrip?

4 likes