Retort - a reaction-style plugin for Discourse

(Pad Pors) #65

Great :blush: and many thanks for sharing. I’ll check it out.

(James Kiesel) #66

Hey folks, I’ve just

a) completely rewritten the Retort frontend to better take advantage of the new widget system (Now I’m not embarrassed about the choices I’ve made!)

b) added limited emojiset support (giffed below)

There’s some detailed instructions on how to get set up with limited emoji sets in the readme as well.

Feel free to pull it down and have a play, and let me know how it works for you. :beers:!

I’ve thrown it up on my test instance, so you can have a play with it there before installing it.

(Tom Kiblin) #67

Looks good @gdpelican, however you cannot test it out on your test site, sign up and no email confirmations are sent.


Not sure why, but this plugin seems to break the “topic-area” on android for some reason.

Uncaught TypeError: Cannot read property 'retorts' of undefined

Reproducible on using an android device.

Desktop and iOS are unaffected, so it did take me a while to figure out!

(James Kiesel) #69

Whoa, that is a nasty one. I guess I should have known there were some android-specific hacks laying around since Discourse is so much slower on that platform.

On not android:

On android:

^^ :confounded:

Anyway it’s fixed now. :sunny:

(James Kiesel) #70

Hm, I’ve just successfully created a new account on there now; maybe give it another whirl? I can see emails going through.

(Tom Kiblin) #71

I finally got the email, not sure why the delay. Some feedback - you should allow a reader/user to vote once, and if they pick a different reaction, you should remove the 1st one. It just let me pick each of the 6 reactions.

(cpradio) #72

I know that is how slack works… Facebook seems to have gone the way you described, only permitting one.

(Pad Pors) #73

have updated the plugin, and set limits to the number of emoji.

but in the forum, when i click on the emoji set, it shows all of them and not the constraint ones. i got no error.

any idea?

(James Kiesel) #74

Can you send me a screenshot of what your retort settings look like?

(Pad Pors) #75

something like this:

(James Kiesel) #76

Tough to say; those are the exact settings on at the moment, and it appears to be working there. Any other oddities I should be aware of with your instance?

(James Kiesel) #77

I’ve just added a site setting which allows you to toggle wether a user is constrained to one reaction per post or not.

(Pad Pors) #78

no idea myself.

i’ve tested it on local. and have topic-list-preview plugin installed, as well as vote-plugin. at the moment i don’t have access to the localhost, but will check it out again next week and let you know if i can find any related-log or other information.

p.s.: i checked the plugin action using the admin account, should the admin see what others may be able to see in the emoji-list?

(James Kiesel) #79

Are you on the latest version of discourse? That feature relies on a commit in core which was merged yesterday, so it has to be bleeding edge beta to function properly.

(Ionuț Staicu) #80

Although this is a nice idea, the plugin seems to be quite… unpredictible for my setup, and that for few reasons:

  1. When you hit the add retort icon button, there are a lot of times when the screen is dimmed but no icon selector is shown (no errors in console either)
  • I tried to enable it several times, and while some day used to work, few days after (after an update) it crashed badly. How badly? Enough to make the forum unusable.

I’m not sure if it’s Discourse fault (that is changing internals) or Retort fault, but for now i’ll just stay away. :cry:

(James Kiesel) #81

Hm, well, I’m sorry you feel that way… of course Discourse has moved quite quickly and this plugin has been broken at times, but with the latest refactor it’s actually quite stable – there’s not really much code here – and the new widget system is designed to make this particular thing quite easy.

That said, if there’s a reliable, reproducible bug that you can find with the latest version, I want to hear about it. :palm_tree:

(Tobias Eigen) #82

FWIW, I haven’t heard any complaints from my members and I’ve had this plugin installed for a while now. It’s not buggy, though sometimes I wonder how useful it is for promoting engagement or improving communication. It’s a great plugin! :rocket:

One feature we miss is being able to see who has also clicked on an emoji to join in that reaction. Only the first few users are displayed for each emoji, unlike say the like :heart: feature which lets you see everyone who likes a post.

(Ionuț Staicu) #83

Oh well, it seems i had the „luck” of trying it out right on those few times when discourse api didn’t matched the retort api.

I’ll check it again in few weeks, hopefuly I won’t have the same bad luck :slight_smile:

(Pad Pors) #84

yes, updated to the latest version yesterday and tried the plugin. let me check this again next week and will update you in a week.