Home > Reflections | ⏮️ ⏭️
2024-11-20
💬 Thinking About Comments Again
- 1 Google search
- 1 blog post: https://blog.bartekr.net/2021/01/17/testing-utterances-comments/
- 2 test comments
- A visit to https://utteranc.es/
- An easily generated script tag:
<script src="https://utteranc.es/client.js"
repo="bagrounds/obsidian-github-publisher-sync"
issue-term="pathname"
label="utterances"
theme="preferred-color-scheme"
crossorigin="anonymous"
async>
</script>
- A trivial commit (yes, straight to the main branch; no PR ☠️)
- And voila: comments!
- … And then notice a bug…
- and that utterances is not longer maintained
- so follow the GitHub issues to Giscus!
- generate a new, very similar script tag:
<script src="https://giscus.app/client.js"
data-repo="bagrounds/obsidian-github-publisher-sync"
data-repo-id="R_kgDOLuWiLA"
data-category="Announcements"
data-category-id="DIC_kwDOLuWiLM4Ckd0H"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async>
</script>
- make another trivial commit straight to main
- migrate my first comment to a discussion
- and voila: better comments!