diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-19 14:27:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 14:27:54 -0500 |
commit | b40287e4be8cc9cf38d1b917431ad5e8053160b5 (patch) | |
tree | e8c6df6ac30fde1eeda92a477f5d961c93538400 /src/lib/labeling/const.ts | |
parent | 3cc0fb1d671e8b04c21cbcb811d91a8db7a322b1 (diff) | |
download | voidsky-b40287e4be8cc9cf38d1b917431ad5e8053160b5.tar.zst |
[APP 513] Label tuning (#496)
* Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
Diffstat (limited to 'src/lib/labeling/const.ts')
-rw-r--r-- | src/lib/labeling/const.ts | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/src/lib/labeling/const.ts b/src/lib/labeling/const.ts index 8403fdf1a..f68353222 100644 --- a/src/lib/labeling/const.ts +++ b/src/lib/labeling/const.ts @@ -3,6 +3,8 @@ import {LabelPreferencesModel} from 'state/models/ui/preferences' export interface LabelValGroup { id: keyof LabelPreferencesModel | 'illegal' | 'unknown' title: string + subtitle?: string + warning?: string values: string[] } @@ -24,27 +26,50 @@ export const CONFIGURABLE_LABEL_GROUPS: Record< > = { nsfw: { id: 'nsfw', - title: 'Sexual Content', - values: ['porn', 'nudity', 'sexual'], + title: 'Explicit Sexual Images', + subtitle: 'i.e. Pornography', + warning: 'Sexually Explicit', + values: ['porn'], + }, + nudity: { + id: 'nudity', + title: 'Other Nudity', + subtitle: 'Including non-sexual and artistic', + warning: 'Nudity', + values: ['nudity'], + }, + suggestive: { + id: 'suggestive', + title: 'Sexually Suggestive', + subtitle: 'Does not include nudity', + warning: 'Sexually Suggestive', + values: ['sexual'], }, gore: { id: 'gore', title: 'Violent / Bloody', + subtitle: 'Gore, self-harm, torture', + warning: 'Violence', values: ['gore', 'self-harm', 'torture'], }, hate: { id: 'hate', title: 'Political Hate-Groups', - values: ['icon-kkk', 'icon-nazi', 'icon-confederate'], + warning: 'Hate', + values: ['icon-kkk', 'icon-nazi'], }, spam: { id: 'spam', title: 'Spam', + subtitle: 'Excessive low-quality posts', + warning: 'Spam', values: ['spam'], }, impersonation: { id: 'impersonation', title: 'Impersonation', + subtitle: 'Accounts falsely claiming to be people or orgs', + warning: 'Impersonation', values: ['impersonation'], }, } |