Closed otech-nl closed 4 years ago
Lock the issue to disable new comments
Thank you! Hadn't thought of that. Does the utterance.es widget reflect that the issue is closed?
It does not indicate whether the associated issue is open/closed
I would like to help to add this feature.
Proposed functionality:
I had a look at the code, and it seems this should already work:
Issue
interface in github.ts:328
contains a boolean locked
.utterance.ts:51
to bail out after renderComments
(if any) and before enableReactions
(if the user is authenticated) if the issue is locked.What am I missing here?
Thanks. Works like a charm.
It may have worked before too, because I found out "closing" an issue is not the same as "locking" it. The issue must be locked to close utterance's comments.
Nice- I was trying to match GitHubs behavior where closed issues could still be commented on. Thanks for raising the issue with reactions
How can I close comments for a page?
When comments are closed, I would like to see existing comments, but block new ones.