forem.dev Community

loading...

Discussion on: Custom reactions

Collapse
pp profile image
Paweł Ludwiczak

I'm generally all-in for that.

One thing we have to probably figure out before tackling that is a bit of a tech (and product) debt we have around reactions and that involves many areas:

  • we have reactions in different places: Feed Items, Posts, Comments, Notifications
  • for each of these places we kinda treat reactions differently (for example in Notifications you can like/dislike a post and comment right from the Notification center.. In the Feed, it's not possible)
  • in Notifications you can reply to a comment (which is also a form of reaction) right from the Notifications, but not in the Feed.
  • sometimes we let ppl react only with one specific reaction (like for Comments) and sometimes with other reactions too (unicorn for articles).
  • "saving" is sometimes considered being a reaction and sometimes it's actually a specific CTA that user may want to be interested in.
  • on top of everything, code responsible for handling reactions is pretty much different for every place I've mentioned :D

Sooo, if we could figure out ^ these first, before we jump into adding another layer of complexity, that would be pretty awesome :D


That being said, I think there's something we could consider a "good start". So maybe we could let admins customize the "Unicorn" reaction only? The Unicorn feels very DEV-oriented and I don't think it fits other communities that well. We could treat it as a "superlike" and let each community to define what their super like is:

  • for Quidditch community it could be Golden Snitch (sorry, I don't know much about HP and Quidditch)
  • for Formula 1 community it could be a chequered flag or a helmet
  • for Whiskey community it could be a glass of scotch..
  • ...

^ that should be much easier to achieve rather than evolving our current reactions system to be able to add multiple reactions.

Thread Thread
afrodevgirl profile image
Alexis Moody Author

Yea, those complexities definitely warrant a larger refactor if slack-moji's are the goal. I'd love a custom "unicorn" reaction to start! For us it would probably be a snitch although i'm sure people would love to debate what our "special" reaction should be lol.