Ajouter l'option ... aux Réactions Discourse

Add the moment discourse-reactions is limited to a static number of reactions.

In some communities it makes sense to give full flexibility so people can pick any reaction from the :rainbow: of emojis.

The idea would be

If enable all reactions is enabled for the plugin.

  1. Render a ... in the reaction menu
  2. When clicked let users pick from full reaction list
  3. Keep last 3 non standard choices in the default tray

@j.jaffeux any thoughts here

25 « J'aime »

This would be nice. Instead of a ... for more options use the same icon as for chat. image. And also have a setting for banned reactions so emojis that can be considered toxic are unable to be used.

13 « J'aime »

Should be very easy to do in itself.

However complexity will probably be around {{emoji-picker}}, might be the right time to move it from something we pull in various components, to something which is globally available. We would need to have it in body (mostly empty until first use) and use this one instance in every cases. Position would need to happen through popper most likely. I would recommend we do this task first, it will make this easier and also improve things in chat.

8 « J'aime »

Now Retort is being retired, would it also be in scope for this feature to allow multiple emoji Reactions for a post too, in a similar way we have them for Chat messages?

9 « J'aime »

It is certainly a different request. The UI for discoruse_reaction is designed around “single” reaction. It would need a major revamp to support multi reaction mode.

7 « J'aime »

I would extend this feature request to also allow selecting from all available emojis (as stated here in the original topic post). I am looking for emoji reaction capability in the mold of Discord which Retort has offered for years. If Retort were to break since entering EOL, it would be a major blow to my userbase.

2 « J'aime »

Hi, is there any traction on this actually being done? Retort is dead and my users would love to still be able to pick from any of the available emojis as opposed to a limited set. I would also second the request to allow for multiple reactions.

6 « J'aime »

we want to do this, but do not have bandwidth at this exact point in time. Probably a few more months out.

10 « J'aime »

Any update on this? Thanks.

1 « J'aime »

We would love to build it, but sadly do not have bandwidth, unless somehow sponsored by an enterprise customer I don’t see this happening for another 6 or so months.

I am partially open to contracting out this work, but it is highly complicated, the concern here is that we would end up spending the same amount of time of building it as we would reviewing a 3rd party sponsored contribution.

6 « J'aime »

Would it be possible to simply replicate the emoji picker of Discourse Chat? I’m a real fan of it, and it works nice and cleanly.

Hell, they could share the same settings (apart from maybe one to turn it on for posts as well) as there doesn’t seem to be much point having different emojis (or default emojis) for posts vs chat.

Of course, the tricky bit will be successfully interacting with the existing post like functionality sensibly.

7 « J'aime »

Yes this would be ideal for me too!

6 « J'aime »

FWIW, I do think there should be an admin option to blacklist some emojis. For example, all of our emojis have a positive angle to help curb toxicity but also promote discussion. At it’s simplest, that could be a :-1: , but something more toxic could be :garbage:

7 « J'aime »

I’ve made a PR to allow user to choose any emoji, like the retort plugin.

11 « J'aime »

Thanks heaps, what is the mobile experience like here?

I love that you included both controller and system specs, we will have a look.

3 « J'aime »

On mobile, the emoji picker modal will appear after clicking the extra EmojiPicker button. I’ve tested it on mobile and it works.

3 « J'aime »

This looks good. Having a limited number of emojis is the worst of both worlds.

3 « J'aime »

Seems to work well on my test site, nice work!

For chat we have a similar “more emoji options” which uses a different icon:

We should aim for parity to either use the same here, or to change the chat one. I think I personally lean towards changing the chat one, the smiley is the industry standard imo.

8 « J'aime »

Cross-posting from the PR:

This is looking and working quite nice, great work :+1: We just need to discuss some product decisions internally here, but we will get back to you soon. Please address minor comments here in the meantime :slightly_smiling_face:

We will come back to you soon.

6 « J'aime »