Skip to content

Commit 52842c9

Browse files
saritaidocs-bot
andauthored
Update "Managing disruptive comments" article (#60745)
Co-authored-by: docs-bot <77750099+docs-bot@users.noreply.github.com>
1 parent 5888154 commit 52842c9

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Managing disruptive comments
3-
intro: 'You can {% ifversion fpt or ghec %}hide, edit,{% else %}edit{% endif %} or delete comments on issues, pull requests, and commits.'
3+
intro: 'You can {% ifversion fpt or ghec %}hide, edit,{% else %}edit{% endif %} or delete comments on issues, discussions, pull requests, and commits.'
44
redirect_from:
55
- /articles/editing-a-comment
66
- /articles/deleting-a-comment
@@ -17,7 +17,7 @@ category:
1717

1818
## Hiding a comment
1919

20-
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can hide comments on issues, pull requests, and commits.
20+
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can hide comments on issues, discussions, pull requests, and commits.
2121

2222
If a comment is off-topic, outdated, or resolved, you may want to hide a comment to keep a discussion focused or make a pull request easier to navigate and review. Hidden comments are minimized but people with read access to the repository can expand them.
2323

@@ -29,15 +29,10 @@ If a comment is off-topic, outdated, or resolved, you may want to hide a comment
2929
![Screenshot of a pull request comment by octo-user. Below an icon of three dots, a dropdown menu is expanded, and "Hide" is outlined in orange.](/assets/images/help/repository/comment-menu-hide.png)
3030

3131
1. Using the "Choose a reason" dropdown menu, choose a reason to hide the comment. Then select **Hide comment**.
32-
{% ifversion fpt or ghec %}
33-
![Screenshot of a comment showing a menu to select a reason to hide the comment: Spam, Abuse, Off Topic, Outdated, Duplicate, or Resolved.](/assets/images/help/repository/choose-reason-for-hiding-comment.png)
34-
{% else %}
35-
![Screenshot of a comment showing a menu to select a reason to hide the comment: Off Topic, Outdated, Duplicate, or Resolved.](/assets/images/help/repository/choose-reason-for-hiding-comment-ghe.png)
36-
{% endif %}
3732

3833
## Unhiding a comment
3934

40-
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can unhide comments on issues, pull requests, and commits.
35+
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can unhide comments on issues, discussions, pull requests, and commits.
4136

4237
1. Navigate to the comment you'd like to unhide.
4338
1. On the right side of the comment, click **{% octicon "fold" aria-hidden="true" aria-label="fold" %} Show comment**.
@@ -47,9 +42,9 @@ If a comment is off-topic, outdated, or resolved, you may want to hide a comment
4742

4843
## Editing a comment
4944

50-
Anyone with write access to a repository can edit comments on issues, pull requests, and commits.
45+
Anyone with write access to a repository can edit comments on issues, discussions, pull requests, and commits.
5146

52-
It's appropriate to edit a comment and remove content that doesn't contribute to the conversation and violates your community's code of conduct{% ifversion fpt or ghec %} or GitHub's [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines){% endif %}.
47+
It's appropriate to edit a comment and remove content that doesn't contribute to the conversation and violates your community's code of conduct{% ifversion fpt or ghec %} or {% data variables.product.github %}'s [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines){% endif %}.
5348

5449
Sometimes it may make sense to clearly indicate edits and their justification.
5550

@@ -72,7 +67,7 @@ Comment authors and anyone with write access to a repository can also delete sen
7267

7368
## Deleting a comment
7469

75-
Anyone with write access to a repository can delete comments on issues, pull requests, and commits. Organization owners, team maintainers, and the comment author can also delete a comment on a team page.
70+
Anyone with write access to a repository can delete comments on issues, discussions, pull requests, and commits. Organization owners, team maintainers, and the comment author can also delete a comment on a team page.
7671

7772
If a comment contains some constructive content that adds to the conversation in the issue or pull request, you can edit the comment instead.
7873

0 commit comments

Comments
 (0)