Retort - a reaction-style plugin for Discourse

(James Kiesel) #249

I’d suggest applying some custom css styles to your instance to taste. For example, to remove the border entirely you could do

.post-retort { border: 0; }

(Alex) #250

Thanks, do you know how/where I can add that line of code?

(James Kiesel) #251

You should be able to do so by visiting <yoursite>/admin/customize/themes, then creating a new theme and entering that into the ‘Edit CSS/HTML’ field under ‘CSS’

Someone Should™ write a howto for this, although maybe I’m missing where that resource is :slight_smile:

(Alex) #252

I followed that exactly and it still has a light blue highlight border as usual :frowning:


It seems this was not answered? I’m pretty sure it’s not possible in the current plugin state, but it would be pretty amazing addition to the plugin.

(James Hahn II) #254

Loving this plugin. Question, does it have to open in a lightbox? Any chance you’d be willing to throw in a feature to make it behave a bit more like Facebook? A couple examples…

Facebook Reactions JS

Facebook Reaction on Bootsnip

Gracias :slight_smile:

(Godgutten) #255

So I do as usual and scroll down the forums, find a resource I want to check out and see a funny comment. I want to add a reaction to the comment and then this happens as you see on the picture. It is some of the worst things that can happen to people like me who are perfectionists at the highest rate. Could you please fix so that the black box appears over the comment and not below.


(James Kiesel) #256

Okay this is now fixed. I’ve also updated the styling to use the current them colors. :giraffe:

(James Kiesel) #257

Sorry, I actually just saw this reply, as well as the original feature request.

The like notification functionality is quite a bit more sophisticated in Discourse than you might expect (what with the batched notifications, and not notifying someone twice of the same like, but if someone likes your post after some period of time it starts a new batch, etc.), and it’s that way because it’s annoying to get 10 notifications just because 10 people decide to react :turtle: to your post at the same time.

So, I wouldn’t be happy with the MVP solution (get a notification for every reaction), and I think it’s kinda complicated to do the correct solution, although I’d be happy to look at a PR for it.

Heh, unfortunately this reads to me like ‘Hey, I like your thing, but wouldn’t it be cool if it were a really different thing?’ :exploding_head:

This would be a tough challenge, given that we’re piggy-backing off the existing emoji popup functionality, although the emoji popup now can get automatically positioned, so maybe. Again, not on my list of things to work on immediately (not without some further prodding at least), but more than happy to look at a PR.

(James Hahn II) #258

I get it and apologies if I came off insulting. In all honesty, I was looking for a shortcut to turning the code I linked to into a working Discourse plugin that didn’t involve me building it… because I just figured out how to do a PR, soooo … that might take a while. :laughing:

(Stephen Chung) #259

Feature Request

Is it possible to add a setting such that all further retorts are distorted if the topic is archived?

I understand that you cannot “like” a post that is in an archived topic. The Edit, Like etc. buttons are all hidden when a post is archived. But retorts seem to still work.

I suggest hiding the “retort” button when a topic is archived.

(James Kiesel) #260

Seems like a reasonable thing. I’ve pushed a fix which disables new retorts on archived topics.

( #261

it would be great if users who haven’t been approved are prohibited from adding retorts. I’ve had a few trolls that keep creating new accounts and adding :clown_face: and :-1: to posts they disagrees with.

Some people also go crazy with retorts, adding them to every post in a topic. A max retorts per day would be useful :slight_smile:

(Janusz Skonieczny) #262

Would it be possible to add a reaction to a paragraph?

Here’s a example usage. Currently my team (lame slightly older people :wink: ) like Facebook Messenger for the ability to like or react to a single short Messenger chat message.

I would like to move my team to something focused on longer, more thoughtful posts. Move from chat to discussion, move from something meat to be used as a perishable small talk to a tool leaving posts meant to be referenced and cited.

But the ability to react to the parts of someone consciousness stream is something I really like — it’s like saying this part I agree with, but this another part is something I don’t like.

Currently I can only react or like a full post only. Which implies the need for either splitting to shorter messages and posting them separately or needing people to react by citing parts of the longer message — both results in more posts, which will clutter the discussion.

Is it doable? Is it something worth the implementation?

(Sam Saffron) #263


And set minimum post length to 1

(Tobias Eigen) #264

This has been talked about elsewhere.

(James Kiesel) #265

Without some fairly fundamental changes to Discourse core it’s likely out of scope for this plugin.

(Janusz Skonieczny) #266

No, not annotations, these will confuse the heck my old people. And I personally am an oponent to discussion trees, these are hard to catch up and are fostering culttered off topics and forking.

Just icon reactions. If you need to actually comment part’s of text, cite them.

(Angus McLeod) #267

I’m speccing out some work on this plugin. @gdpelican and I have discussed it privately, but it would be good to get feedback from other users of the plugin.

  • Trust level limits, similar to the “like” trust level limits, including adding associated settings. @gdpelican suggests we use the existing “like” settings for this initially. The thinking behind having seperate settings is that retorts can have various connotations (e.g. negative), which may require different limits and restrictions.

  • Rate limits, similar to the “like” rate limits, including adding associated settings. Same discussion about the settings here as well.

  • A way to handle text-based retorts, e.g. “I Disagree” or “Thank You”. These could be custom emoji, but they may need more space in the post retort UI. Ideally, this would fit within the existing functionality plus some custom CSS.

  • Ability to use Real Names or Avatars in the list of users who have retorted, instead of usernames. This would be toggled by a setting

There’s also

  • Add ability of admins / mods and tl4 to remove retorts from the retort post UI (you can impersonate a user, but this is cumbersome).

@gdpelican’s not sold on this one, or at least not as a first order task, due to the complexity of adding it.

cc @ryanerwin @tshenry @DiscourseMetrics @schungx

( #268

Sounds great!

My members have suggested this feature request many times :+1: My members are investors and sometimes someone will post an analysis of a stock, and it will get likes. Then someone will post a meme, and it will get the same amount of likes. If users can retort with “Good analysis” it would make it easier for me to reward and showcase members who contribute that type of content which is much more valuable to the community.

Avatars would be more useful than real names, in my opinion.

This is a nice-to-have, but not a need-to-have :wink: Requiring a trust level would eliminate 99% of problems I’ve had with new users adding :eggplant:s :wink: