discourse-gamification icon indicating copy to clipboard operation
discourse-gamification copied to clipboard

FEATURE: Add per-reaction score awarding

Open rngus2344 opened this issue 2 years ago • 3 comments

Now giving and receiving reactions award users per-reaction score:

Screenshot 2023-06-07 at 1 56 18 PM Screenshot 2023-06-07 at 1 55 09 PM Screenshot 2023-06-07 at 1 56 50 PM

rngus2344 avatar Jun 07 '23 18:06 rngus2344

AFAIK the default reaction also creates a like, so it's double counting both likes and reactions here? Not sure we can do something about it tho.

xfalcox avatar Jun 07 '23 19:06 xfalcox

AFAIK the default reaction also creates a like, so it's double counting both likes and reactions here? Not sure we can do something about it tho.

When I checked it, the default reaction was only counted as a like not as reaction. I will double-check it and let you know.

rngus2344 avatar Jun 07 '23 19:06 rngus2344

When I do default reaction, it creates 'like' and is stored in post_actions: Screenshot 2023-06-07 at 2 27 33 PM

But it is not stored in discourse_reactions_reaction_users: Screenshot 2023-06-07 at 2 27 00 PM

(The post_id 87 is where I did 'like') Is it correct? Please let me know if I am missing something.

rngus2344 avatar Jun 07 '23 19:06 rngus2344