Seeking help with user pop-up enhancement: inserting unique privat chat link

AI-generated summary

Seeking Help with User Pop-up Enhancement: Inserting Unique Private Chat Link

Oksana_Oo from Reshim.org is seeking assistance with implementing a feature on the Discourse side for their mediation tool. The goal is to enhance the user pop-up message to include a link to a unique private chat with a mediator after a user posts a message or comment for mediation.

The desired user story involves:

  • A user posts a message or comment in any forum topic
  • A pop-up appears with a link to a private chat with the mediator

Currently, the pop-up only states that the message has been sent for mediation.

pfaffman suggested creating a plugin to achieve this, but such a plugin does not exist yet. To move forward, Oksana_Oo would need to Reverse Engineer the Discourse API to figure out how to add the private chat link to the pop-up.

Hey there!

I`m Oksana, PM from the humanitarian hub Reshim.org

We are working on an innovative app to combat dehumanization in online discussions of hot topics. We’re developing a mediation tool that integrates with the Discourse API and are seeking help to implement an additional feature on the Discourse side.

Here’s a user story we’re looking to make happen:

  • A user posts a message or comment in any forum topic (the message then gets sent to our mediation tool)
  • The user sees a pop-up saying, “Your message has been sent for mediation. Please proceed to a private chat with the mediator here: [link]”.

Right now, the user only sees a pop-up stating, “Your message has been sent for mediation,” but we want to enhance it by including a link to a unique private chat with a mediator.

We are in need of someone with experience in building on the Discourse platform, as we currently lack developers with this specific skill set.
Looking forward to any tips or help you can offer!

I think I would do it with a plugin that would create the pm and do a redirect there, or perhaps include a link on the message they created.

Oh thanks!
But are you talking about a specific plugin, or does it not exist yet?

It does not exist.

Oh, but you mean a chat and not a PM. I think it should be possible to add that link to your pop-up. You’d Reverse engineer the Discourse API and figure out where that link would be.