Great and many thanks for sharing. I’ll check it out.
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. !
I’ve thrown it up on my test instance, so you can have a play with it there before installing it.
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 http://discourse-babble.com/ using an android device.
Desktop and iOS are unaffected, so it did take me a while to figure out!
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:
Anyway it’s fixed now.
Hm, I’ve just successfully created a new account on there now; maybe give it another whirl? I can see emails going through.
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.
I know that is how slack works… Facebook seems to have gone the way you described, only permitting one.
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.
Can you send me a screenshot of what your retort settings look like?
Tough to say; those are the exact settings on discourse-babble.com at the moment, and it appears to be working there. Any other oddities I should be aware of with your instance?
I’ve just added a site setting which allows you to toggle wether a user is constrained to one reaction per post or not.
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?
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.
Although this is a nice idea, the plugin seems to be quite… unpredictible for my setup, and that for few reasons:
- 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.
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.
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!
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 feature which lets you see everyone who likes a post.
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
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.