AntoineSoetewey / statsandr

A blog on statistics and R aiming at helping academics and professionals working with data to grasp important concepts in statistics and to apply them in R. See www.statsandr.com
http://statsandr.com/
35 stars 15 forks source link

Consider replacing utterances with giscus #51

Closed laymonage closed 3 years ago

laymonage commented 3 years ago

Hey there,

I see that you're using utterances for comments. As we know, it utilizes GitHub Issues, which (given enough time) would flood your repository's issues with comments. (Looks like you've already got quite a lot of issues for comments here).

I've been developing an alternative: giscus, a similar project that utilizes GitHub Discussions instead. It has support for replies and other cool stuff from GitHub Discussions. The big advantage is the fact that it uses your repository's Discussions, which is more suitable for comments. I would really appreciate it if you tried it. Feedback is welcome, the code is open source.

You can convert existing issues into discussions, as described here.

Thanks!

AntoineSoetewey commented 3 years ago

Hello @laymonage,

Thanks for your input and for building giscus!

I finally managed to keep things organized by closing the issues that were in fact comments, so I am currently satisfied with utterances. However, I'll make sure to try giscus as soon as I find some time to implement it.

Do you expect to work on it in the long run? I would like to avoid switching back to utterances if you happen to stop working on it.

Regards, Antoine

laymonage commented 3 years ago

@AntoineSoetewey Yup, I'm using it on my personal website and I do intend to keep working on it. GitHub is still actively developing Discussions and there are new features that have yet to be included in the API, which I'm looking forward to bring into giscus.

Thanks for the consideration!

AntoineSoetewey commented 3 years ago

Perfect! I'll implement it in a few days and I'll let you know.

Thanks again for building it.

AntoineSoetewey commented 3 years ago

Dear @laymonage,

I'm considering switching to giscus by the end of the week.

Can you just confirm that this issue with utterances does not impact giscus?

Thanks in advance!

laymonage commented 3 years ago

@AntoineSoetewey I can confirm you it does not. Utterances uses the @utterances-bot account to create new issues, which is a personal account, for reasons I do not know why. Meanwhile, giscus uses the app's credentials, meaning that new discussions will be created as the app. It will have an official [bot] tag from GitHub. Example: https://github.com/laymonage/giscus/discussions/62

AntoineSoetewey commented 3 years ago

Thank you!

AntoineSoetewey commented 3 years ago

Hello @laymonage,

I switched to giscus.

Do you know how I can fix the width? https://statsandr.com/blog/variable-types-and-examples/

AntoineSoetewey commented 3 years ago

Never mind, I found the solution in https://github.com/laymonage/giscus/issues/90.