0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-reactions
Régis Hanol 864e7b79b1
FIX: reactions count when there are deprecated bookmarks (#36138)
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
2025-11-25 11:19:45 +01:00
..
app FEATURE: Promote discourse_reactions_allow_any_emoji out of experimental (#35589) 2025-10-24 16:51:18 +10:00
assets DEV: Register container element for reactions (#36169) 2025-11-24 10:19:00 -06:00
config Update translations (#35700) 2025-10-31 11:33:08 +01:00
db FEATURE: Promote discourse_reactions_allow_any_emoji out of experimental (#35589) 2025-10-24 16:51:18 +10:00
lib FIX: Prevent discourse_reactions from overriding topic_view.posts preloads (#36041) 2025-11-14 09:53:53 -05:00
spec FIX: reactions count when there are deprecated bookmarks (#36138) 2025-11-25 11:19:45 +01:00
test/javascripts FIX: /my/notifications/reactions-received view (#36163) 2025-11-23 14:44:30 +01:00
package.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00
plugin.rb FIX: reactions count when there are deprecated bookmarks (#36138) 2025-11-25 11:19:45 +01:00
README.md
tsconfig.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00

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