Bump package, integrate new reasons

This commit is contained in:
Eric Bailey
2025-10-08 21:01:30 -05:00
parent 057ebc442e
commit 74d12fbacc
2 changed files with 63 additions and 108 deletions
+12 -31
View File
@@ -10,79 +10,62 @@ export const NEW_TO_OLD_REASON_MAPPING: Record<string, string> = {}
* Mapping of new (Ozone namespace) reason types to old reason types. * Mapping of new (Ozone namespace) reason types to old reason types.
* *
* Matches the mapping defined in the Ozone codebase: * Matches the mapping defined in the Ozone codebase:
* @see https://github.com/bluesky-social/atproto/blob/09439d7d688294ad1a0c78a74b901ba2f7c5f4c3/packages/ozone/src/mod-service/profile.ts#L15 * @see https://github.com/bluesky-social/atproto/blob/4c15fb47cec26060bff2e710e95869a90c9d7fdd/packages/ozone/src/mod-service/profile.ts#L16-L64
*/ */
export const NEW_TO_OLD_REASONS_MAP: Record< export const NEW_TO_OLD_REASONS_MAP: Record<
OzoneReportDefs.ReasonType, OzoneReportDefs.ReasonType,
RootReportDefs.ReasonType RootReportDefs.ReasonType
> = { > = {
[OzoneReportDefs.REASONAPPEAL]: RootReportDefs.REASONAPPEAL, [OzoneReportDefs.REASONAPPEAL]: RootReportDefs.REASONAPPEAL,
[OzoneReportDefs.REASONOTHER]: RootReportDefs.REASONOTHER,
// Violence-related [OzoneReportDefs.REASONVIOLENCEANIMAL]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCEANIMALWELFARE]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCETHREATS]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONVIOLENCETHREATS]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCEGRAPHICCONTENT]: [OzoneReportDefs.REASONVIOLENCEGRAPHICCONTENT]:
RootReportDefs.REASONVIOLATION, RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCESELFHARM]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCEGLORIFICATION]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONVIOLENCEGLORIFICATION]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT]: [OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT]:
RootReportDefs.REASONVIOLATION, RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCETRAFFICKING]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONVIOLENCETRAFFICKING]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONVIOLENCEOTHER]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONVIOLENCEOTHER]: RootReportDefs.REASONVIOLATION,
// Sexual-related
[OzoneReportDefs.REASONSEXUALABUSECONTENT]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALABUSECONTENT]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALNCII]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALNCII]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALSEXTORTION]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALDEEPFAKE]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALDEEPFAKE]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALANIMAL]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALANIMAL]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALUNLABELED]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALUNLABELED]: RootReportDefs.REASONSEXUAL,
[OzoneReportDefs.REASONSEXUALOTHER]: RootReportDefs.REASONSEXUAL, [OzoneReportDefs.REASONSEXUALOTHER]: RootReportDefs.REASONSEXUAL,
// Child safety
[OzoneReportDefs.REASONCHILDSAFETYCSAM]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONCHILDSAFETYCSAM]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYGROOM]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONCHILDSAFETYGROOM]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYMINORPRIVACY]: [OzoneReportDefs.REASONCHILDSAFETYPRIVACY]: RootReportDefs.REASONVIOLATION,
RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYENDANGERMENT]:
RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYHARASSMENT]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONCHILDSAFETYHARASSMENT]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYPROMOTION]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCHILDSAFETYOTHER]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONCHILDSAFETYOTHER]: RootReportDefs.REASONVIOLATION,
// Harassment
[OzoneReportDefs.REASONHARASSMENTTROLL]: RootReportDefs.REASONRUDE, [OzoneReportDefs.REASONHARASSMENTTROLL]: RootReportDefs.REASONRUDE,
[OzoneReportDefs.REASONHARASSMENTTARGETED]: RootReportDefs.REASONRUDE, [OzoneReportDefs.REASONHARASSMENTTARGETED]: RootReportDefs.REASONRUDE,
[OzoneReportDefs.REASONHARASSMENTHATESPEECH]: RootReportDefs.REASONRUDE, [OzoneReportDefs.REASONHARASSMENTHATESPEECH]: RootReportDefs.REASONRUDE,
[OzoneReportDefs.REASONHARASSMENTDOXXING]: RootReportDefs.REASONRUDE, [OzoneReportDefs.REASONHARASSMENTDOXXING]: RootReportDefs.REASONRUDE,
[OzoneReportDefs.REASONHARASSMENTOTHER]: RootReportDefs.REASONRUDE, [OzoneReportDefs.REASONHARASSMENTOTHER]: RootReportDefs.REASONRUDE,
// Misleading
[OzoneReportDefs.REASONMISLEADINGSPAM]: RootReportDefs.REASONSPAM,
[OzoneReportDefs.REASONMISLEADINGBOT]: RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONMISLEADINGBOT]: RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONMISLEADINGIMPERSONATION]: [OzoneReportDefs.REASONMISLEADINGIMPERSONATION]:
RootReportDefs.REASONMISLEADING, RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONMISLEADINGSPAM]: RootReportDefs.REASONSPAM,
[OzoneReportDefs.REASONMISLEADINGSCAM]: RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONMISLEADINGSCAM]: RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONMISLEADINGSYNTHETICCONTENT]: [OzoneReportDefs.REASONMISLEADINGELECTIONS]: RootReportDefs.REASONMISLEADING,
RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONMISLEADINGMISINFORMATION]:
RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONMISLEADINGOTHER]: RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONMISLEADINGOTHER]: RootReportDefs.REASONMISLEADING,
// Map all rule-related reasons to REASONVIOLATION
[OzoneReportDefs.REASONRULESITESECURITY]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONRULESITESECURITY]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONRULESTOLENCONTENT]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONRULEPROHIBITEDSALES]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONRULEPROHIBITEDSALES]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONRULEBANEVASION]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONRULEBANEVASION]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONRULEOTHER]: RootReportDefs.REASONVIOLATION, [OzoneReportDefs.REASONRULEOTHER]: RootReportDefs.REASONVIOLATION,
// Information Integrity [OzoneReportDefs.REASONSELFHARMCONTENT]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCIVICELECTORALPROCESS]: [OzoneReportDefs.REASONSELFHARMED]: RootReportDefs.REASONVIOLATION,
RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONSELFHARMSTUNTS]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCIVICDISCLOSURE]: RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONSELFHARMSUBSTANCES]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCIVICINTERFERENCE]: RootReportDefs.REASONMISLEADING, [OzoneReportDefs.REASONSELFHARMOTHER]: RootReportDefs.REASONVIOLATION,
[OzoneReportDefs.REASONCIVICMISINFORMATION]: RootReportDefs.REASONMISLEADING,
[OzoneReportDefs.REASONCIVICIMPERSONATION]: RootReportDefs.REASONMISLEADING,
} }
/** /**
@@ -98,7 +81,7 @@ export const OLD_TO_NEW_REASONS_MAP: Record<
[RootReportDefs.REASONMISLEADING]: [OzoneReportDefs.REASONMISLEADINGOTHER], [RootReportDefs.REASONMISLEADING]: [OzoneReportDefs.REASONMISLEADINGOTHER],
[RootReportDefs.REASONSEXUAL]: [OzoneReportDefs.REASONSEXUALUNLABELED], [RootReportDefs.REASONSEXUAL]: [OzoneReportDefs.REASONSEXUALUNLABELED],
[RootReportDefs.REASONRUDE]: [OzoneReportDefs.REASONHARASSMENTOTHER], [RootReportDefs.REASONRUDE]: [OzoneReportDefs.REASONHARASSMENTOTHER],
[RootReportDefs.REASONOTHER]: [OzoneReportDefs.REASONRULEOTHER], [RootReportDefs.REASONOTHER]: [OzoneReportDefs.REASONOTHER],
[RootReportDefs.REASONAPPEAL]: [OzoneReportDefs.REASONAPPEAL], [RootReportDefs.REASONAPPEAL]: [OzoneReportDefs.REASONAPPEAL],
} }
@@ -122,8 +105,6 @@ export const BSKY_LABELER_ONLY_REPORT_REASONS: Set<OzoneReportDefs.ReasonType> =
new Set([ new Set([
OzoneReportDefs.REASONCHILDSAFETYCSAM, OzoneReportDefs.REASONCHILDSAFETYCSAM,
OzoneReportDefs.REASONCHILDSAFETYGROOM, OzoneReportDefs.REASONCHILDSAFETYGROOM,
OzoneReportDefs.REASONCHILDSAFETYENDANGERMENT,
OzoneReportDefs.REASONCHILDSAFETYPROMOTION,
OzoneReportDefs.REASONCHILDSAFETYOTHER, OzoneReportDefs.REASONCHILDSAFETYOTHER,
OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT, OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT,
]) ])
@@ -9,7 +9,7 @@ export type ReportCategory =
| 'harassmentHate' | 'harassmentHate'
| 'misleading' | 'misleading'
| 'ruleBreaking' | 'ruleBreaking'
| 'civicIntegrity' | 'selfHarm'
| 'other' | 'other'
export type ReportCategoryConfig = { export type ReportCategoryConfig = {
@@ -32,7 +32,7 @@ export function useReportOptions() {
const categories: Record<ReportCategory, ReportCategoryConfig> = { const categories: Record<ReportCategory, ReportCategoryConfig> = {
childSafety: { childSafety: {
key: 'childSafety', key: 'childSafety',
title: _(msg`Child Safety`), title: _(msg`Child safety`),
description: _( description: _(
msg`Content harming or endangering minors' safety and wellbeing`, msg`Content harming or endangering minors' safety and wellbeing`,
), ),
@@ -43,110 +43,94 @@ export function useReportOptions() {
reason: OzoneReportDefs.REASONCHILDSAFETYCSAM, reason: OzoneReportDefs.REASONCHILDSAFETYCSAM,
}, },
{ {
title: _(msg`Grooming or Predatory Behavior`), title: _(msg`Grooming or predatory behavior`),
reason: OzoneReportDefs.REASONCHILDSAFETYGROOM, reason: OzoneReportDefs.REASONCHILDSAFETYGROOM,
}, },
{ {
title: _(msg`Minor Privacy Violation`), title: _(msg`Privacy violation of a minor`),
reason: OzoneReportDefs.REASONCHILDSAFETYMINORPRIVACY, reason: OzoneReportDefs.REASONCHILDSAFETYPRIVACY,
}, },
{ {
title: _(msg`Child Endangerment`), title: _(msg`Minor harassment or bullying`),
reason: OzoneReportDefs.REASONCHILDSAFETYENDANGERMENT,
},
{
title: _(msg`Minor Harassment or Bullying`),
reason: OzoneReportDefs.REASONCHILDSAFETYHARASSMENT, reason: OzoneReportDefs.REASONCHILDSAFETYHARASSMENT,
}, },
{ {
title: _(msg`Promotion of Child Exploitation`), title: _(msg`Other child safety issue`),
reason: OzoneReportDefs.REASONCHILDSAFETYPROMOTION,
},
{
title: _(msg`Other Child Safety Issue`),
reason: OzoneReportDefs.REASONCHILDSAFETYOTHER, reason: OzoneReportDefs.REASONCHILDSAFETYOTHER,
}, },
], ],
}, },
violencePhysicalHarm: { violencePhysicalHarm: {
key: 'violencePhysicalHarm', key: 'violencePhysicalHarm',
title: _(msg`Violence or Physical Harm`), title: _(msg`Violence or physical harm`),
sort: 2, sort: 2,
description: _(msg`Threats, calls for violence, or graphic content`), description: _(msg`Threats, calls for violence, or graphic content`),
options: [ options: [
{ {
title: _(msg`Animal Welfare`), title: _(msg`Animal welfare`),
reason: OzoneReportDefs.REASONVIOLENCEANIMALWELFARE, reason: OzoneReportDefs.REASONVIOLENCEANIMAL,
}, },
{ {
title: _(msg`Threats or Incitement`), title: _(msg`Threats or incitement`),
reason: OzoneReportDefs.REASONVIOLENCETHREATS, reason: OzoneReportDefs.REASONVIOLENCETHREATS,
}, },
{ {
title: _(msg`Graphic Violent Content`), title: _(msg`Graphic violent content`),
reason: OzoneReportDefs.REASONVIOLENCEGRAPHICCONTENT, reason: OzoneReportDefs.REASONVIOLENCEGRAPHICCONTENT,
}, },
{ {
title: _(msg`Self Harm`), title: _(msg`Glorification of violence`),
reason: OzoneReportDefs.REASONVIOLENCESELFHARM,
},
{
title: _(msg`Glorification of Violence`),
reason: OzoneReportDefs.REASONVIOLENCEGLORIFICATION, reason: OzoneReportDefs.REASONVIOLENCEGLORIFICATION,
}, },
{ {
title: _(msg`Extremist Content`), title: _(msg`Extremist content`),
reason: OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT, reason: OzoneReportDefs.REASONVIOLENCEEXTREMISTCONTENT,
}, },
{ {
title: _(msg`Human Trafficking`), title: _(msg`Human trafficking`),
reason: OzoneReportDefs.REASONVIOLENCETRAFFICKING, reason: OzoneReportDefs.REASONVIOLENCETRAFFICKING,
}, },
{ {
title: _(msg`Other Violent Content`), title: _(msg`Other violent content`),
reason: OzoneReportDefs.REASONVIOLENCEOTHER, reason: OzoneReportDefs.REASONVIOLENCEOTHER,
}, },
], ],
}, },
sexualAdultContent: { sexualAdultContent: {
key: 'sexualAdultContent', key: 'sexualAdultContent',
title: _(msg`Sexual and Adult Content`), title: _(msg`Sexual and adult content`),
description: _(msg`Adult, child or animal sexual abuse`), description: _(msg`Adult, child or animal sexual abuse`),
sort: 3, sort: 3,
options: [ options: [
{ {
title: _(msg`Adult Sexual Abuse Content`), title: _(msg`Adult sexual abuse content`),
reason: OzoneReportDefs.REASONSEXUALABUSECONTENT, reason: OzoneReportDefs.REASONSEXUALABUSECONTENT,
}, },
{ {
title: _(msg`Non-Consensual Intimate Imagery`), title: _(msg`Non-consensual intimate imagery`),
reason: OzoneReportDefs.REASONSEXUALNCII, reason: OzoneReportDefs.REASONSEXUALNCII,
}, },
{ {
title: _(msg`Sextortion`), title: _(msg`Deepfake adult content`),
reason: OzoneReportDefs.REASONSEXUALSEXTORTION,
},
{
title: _(msg`Deepfake Adult Content`),
reason: OzoneReportDefs.REASONSEXUALDEEPFAKE, reason: OzoneReportDefs.REASONSEXUALDEEPFAKE,
}, },
{ {
title: _(msg`Animal Sexual Abuse`), title: _(msg`Animal sexual abuse`),
reason: OzoneReportDefs.REASONSEXUALANIMAL, reason: OzoneReportDefs.REASONSEXUALANIMAL,
}, },
{ {
title: _(msg`Unlabeled Adult Content`), title: _(msg`Unlabeled adult content`),
reason: OzoneReportDefs.REASONSEXUALUNLABELED, reason: OzoneReportDefs.REASONSEXUALUNLABELED,
}, },
{ {
title: _(msg`Other Sexual Violence Content`), title: _(msg`Other sexual violence content`),
reason: OzoneReportDefs.REASONSEXUALOTHER, reason: OzoneReportDefs.REASONSEXUALOTHER,
}, },
], ],
}, },
harassmentHate: { harassmentHate: {
key: 'harassmentHate', key: 'harassmentHate',
title: _(msg`Harassment or Hate`), title: _(msg`Harassment or hate`),
description: _( description: _(
msg`Targeted attacks, hate speech, or organized harassment`, msg`Targeted attacks, hate speech, or organized harassment`,
), ),
@@ -157,11 +141,11 @@ export function useReportOptions() {
reason: OzoneReportDefs.REASONHARASSMENTTROLL, reason: OzoneReportDefs.REASONHARASSMENTTROLL,
}, },
{ {
title: _(msg`Targeted Harassment`), title: _(msg`Targeted harassment`),
reason: OzoneReportDefs.REASONHARASSMENTTARGETED, reason: OzoneReportDefs.REASONHARASSMENTTARGETED,
}, },
{ {
title: _(msg`Hate Speech`), title: _(msg`Hate speech`),
reason: OzoneReportDefs.REASONHARASSMENTHATESPEECH, reason: OzoneReportDefs.REASONHARASSMENTHATESPEECH,
}, },
{ {
@@ -169,7 +153,7 @@ export function useReportOptions() {
reason: OzoneReportDefs.REASONHARASSMENTDOXXING, reason: OzoneReportDefs.REASONHARASSMENTDOXXING,
}, },
{ {
title: _(msg`Other Harassing or Hateful Content`), title: _(msg`Other harassing or hateful content`),
reason: OzoneReportDefs.REASONHARASSMENTOTHER, reason: OzoneReportDefs.REASONHARASSMENTOTHER,
}, },
], ],
@@ -181,7 +165,7 @@ export function useReportOptions() {
sort: 5, sort: 5,
options: [ options: [
{ {
title: _(msg`Fake Account or Bot`), title: _(msg`Fake account or bot`),
reason: OzoneReportDefs.REASONMISLEADINGBOT, reason: OzoneReportDefs.REASONMISLEADINGBOT,
}, },
{ {
@@ -197,74 +181,64 @@ export function useReportOptions() {
reason: OzoneReportDefs.REASONMISLEADINGSCAM, reason: OzoneReportDefs.REASONMISLEADINGSCAM,
}, },
{ {
title: _(msg`Unlabeled Generative AI or Synthetic Content`), title: _(msg`False information about elections`),
reason: OzoneReportDefs.REASONMISLEADINGSYNTHETICCONTENT, reason: OzoneReportDefs.REASONMISLEADINGELECTIONS,
}, },
{ {
title: _(msg`Harmful False Claims`), title: _(msg`Other misleading content`),
reason: OzoneReportDefs.REASONMISLEADINGMISINFORMATION,
},
{
title: _(msg`Other Misleading Content`),
reason: OzoneReportDefs.REASONMISLEADINGOTHER, reason: OzoneReportDefs.REASONMISLEADINGOTHER,
}, },
], ],
}, },
ruleBreaking: { ruleBreaking: {
key: 'ruleBreaking', key: 'ruleBreaking',
title: _(msg`Breaking Network Rules`), title: _(msg`Breaking network rules`),
description: _(msg`Hacking, stolen content, or prohibited sales`), description: _(msg`Hacking, stolen content, or prohibited sales`),
sort: 6, sort: 6,
options: [ options: [
{ {
title: _(msg`Hacking or System Attacks`), title: _(msg`Hacking or system attacks`),
reason: OzoneReportDefs.REASONRULESITESECURITY, reason: OzoneReportDefs.REASONRULESITESECURITY,
}, },
{ {
title: _(msg`Stolen Content`), title: _(msg`Promoting or selling prohibited items or services`),
reason: OzoneReportDefs.REASONRULESTOLENCONTENT,
},
{
title: _(msg`Promoting or Selling Prohibited Items or Services`),
reason: OzoneReportDefs.REASONRULEPROHIBITEDSALES, reason: OzoneReportDefs.REASONRULEPROHIBITEDSALES,
}, },
{ {
title: _(msg`Banned User Returning`), title: _(msg`Banned user returning`),
reason: OzoneReportDefs.REASONRULEBANEVASION, reason: OzoneReportDefs.REASONRULEBANEVASION,
}, },
{ {
title: _(msg`Other Network Rule-breaking`), title: _(msg`Other network rule-breaking`),
reason: OzoneReportDefs.REASONRULEOTHER, reason: OzoneReportDefs.REASONRULEOTHER,
}, },
], ],
}, },
civicIntegrity: { selfHarm: {
key: 'civicIntegrity', key: 'selfHarm',
title: _(msg`Civic Integrity`), title: _(msg`Self-harm`),
description: _( description: _(msg`Harmful or high-risk activities`),
msg`Electoral interference or political process violations`,
),
sort: 7, sort: 7,
options: [ options: [
{ {
title: _(msg`Electoral Process Violations`), title: _(msg`Content promoting or depicting self-harm`),
reason: OzoneReportDefs.REASONCIVICELECTORALPROCESS, reason: OzoneReportDefs.REASONSELFHARMCONTENT,
}, },
{ {
title: _(msg`Disclosure and Transparency Violations`), title: _(msg`Eating disorders`),
reason: OzoneReportDefs.REASONCIVICDISCLOSURE, reason: OzoneReportDefs.REASONSELFHARMED,
}, },
{ {
title: _(msg`Voter Intimidation or Interference`), title: _(msg`Dangerous challenges or activities`),
reason: OzoneReportDefs.REASONCIVICINTERFERENCE, reason: OzoneReportDefs.REASONSELFHARMSTUNTS,
}, },
{ {
title: _(msg`Election Misinformation`), title: _(msg`Dangerous substances or drug abuse`),
reason: OzoneReportDefs.REASONCIVICMISINFORMATION, reason: OzoneReportDefs.REASONSELFHARMSUBSTANCES,
}, },
{ {
title: _(msg`Impersonation of Electoral Officials or Entities`), title: _(msg`Other dangerous content`),
reason: OzoneReportDefs.REASONCIVICIMPERSONATION, reason: OzoneReportDefs.REASONSELFHARMOTHER,
}, },
], ],
}, },
@@ -276,7 +250,7 @@ export function useReportOptions() {
options: [ options: [
{ {
title: _(msg`Other`), title: _(msg`Other`),
reason: OzoneReportDefs.REASONRULEOTHER, reason: OzoneReportDefs.REASONOTHER,
}, },
], ],
isOther: true, isOther: true,