Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new rejection reasons #4409

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions locales/en-US/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ common-moderationReason-rejectionReason-BANNED_WORD =
Banned word
common-moderationReason-rejectionReason-AD =
Ad
common-moderationReason-rejectionReason-HARASSMENT_BULLYING =
Harassment / bullying
common-moderationReason-rejectionReason-MISINFORMATION =
Misinformation
common-moderationReason-rejectionReason-HATE_SPEECH =
Hate speech
common-moderationReason-rejectionReason-IRRELEVANT_CONTENT =
Irrelevant content
common-moderationReason-reason-moreReasons =
+ More reasons
common-moderationReason-rejectionReason-OTHER =
Expand Down
20 changes: 20 additions & 0 deletions server/src/core/server/graph/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3418,6 +3418,26 @@ enum REJECTION_REASON_CODE {
"""
ILLEGAL_CONTENT

"""
HARASSMENT_BULLYING represents a rejection of a comment for being harassment or bullying.
"""
HARASSMENT_BULLYING

"""
MISINFORMATION represents a rejection of a comment for being misinformation.
"""
MISINFORMATION

"""
HATE_SPEECH represents a rejection of a comment for being hate speech.
"""
HATE_SPEECH

"""
IRRELEVANT_CONTENT represents a rejection of a comment for being irrelevant to the conversation.
"""
IRRELEVANT_CONTENT

"""
OTHER is reserved for reasons that arent adequately described by the other options.
"""
Expand Down