paviliondev / discourse-discord-widget

Display a discord widget on your Discourse forum
GNU General Public License v2.0
0 stars 2 forks source link

Widget needs updating for compatibility with upcoming Discourse core changes (widget → Glimmer component) #1

Open jeffbyrnes opened 1 month ago

jeffbyrnes commented 1 month ago

Per a banner notification on our Discourse install, the Discord Widget needs to be updated from a “legacy widget” to a “Glimmer component”.

Here’s the Meta post about this.

It looks like the code needing changes is lines 33–52 of discord-widget.js.

angusmcleod commented 1 month ago

Hey Jeff, it looks like you know what's going on here. Would you mind making a PR?

jeffbyrnes commented 1 month ago

@angusmcleod I’m putting on quite a show, in that case! 😆

I did take a look at trying to do this myself, but my JS skills are badly atrophied (it’s been > 5 years since I wrote any JS). I could probably puzzle it out if I had time, but with a 1½ year old at home, that’s in short supply.

Arkshine commented 1 month ago

I made a PR! https://github.com/paviliondev/discourse-discord-widget/pull/2 😊

Alexei0403 commented 3 weeks ago

how can I run it-discourse-discord-widget