Topic Ratings Plugin

Hey guys,

We’ve just merged a PR to resolve several issues and make Ratings compatible with drafting.

https://github.com/paviliondev/discourse-ratings/pull/50

  • NEW FEATURE: stores and retrieves ratings to and from drafts
  • FIX: resolves an issue where type names were not repainted on Topic header when post rating updated
  • FIX: resolves an issue where composition of a new Topic generates an exception because post attribute can be initially null.
  • FIX: resolves an infinite loop when confirming if to reply to original topic or currently presented one
  • COMPATIBILTY: Resolves various core compatibility issues and deprecations to clear out the browser warnings on the Topic page.

As this was a fair amount of changes and this plugin sadly lacks unit tests at this stage, I’d be most grateful for feedback.

Sorry this took a while, moving Ember Computed Properties to getter/setters introduced new issues that needed to be tracked down.

@darkpixlz @Don

4 Likes