Site logo

Léon Zhang

Full Stack Developer

Testing

Testing Comment System

A simple test blog post to verify that the Utterances comment system works correctly with our self-healing URL implementation.

Jan 24, 20252 min readLéon Zhang
Testing Comment System

Testing Our Comment System

This is a test blog post to verify that our Utterances comment system is working correctly with the new self-healing URL implementation.

What We're Testing

  1. Comment Loading: The Utterances widget should load properly at the bottom of this post
  2. Issue Term: The GitHub issue should be created using our post ID (795aade4) as the issue term
  3. Self-Healing URLs: The comment system should work even if we change the title or slug of this post

How Utterances Works

Utterances is a lightweight comments widget built on GitHub issues. When configured with issue-term set to a specific term (in our case, the post ID), it will:

  • Search for an existing GitHub issue with that term in the title
  • If no issue exists, create a new one automatically when the first comment is posted
  • Display all comments from that issue as blog comments

Testing Instructions

  1. Scroll down to the comment section
  2. Try posting a test comment (requires GitHub login)
  3. Check that a new issue is created in the repository with the title containing 795aade4
  4. Verify that the comment appears both in the blog and in the GitHub issue

This approach ensures our comments remain tied to the post even if we rename the file or change the title, thanks to the unique post ID system.

Conclusion

If you can see the comment section below and successfully post a comment, our integration is working perfectly!

Comments

Related Posts

Why I Switched from Next.js Image to Imgproxy (And You Should Too)

Learn how switching from Next.js built-in image optimization to Imgproxy solved critical OOM errors and improved performance. Includes complete implementation guide with CORS configuration and security best practices.

Sep 24, 20255 min read
Read More
Essential Algorithms and Data Structures: A Comprehensive Programming Guide

Master fundamental algorithms and data structures with practical Java implementations. From binary search to graph algorithms, learn the patterns that power efficient code.

Sep 22, 202521 min read
Read More