Putting a button into Chat for Jitsi calls

AI-generated summary

A Theme component is being proposed to add a Jitsi call button to the chat header, simplifying video calls between users in the same chat context. nathank highlights the challenges of working with the Chat plugin’s varying HTML structures across different views and the risk of breaking customizations due to rapid development changes. mcwumbly echoes this concern, emphasizing the potential for customizations to break without warning. Meanwhile, a PR for this feature has been submitted nathank and has since been merged by joffreyjaffeux. This feature could also have broader applications, such as enabling huddles or video support upgrades, as suggested by asirota.

I’m thinking of making a Theme component that inserts a videocall (Jitsi or similar) button into the chat header.

It looks a bit tricky as the HTML is pretty different between the full page and the drawer view (haven’t even checked out mobile yet).

And it might be too early to mess with the Chat plugin, as nobody else seems to have done so yet. Therefore there is nobody to copy!

However, it is a very attractive target for this as it is fairly easy to ensure both parties (for one:one) are in the same place / context when they are chatting, completely removing the need to ‘schedule’ a call.

Anyone got any thoughts about how to go about it?

6 Likes

Could be a great way to do a huddle. Or maybe have a video support upgrade for people doing support. We do something like this on https://newpathconsulting.com/hero

1 Like

The other risk here is that things are still moving quickly so you may have to accept customizations breaking without warning for a while longer.

2 Likes

We’ve got a PR for this at the moment:

https://github.com/discourse/discourse-jitsi/pull/22

2 Likes

I just merged the PR, thanks!

4 Likes