LogoFastComments.com Blog
follow us in feedly
Fri Jan 22 2021

Pinning Comments with FastComments

Introduction

Comments can now be "pinned" to the top of comment threads, regardless of sort order.

This can be done under the three-dot menu in the top right of a comment, if you are logged in as an administrator or moderator.

A Pinned Comment

New comments will appear under pinned comments.

There is no limit to the number of pinned comments in a comment thread.

Votes and Comment Age

Regardless of the number of votes or age of other comments, pinned comments always show at the top.

Who Can Pin and UnPin Comments

Administrators and moderators are the only users that can pin and unpin comments.

Live Commenting

Whenever a comment is pinned, or unpinned, that update is sent to all viewers of the comment thread.

However, when a comment's pin state changes, the comment thread is not immediately resorted. During our testing we found this experience to be very jarring, so pinned comments will only affect the sort order on page load.

Performance

The sort order of the comment thread is precalculated on every change. This means that the extra sorting required to pin comments to the top will not affect page load times.

In Conclusion

We hope you've found this guide helpful and easy to read. Feel free to comment below with any questions.

Cheers!