mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
When computing the number of reactions on a post, we were missing a filter to ensure we were correctly counting likes. Also improved the performance of the computation of the reactions count by doing all the work in SQL instead of retrieving all the data, parsing it in Ruby and filtering it server-side. Also slightly refactored the specs to use "contain_exactly" instead of "eq" because the order doesn't matter. Internal ref - t/168844 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Reactions
Discourse-reactions is a plugin that allows user to add their reactions to the post.
For more information, please see: https://meta.discourse.org/t/discourse-reactions-beyond-likes/183261