You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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.'
4
4
redirect_from:
5
5
- /articles/editing-a-comment
6
6
- /articles/deleting-a-comment
@@ -17,7 +17,7 @@ category:
17
17
18
18
## Hiding a comment
19
19
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.
21
21
22
22
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.
23
23
@@ -29,15 +29,10 @@ If a comment is off-topic, outdated, or resolved, you may want to hide a comment
29
29

30
30
31
31
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
-

34
-
{% else %}
35
-

36
-
{% endif %}
37
32
38
33
## Unhiding a comment
39
34
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.
41
36
42
37
1. Navigate to the comment you'd like to unhide.
43
38
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
47
42
48
43
## Editing a comment
49
44
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.
51
46
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 %}.
53
48
54
49
Sometimes it may make sense to clearly indicate edits and their justification.
55
50
@@ -72,7 +67,7 @@ Comment authors and anyone with write access to a repository can also delete sen
72
67
73
68
## Deleting a comment
74
69
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.
76
71
77
72
If a comment contains some constructive content that adds to the conversation in the issue or pull request, you can edit the comment instead.
0 commit comments