diff --git a/assets/openapi.json b/assets/openapi.json index c8624a102..09506ade9 100644 Binary files a/assets/openapi.json and b/assets/openapi.json differ diff --git a/assets/temp_report_menu_responses/application.json b/assets/temp_report_menu_responses/application.json new file mode 100644 index 000000000..03af79e97 --- /dev/null +++ b/assets/temp_report_menu_responses/application.json @@ -0,0 +1,1126 @@ +{ + "name": "application", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/application", + "root_node_id": 191, + "success_node_id": 219, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "219": { + "id": 219, + "key": "APPLICATION_SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "deauthorize_app", + "type": "deauthorize_app", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "191": { + "id": 191, + "key": "APPLICATION_WELCOME", + "header": "Report App", + "subheader": "Reports help us keep Spacebar safe - the app developer will not be notified that you reported them.", + "info": null, + "button": { + "type": "next", + "target": 190 + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Learn more about activity that breaks Spacebar’s developer policy.", + "url": "https://google.com", + "link_description": null + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "192": { + "id": 192, + "key": "APP_UNSOLICITED_ACTIONS", + "header": "What kind of unsolicited actions were taken?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This app initiated an unwanted process on my behalf. ", + 193 + ], + [ + "This app made unwanted changes to my account.", + 194 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "190": { + "id": 190, + "key": "APPLICATION_SELECT_REPORT_TYPE", + "header": "Please select the option that best describes the problem", + "subheader": null, + "info": null, + "button": null, + "elements": [ + { + "name": "app_report_illegal_activity_dsa", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Report Illegal App Activity under DSA.", + "url": "https://spacebar.chat/empty/whole-app-report-illegal-activity-dsa", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "This app contains content that makes it ineligible to be listed or discoverable in the App Directory.", + "url": "https://spacebar.chat/empty/app-directory-age-restricted-content", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Something else", + "url": "https://spacebar.chat/empty/whole-app-report-other-multiple", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + } + ], + "report_type": null, + "children": [ + [ + "This app is violating the Community Guidelines.", + 210 + ], + [ + "This app is collecting, soliciting or deceiving users into providing passwords or other credentials.", + 203 + ], + [ + "Impersonating other apps, Spacebar or Spacebar services", + 200 + ], + [ + "This app is sending targeted advertising.", + 199 + ], + [ + "This app is sending spam.", + 195 + ], + [ + "This app took unsolicited actions on my account or server.", + 192 + ], + [ + "This app is directed to people who are too young to use Spacebar", + 209 + ], + [ + "This app is misrepresenting or fraudulently manipulating engagement.", + 198 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "198": { + "id": 198, + "key": "APP_INAUTHENTIC_ENGAGEMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_inauthentic_engagement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "199": { + "id": 199, + "key": "APP_ADVERTISING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_advertising", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "203": { + "id": 203, + "key": "APP_TOKEN_SOLICITATION", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_token_solicitation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "209": { + "id": 209, + "key": "APP_DIRECTED_TO_UNDER_13", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_directed_to_under_13", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "193": { + "id": 193, + "key": "APP_UNSOLICITED_PROCESS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_unsolicited_process", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "194": { + "id": 194, + "key": "APP_UNSOLICITED_ACCOUNT_CHANGES", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_unsolicited_account_changes", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "195": { + "id": 195, + "key": "APP_SENDING_SPAM", + "header": "What kind of spam is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This app sends unsolicited messages or actions.", + 196 + ], + [ + "This app made unwanted changes to my account.", + 197 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "196": { + "id": 196, + "key": "APP_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "197": { + "id": 197, + "key": "APP_SPAM_ANNOYING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_spam_annoying", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "200": { + "id": 200, + "key": "APP_IMPERSONATION", + "header": "What kind of spam is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This app is impersonating Spacebar, Spacebar services.", + 201 + ], + [ + "This app is impersonating other apps.", + 202 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "201": { + "id": 201, + "key": "APP_IMPERSONATION_DISCORD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_impersonation_discord", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "202": { + "id": 202, + "key": "APP_IMPERSONATION_THIRD_PARTY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_impersonation_third_party", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "210": { + "id": 210, + "key": "APP_GUIDELINES", + "header": "What community guidelines is this app violating?", + "subheader": null, + "info": null, + "button": null, + "elements": [ + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "This app is for the purpose of soliciting, sharing or distributing child sexual abuse material.", + "url": "https://spacebar.chat/empty/whole-app-CSAM-report", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + } + ], + "report_type": null, + "children": [ + [ + "This app is for the purpose of distributing or creating non-consensual pornography.", + 211 + ], + [ + "This app is for the purpose of sharing, distributing or creating gore.", + 212 + ], + [ + "This app is for the purpose of sharing misinformation.", + 213 + ], + [ + "This app is for the purpose of violent extremism.", + 214 + ], + [ + "This app is for the purpose of distributing adult content to users under the age of 18 or without age-restricted labels.", + 215 + ], + [ + "This app is for the purpose of hateful conduct or hate speech.", + 216 + ], + [ + "This app is for the purpose of harassment, nuking, and/or doxxing.", + 217 + ], + [ + "This app is for the purpose of coordinating or executing scams or fraud.", + 218 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "211": { + "id": 211, + "key": "APP_GUIDELINES_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "212": { + "id": 212, + "key": "APP_GUIDELINES_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "213": { + "id": 213, + "key": "APP_GUIDELINES_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_misinfo", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "214": { + "id": 214, + "key": "APP_GUIDELINES_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "215": { + "id": 215, + "key": "APP_GUIDELINES_AGE_RESTRICTED", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_age_restricted", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "216": { + "id": 216, + "key": "APP_GUIDELINES_HATE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_hate", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "217": { + "id": 217, + "key": "APP_GUIDELINES_HARRASMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "218": { + "id": 218, + "key": "APP_GUIDELINES_FRAUD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_app_CG_fraud", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/first_dm.json b/assets/temp_report_menu_responses/first_dm.json new file mode 100644 index 000000000..257ea150c --- /dev/null +++ b/assets/temp_report_menu_responses/first_dm.json @@ -0,0 +1,183 @@ +{ + "name": "first_dm", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/first_dm", + "root_node_id": 99, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "99": { + "id": 99, + "key": "MESSAGE_SPAM_PREVIEW", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/guild.json b/assets/temp_report_menu_responses/guild.json new file mode 100644 index 000000000..6b90f00d6 --- /dev/null +++ b/assets/temp_report_menu_responses/guild.json @@ -0,0 +1,1184 @@ +{ + "name": "guild", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/guild", + "root_node_id": 4, + "success_node_id": 69, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "69": { + "id": 69, + "key": "GUILD_SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "leave_guild", + "type": "leave_guild", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "3": { + "id": 3, + "key": "GUILD_SELECT_ELEMENTS", + "header": "Where is this happening?", + "subheader": "Select the elements that you want to report in this server.", + "info": null, + "button": { + "type": "next", + "target": 2 + }, + "elements": [ + { + "name": "guild_select", + "type": "checkbox", + "data": [ + [ + "name", + "Server Name", + "The server's name" + ], + [ + "icon", + "Icon", + "The server's icon" + ], + [ + "banner", + "Banner", + "The server's banner" + ], + [ + "invite_splash", + "Invite Splash", + "The splash image on the server's invite page" + ], + [ + "discovery_splash", + "Discovery Splash", + "The splash image on the server's discovery page" + ], + [ + "welcome_screen_description", + "Welcome Screen Description", + "The description on the server's welcome screen" + ], + [ + "channel_names", + "Channel Names", + "The names of the channels in the server" + ], + [ + "other", + "Other", + "Something else about the server" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": true, + "is_auto_submit": false + }, + "4": { + "id": 4, + "key": "GUILD_WELCOME_V2", + "header": "Report Server", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire! The server owner and moderators will not be notified of your report.", + "info": null, + "button": { + "type": "next", + "target": 3 + }, + "elements": [ + { + "name": "guild_preview", + "type": "guild_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Learn more about content that breaks Spacebar's rules", + "url": "https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md", + "link_description": null + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "2": { + "id": 2, + "key": "GUILD_SELECT_REPORT_TYPE", + "header": "What's happening?", + "subheader": "Please select the option that best describes the problem.", + "info": null, + "button": null, + "elements": [ + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Report illegal content under the Digital Services Act", + "url": "https://spacebar.chat/empty/report", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Promoting or encouraging spam", + 98 + ], + [ + "Abuse or harassment", + 76 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 86 + ], + [ + "Something else", + 80 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Using rude, vulgar, or offensive language", + 104 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "They are saying bad things about me or someone I know", + 101 + ], + [ + "Spreading fake news or harmful conspiracy theories", + 220 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "220": { + "id": 220, + "key": "GUILD_PUBLIC_MISLEADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_public_misleading", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "82": { + "id": 82, + "key": "SERVER_NSFW_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_nsfw", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "86": { + "id": 86, + "key": "NSFW_UNWANTED", + "header": "What kind of content is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": "sub_general_nsfw", + "children": [ + [ + "Server displays sexual content outside NSFW channels", + 82 + ], + [ + "Server allows gore, animal cruelty, or violent shock content", + 108 + ], + [ + "Server allows degrading adult pornography", + 110 + ], + [ + "Server promotes revenge porn", + 111 + ], + [ + "Server promotes sexual content or behavior involving minors", + 88 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "108": { + "id": 108, + "key": "MESSAGE_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "110": { + "id": 110, + "key": "MESSAGE_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "111": { + "id": 111, + "key": "MESSAGE_REVENGE_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "88": { + "id": 88, + "key": "NSFW_MINOR", + "header": "What kind of content or behavior is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustrations that sexualize minors, such as lolicon, shotacon, or cub", + 112 + ], + [ + "Minors posting or sending sexual messages", + 115 + ], + [ + "Photos or videos depicting real world child sexual abuse", + 116 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "112": { + "id": 112, + "key": "MESSAGE_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "116": { + "id": 116, + "key": "MESSAGE_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "115": { + "id": 115, + "key": "MESSAGE_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "80": { + "id": 80, + "key": "SOMETHING_ELSE", + "header": "How can we help?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Promoting self-harm, suicide, or eating disorders", + 162 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ], + [ + "Distributing stolen accounts or credit cards", + 123 + ], + [ + "Selling drugs or other illegal goods", + 124 + ], + [ + "Hacks, cheats, phishing or malicious links", + 126 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "128": { + "id": 128, + "key": "MESSAGE_SELF_HARM_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "123": { + "id": 123, + "key": "MESSAGE_ATO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "124": { + "id": 124, + "key": "MESSAGE_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "126": { + "id": 126, + "key": "MESSAGE_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "162": { + "id": 162, + "key": "SELF_HARM_INTERSTITIAL_SERVER", + "header": "Get Help Now", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "next", + "target": 85 + }, + "elements": [ + { + "name": "self_harm_help", + "type": "text_line_resource", + "data": { + "is_localized": false, + "header": "some_text", + "body": "some_body_text", + "sms": "insert_number_here", + "sms_body": null + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": false + }, + { + "name": "text", + "type": "text", + "data": { + "is_localized": true, + "header": "Need extra support?", + "body": "Visit ThroughLine Care's vetted directory of global helplines for free and confidential support in your country." + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": true, + "body": "Visit ThroughLine Care's vetted directory of global helplines for free and confidential support in your country.", + "header": "Need extra support?", + "exclusions": [ + "US" + ] + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "ThroughLine", + "url": "https://discord.findahelpline.com/", + "link_description": "Find a helpline near you", + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "85": { + "id": 85, + "key": "SERVER_SELF_HARM", + "header": "How does it promote self-harm?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Promoting self-harm", + 128 + ], + [ + "Promoting suicide", + 129 + ], + [ + "Promoting eating disorders", + 130 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "93": { + "id": 93, + "key": "SELF_HARM", + "header": "How is this person talking about self-harm?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "129": { + "id": 129, + "key": "MESSAGE_SUICIDE_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_suicide_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "130": { + "id": 130, + "key": "MESSAGE_EATING_DISORDER_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_eating_disorder_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "104": { + "id": 104, + "key": "GUILD_VULGAR_LANG_SIGNAL_ONLY", + "header": "Thank you", + "subheader": "Thank you for letting Spacebar know about this issue. Your feedback helps keep Spacebar safe.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "leave_guild", + "type": "leave_guild", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": true + } + } +} diff --git a/assets/temp_report_menu_responses/guild_directory_entry.json b/assets/temp_report_menu_responses/guild_directory_entry.json new file mode 100644 index 000000000..a33be6158 --- /dev/null +++ b/assets/temp_report_menu_responses/guild_directory_entry.json @@ -0,0 +1,1128 @@ +{ + "name": "guild_directory_entry", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/guild_directory_entry", + "root_node_id": 6, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "6": { + "id": 6, + "key": "GUILD_DIRECTORY_ENTRY_WELCOME", + "header": "Report Server", + "subheader": "Is this a server dedicated to content that breaks our [Community Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md)? Please choose the issue to report to Spacebar Trust & Safety.", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "guild_directory_entry_preview", + "type": "guild_directory_entry_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Promoting or encouraging spam", + 98 + ], + [ + "Abuse or harassment", + 76 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 86 + ], + [ + "Something else", + 80 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Using rude, vulgar, or offensive language", + 102 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Cyberbullying or targeted harassment", + 101 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "102": { + "id": 102, + "key": "MESSAGE_VULGAR_LANG", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "They are saying bad things about me or someone I know", + 101 + ], + [ + "Spreading fake news or harmful conspiracy theories", + 131 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "131": { + "id": 131, + "key": "MESSAGE_HARMFUL_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hateful_misinformation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "82": { + "id": 82, + "key": "SERVER_NSFW_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_nsfw", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "86": { + "id": 86, + "key": "NSFW_UNWANTED", + "header": "What kind of content is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": "sub_general_nsfw", + "children": [ + [ + "Server displays sexual content outside NSFW channels", + 83 + ], + [ + "Server allows gore, animal cruelty, or violent shock content", + 108 + ], + [ + "Server allows degrading adult pornography", + 110 + ], + [ + "Server promotes revenge porn", + 111 + ], + [ + "Server promotes sexual content or behavior involving minors", + 88 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "83": { + "id": 83, + "key": "SERVER_NSFW_LEAKING", + "header": "Where is this content located?", + "subheader": null, + "info": null, + "button": { + "type": "next", + "target": 82 + }, + "elements": [ + { + "name": "nsfw_location_select", + "type": "checkbox", + "data": [ + [ + "server_emoji", + "Server Emoji" + ], + [ + "server_icon", + "Server Icon" + ], + [ + "server_banner", + "Server banner" + ], + [ + "server_join", + "Join Server invitation banner" + ], + [ + "server_channels", + "In channels that are not marked NSFW" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "108": { + "id": 108, + "key": "MESSAGE_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "110": { + "id": 110, + "key": "MESSAGE_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "111": { + "id": 111, + "key": "MESSAGE_REVENGE_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "88": { + "id": 88, + "key": "NSFW_MINOR", + "header": "What kind of content or behavior is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustrations that sexualize minors, such as lolicon, shotacon, or cub", + 112 + ], + [ + "Minors posting or sending sexual messages", + 115 + ], + [ + "Photos or videos depicting real world child sexual abuse", + 116 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "112": { + "id": 112, + "key": "MESSAGE_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "116": { + "id": 116, + "key": "MESSAGE_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "115": { + "id": 115, + "key": "MESSAGE_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "80": { + "id": 80, + "key": "SOMETHING_ELSE", + "header": "How can we help?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Self harm or endangering behavior", + 158 + ], + [ + "Impersonation, scam, or fraud", + 120 + ], + [ + "Distributing stolen accounts or credit cards", + 123 + ], + [ + "Selling drugs or other illegal goods", + 124 + ], + [ + "Hacks, cheats, phishing or malicious links", + 126 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "158": { + "id": 158, + "key": "STAGE_SELF_HARM_GENERAL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "120": { + "id": 120, + "key": "MESSAGE_FRAUD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_social_engineering", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "123": { + "id": 123, + "key": "MESSAGE_ATO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "124": { + "id": 124, + "key": "MESSAGE_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "126": { + "id": 126, + "key": "MESSAGE_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/guild_discovery.json b/assets/temp_report_menu_responses/guild_discovery.json new file mode 100644 index 000000000..8902703a6 --- /dev/null +++ b/assets/temp_report_menu_responses/guild_discovery.json @@ -0,0 +1,1307 @@ +{ + "name": "guild_discovery", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/guild_discovery", + "root_node_id": 5, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "5": { + "id": 5, + "key": "GUILD_DISCOVERY_WELCOME", + "header": "Report Server", + "subheader": "Is this a server dedicated to content that breaks our [Community Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md) or [Discovery Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md)? Please choose the issue to report this server to Spacebar Trust & Safety.", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "guild_discovery_preview", + "type": "guild_discovery_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Report illegal content under the Digital Services Act", + "url": "https://spacebar.chat/empty/report", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Promoting or encouraging spam", + 98 + ], + [ + "Allowing abuse or harassment", + 76 + ], + [ + "Explicit, graphic, or sexual content", + 87 + ], + [ + "Misleading or vulgar name/description", + 96 + ], + [ + "Something else", + 81 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Using rude, vulgar, or offensive language", + 102 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Cyberbullying or targeted harassment", + 101 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "102": { + "id": 102, + "key": "MESSAGE_VULGAR_LANG", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "87": { + "id": 87, + "key": "NSFW_CONTENT", + "header": "Please tell us more about this issue.", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Server displays sexual content", + 84 + ], + [ + "Server allows gore, animal cruelty, or violent shock content", + 108 + ], + [ + "Server allows degrading adult pornography", + 110 + ], + [ + "Server promotes revenge porn", + 111 + ], + [ + "Server promotes sexual content or behavior involving minors", + 88 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "84": { + "id": 84, + "key": "SERVER_DISCOVERY_NSFW", + "header": "Where is this content located?", + "subheader": null, + "info": null, + "button": { + "type": "next", + "target": 17 + }, + "elements": [ + { + "name": "discovery_nsfw_location_select", + "type": "checkbox", + "data": [ + [ + "server_emoji", + "Server Emoji" + ], + [ + "server_icon", + "Server Icon" + ], + [ + "server_banner", + "Server banner" + ], + [ + "server_name", + "Server name" + ], + [ + "server_description", + "Server description" + ], + [ + "server_join", + "Join Server invitation banner" + ], + [ + "server_channel", + "In a channel" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "108": { + "id": 108, + "key": "MESSAGE_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "110": { + "id": 110, + "key": "MESSAGE_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "111": { + "id": 111, + "key": "MESSAGE_REVENGE_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "88": { + "id": 88, + "key": "NSFW_MINOR", + "header": "What kind of content or behavior is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustrations that sexualize minors, such as lolicon, shotacon, or cub", + 112 + ], + [ + "Minors posting or sending sexual messages", + 115 + ], + [ + "Photos or videos depicting real world child sexual abuse", + 116 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "112": { + "id": 112, + "key": "MESSAGE_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "115": { + "id": 115, + "key": "MESSAGE_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "116": { + "id": 116, + "key": "MESSAGE_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "96": { + "id": 96, + "key": "VULGAR_NAME_DESCRIPTION", + "header": "Please tell us more about this issue.", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Name or description contains rude, vulgar or offensive language", + 106 + ], + [ + "Name or description is misleading about the server's purpose", + 105 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "106": { + "id": 106, + "key": "NAME_DESCRIPTION_PUBLIC_PROFANITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_public_profanity", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "105": { + "id": 105, + "key": "NAME_DESCRIPTION_MISLEADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_public_misleading", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "81": { + "id": 81, + "key": "SOMETHING_ELSE_CONTENT_PROMOTION", + "header": "What kind of content does this server promote?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Self harm or endangering behavior", + 158 + ], + [ + "Scams, impersonations, or fraud", + 122 + ], + [ + "Distributing stolen accounts or credit cards", + 123 + ], + [ + "Selling drugs or other controlled substances", + 124 + ], + [ + "Selling or use of regulated goods like guns or alcohol", + 125 + ], + [ + "Hacks, cheats, phishing or malicious links", + 126 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "158": { + "id": 158, + "key": "STAGE_SELF_HARM_GENERAL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "122": { + "id": 122, + "key": "MESSAGE_SCAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_scam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "123": { + "id": 123, + "key": "MESSAGE_ATO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "124": { + "id": 124, + "key": "MESSAGE_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "125": { + "id": 125, + "key": "MESSAGE_REGULATED_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_public_regulated_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "126": { + "id": 126, + "key": "MESSAGE_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "They are saying bad things about me or someone I know", + 101 + ], + [ + "Spreading fake news or harmful conspiracy theories", + 131 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "131": { + "id": 131, + "key": "MESSAGE_HARMFUL_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hateful_misinformation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "82": { + "id": 82, + "key": "SERVER_NSFW_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_nsfw", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/guild_scheduled_event.json b/assets/temp_report_menu_responses/guild_scheduled_event.json new file mode 100644 index 000000000..74b77a089 --- /dev/null +++ b/assets/temp_report_menu_responses/guild_scheduled_event.json @@ -0,0 +1,1509 @@ +{ + "name": "guild_scheduled_event", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/guild_scheduled_event", + "root_node_id": 10, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "10": { + "id": 10, + "key": "GUILD_SCHEDULED_EVENT_WELCOME", + "header": "Report Event", + "subheader": "Is this an event dedicated to content that breaks our [Community Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md)? Please choose the issue to report the event to Spacebar Trust & Safety.", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "guild_scheduled_event_preview", + "type": "guild_scheduled_event_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Promoting or encouraging spam", + 98 + ], + [ + "Encouraging harassment or offensive topic", + 76 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 86 + ], + [ + "Exposing private identifying information", + 79 + ], + [ + "Something else", + 80 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Using rude, vulgar, or offensive language", + 102 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Cyberbullying or targeted harassment", + 101 + ], + [ + "Threatening violence or real world harm", + 90 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "102": { + "id": 102, + "key": "MESSAGE_VULGAR_LANG", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "86": { + "id": 86, + "key": "NSFW_UNWANTED", + "header": "What kind of content is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": "sub_general_nsfw", + "children": [ + [ + "Sexual content outside of age-restricted spaces", + 109 + ], + [ + "Gore, animal cruelty, or violent shock content", + 108 + ], + [ + "Degrading adult pornography", + 110 + ], + [ + "Revenge pornography or a threat to share it", + 111 + ], + [ + "Sexual content or behavior involving minors", + 89 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "108": { + "id": 108, + "key": "MESSAGE_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "109": { + "id": 109, + "key": "MESSAGE_NSFW_UNWANTED", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_unsolicited_porn", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "110": { + "id": 110, + "key": "MESSAGE_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "111": { + "id": 111, + "key": "MESSAGE_REVENGE_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "89": { + "id": 89, + "key": "NSFW_MINOR_EVENT", + "header": "What content does this event promote?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustrations that sexualize minors, such as lolicon, shotacon, or cub", + 112 + ], + [ + "Minors posting or sending sexual messages", + 115 + ], + [ + "Photos or videos depicting real world child sexual abuse", + 116 + ], + [ + "Discussing minors in a sexual way", + 113 + ], + [ + "Suggestive or sexual messages to minors", + 114 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "112": { + "id": 112, + "key": "MESSAGE_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "113": { + "id": 113, + "key": "MESSAGE_SEXUALIZING_MINOR", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_scrm_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "114": { + "id": 114, + "key": "MESSAGE_ICWM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "115": { + "id": 115, + "key": "MESSAGE_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "116": { + "id": 116, + "key": "MESSAGE_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "90": { + "id": 90, + "key": "THREAT_IRL", + "header": "What kind of threat is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "A threat to physically hurt me or someone else", + 117 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ], + [ + "Announcing or planning a group act of violence", + 119 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "117": { + "id": 117, + "key": "MESSAGE_THREAT_IRL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "threatening_behavior", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "119": { + "id": 119, + "key": "MESSAGE_EXTREMISM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_extremism", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "79": { + "id": 79, + "key": "SHARING_PII", + "header": "What information was posted without consent?", + "subheader": "Select all that apply.", + "info": null, + "button": { + "type": "next", + "target": 17 + }, + "elements": [ + { + "name": "pii_select", + "type": "checkbox", + "data": [ + [ + "face_pic", + "Face pic" + ], + [ + "revenge_porn", + "Private, intimate photo" + ], + [ + "ip_address", + "IP address" + ], + [ + "legal_name", + "Legal name" + ], + [ + "credit_info", + "Credit card information" + ], + [ + "email_address", + "Email address" + ], + [ + "phone_info", + "Phone number" + ], + [ + "physical_address", + "Physical home or work address" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "80": { + "id": 80, + "key": "SOMETHING_ELSE", + "header": "How can we help?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This person is too young to use Spacebar", + 92 + ], + [ + "Self harm or endangering behavior", + 93 + ], + [ + "Impersonation, scams, or fraud", + 120 + ], + [ + "Distributing stolen accounts or credit cards", + 123 + ], + [ + "Selling drugs or other illegal goods", + 124 + ], + [ + "Hacks, cheats, phishing or malicious links", + 126 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "120": { + "id": 120, + "key": "MESSAGE_FRAUD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_social_engineering", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "123": { + "id": 123, + "key": "MESSAGE_ATO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "124": { + "id": 124, + "key": "MESSAGE_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "126": { + "id": 126, + "key": "MESSAGE_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "92": { + "id": 92, + "key": "UNDERAGE_USER_EVENT", + "header": "Does this person state their age in this message?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Yes, they state their age in the event description or title", + 127 + ], + [ + "No, they don’t state their age in the event description or title", + 75 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "127": { + "id": 127, + "key": "MESSAGE_UNDERAGE_CONFIRM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_coppa", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "75": { + "id": 75, + "key": "UNDERAGE_NEEDS_MORE_INFO", + "header": "We need more information.", + "subheader": "Please find and report the message where this person states their age or indicates in some way that they are too young to use Spacebar.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "93": { + "id": 93, + "key": "SELF_HARM", + "header": "How is this person talking about self-harm?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "I’m worried they are planning to self harm", + 132 + ], + [ + "They are encouraging others to self harm", + 128 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "132": { + "id": 132, + "key": "MESSAGE_SELF_HARM_RISK", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_threat", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "128": { + "id": 128, + "key": "MESSAGE_SELF_HARM_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ], + [ + "Coordinating acts of violent extremism", + 119 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Someone is spreading lies or bad things about me or someone I know", + 101 + ], + [ + "Spreading harmful health misinformation, harmful conspiracy theories, or denial of mass human atrocities", + 131 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "131": { + "id": 131, + "key": "MESSAGE_HARMFUL_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hateful_misinformation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/message.json b/assets/temp_report_menu_responses/message.json new file mode 100644 index 000000000..a2de4ed9d --- /dev/null +++ b/assets/temp_report_menu_responses/message.json @@ -0,0 +1,1909 @@ +{ + "name": "message", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/message", + "root_node_id": 7, + "success_node_id": 71, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "7": { + "id": 7, + "key": "MESSAGE_WELCOME", + "header": "Report Message", + "subheader": "Please select the option that best describes the problem.", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Report illegal content under the Digital Services Act", + "url": "https://spacebar.chat/empty/report", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "I don't like it", + 97 + ], + [ + "Spam", + 98 + ], + [ + "Abuse or harassment", + 76 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ], + [ + "Exposing private identifying information", + 79 + ], + [ + "Something else", + 80 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Verbally harassing me or someone else", + 101 + ], + [ + "Using rude, vulgar, or offensive language", + 103 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 86 + ], + [ + "Threatening violence or real world harm", + 90 + ], + [ + "Content targeting or involving a minor", + 88 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "86": { + "id": 86, + "key": "NSFW_UNWANTED", + "header": "What kind of content is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": "sub_general_nsfw", + "children": [ + [ + "Gore, animal cruelty, or violent shock content", + 108 + ], + [ + "Unwanted adult sexual images", + 109 + ], + [ + "Degrading adult pornography", + 110 + ], + [ + "Revenge porn or a threat to share it", + 111 + ], + [ + "Sexual content or behavior involving a minor", + 88 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "108": { + "id": 108, + "key": "MESSAGE_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "109": { + "id": 109, + "key": "MESSAGE_NSFW_UNWANTED", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_unsolicited_porn", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "110": { + "id": 110, + "key": "MESSAGE_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "111": { + "id": 111, + "key": "MESSAGE_REVENGE_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "88": { + "id": 88, + "key": "NSFW_MINOR", + "header": "What kind of content or behavior is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustration that sexualizes minors, such as lolicon, shotacon, or cub", + 112 + ], + [ + "This person is talking about minors in a sexual way", + 113 + ], + [ + "This person is sending suggestive or sexual messages to a minor", + 114 + ], + [ + "A minor is posting or sending sexual messages", + 115 + ], + [ + "Photos or videos depicting real world child sexual abuse", + 116 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "112": { + "id": 112, + "key": "MESSAGE_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "113": { + "id": 113, + "key": "MESSAGE_SEXUALIZING_MINOR", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_scrm_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "114": { + "id": 114, + "key": "MESSAGE_ICWM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "115": { + "id": 115, + "key": "MESSAGE_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "116": { + "id": 116, + "key": "MESSAGE_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "90": { + "id": 90, + "key": "THREAT_IRL", + "header": "What kind of threat is it?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "A threat to physically hurt me or someone else", + 117 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "117": { + "id": 117, + "key": "MESSAGE_THREAT_IRL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "threatening_behavior", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "79": { + "id": 79, + "key": "SHARING_PII", + "header": "What information was posted without consent?", + "subheader": "Select all that apply.", + "info": null, + "button": { + "type": "next", + "target": 17 + }, + "elements": [ + { + "name": "pii_select", + "type": "checkbox", + "data": [ + [ + "face_pic", + "Face pic" + ], + [ + "revenge_porn", + "Private, intimate photo" + ], + [ + "ip_address", + "IP address" + ], + [ + "legal_name", + "Legal name" + ], + [ + "credit_info", + "Credit card information" + ], + [ + "email_address", + "Email address" + ], + [ + "phone_info", + "Phone number" + ], + [ + "physical_address", + "Physical home or work address" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "80": { + "id": 80, + "key": "SOMETHING_ELSE", + "header": "How can we help?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This person is too young to use Spacebar", + 91 + ], + [ + "It mentions self-harm, suicide, or eating disorders", + 160 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ], + [ + "Impersonation, scam, or fraud", + 121 + ], + [ + "Distributing stolen accounts or credit cards", + 123 + ], + [ + "Selling drugs or other illegal goods", + 124 + ], + [ + "Hacks, cheats, phishing or malicious links", + 126 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "123": { + "id": 123, + "key": "MESSAGE_ATO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "124": { + "id": 124, + "key": "MESSAGE_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "126": { + "id": 126, + "key": "MESSAGE_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "91": { + "id": 91, + "key": "UNDERAGE_USER", + "header": "Do they state their age in this message?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Yes, they state their age in this message", + 127 + ], + [ + "No, they don’t state their age in this message", + 75 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "127": { + "id": 127, + "key": "MESSAGE_UNDERAGE_CONFIRM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_coppa", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "75": { + "id": 75, + "key": "UNDERAGE_NEEDS_MORE_INFO", + "header": "We need more information.", + "subheader": "Please find and report the message where this person states their age or indicates in some way that they are too young to use Spacebar.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "93": { + "id": 93, + "key": "SELF_HARM", + "header": "How is this person talking about self-harm?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "I’m worried they are planning to self harm", + 132 + ], + [ + "Promoting self-harm", + 128 + ], + [ + "I’m worried they are considering suicide", + 133 + ], + [ + "Promoting suicide", + 129 + ], + [ + "Promoting eating disorders", + 130 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "132": { + "id": 132, + "key": "MESSAGE_SELF_HARM_RISK", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_threat", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "128": { + "id": 128, + "key": "MESSAGE_SELF_HARM_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "They are saying bad things about me or someone I know", + 101 + ], + [ + "Spreading fake news or harmful conspiracy theories", + 131 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "131": { + "id": 131, + "key": "MESSAGE_HARMFUL_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hateful_misinformation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "160": { + "id": 160, + "key": "SELF_HARM_INTERSTITIAL", + "header": "Get Help Now", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "next", + "target": 93 + }, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "121": { + "id": 121, + "key": "MESSAGE_FRAUD", + "header": "What kind of impersonation or scam is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Impersonating an employee or support agent", + 166 + ], + [ + "Impersonating me or someone I know", + 163 + ], + [ + "Impersonating a celebrity or public figure ", + 164 + ], + [ + "Impersonating a business or organization", + 165 + ], + [ + "Scamming or defrauding", + 167 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "163": { + "id": 163, + "key": "MESSAGE_IMPERSONATE_USER", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_user_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "164": { + "id": 164, + "key": "MESSAGE_IMPERSONATE_PUBLIC_FIGURE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_impersonating_public_figure", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "165": { + "id": 165, + "key": "MESSAGE_IMPERSONATE_COMPANY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_employee_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "166": { + "id": 166, + "key": "MESSAGE_IMPERSONATE_DISCORD_EMPLOYEE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_employee_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "167": { + "id": 167, + "key": "MESSAGE_SCAM_SOCIAL_ENGINEERING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_social_engineering", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "97": { + "id": 97, + "key": "MESSAGE_DISLIKE", + "header": "Thank you", + "subheader": "Thank you for letting Spacebar know about this issue. Your feedback helps keep Spacebar safe.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "mute_users", + "type": "mute_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_dont_like", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": true + }, + "71": { + "id": 71, + "key": "SETTINGS_UPSELLS_SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "settings_upsells", + "type": "settings_upsells", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "133": { + "id": 133, + "key": "MESSAGE_SUICIDE_RISK", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_suicide_threat", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "129": { + "id": 129, + "key": "MESSAGE_SUICIDE_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_suicide_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "130": { + "id": 130, + "key": "MESSAGE_EATING_DISORDER_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_eating_disorder_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "103": { + "id": 103, + "key": "MESSAGE_VULGAR_LANG_SIGNAL_ONLY", + "header": "Thank you", + "subheader": "Thank you for letting Spacebar know about this issue. Your feedback helps keep Spacebar safe.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "mute_users", + "type": "mute_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": true + } + } +} diff --git a/assets/temp_report_menu_responses/stage_channel.json b/assets/temp_report_menu_responses/stage_channel.json new file mode 100644 index 000000000..5e75481ce --- /dev/null +++ b/assets/temp_report_menu_responses/stage_channel.json @@ -0,0 +1,712 @@ +{ + "name": "stage_channel", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/stage_channel", + "root_node_id": 8, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "8": { + "id": 8, + "key": "STAGE_CHANNEL_WELCOME", + "header": "Report Stage Channel", + "subheader": "Is this a stage channel dedicated to content that breaks our [Community Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md)? Please choose the issue to report to Spacebar Trust & Safety.", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "channel_preview", + "type": "channel_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Promoting or encouraging spam", + 98 + ], + [ + "Verbal harassment or offensive topic", + 76 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 86 + ], + [ + "Something else", + 80 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "98": { + "id": 98, + "key": "MESSAGE_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "76": { + "id": 76, + "key": "ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Using rude, vulgar, or offensive language", + 102 + ], + [ + "Promoting hate based on identity or vulnerability", + 107 + ], + [ + "Cyberbullying or targeted harassment", + 101 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "102": { + "id": 102, + "key": "MESSAGE_VULGAR_LANG", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_vulgar_language", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "107": { + "id": 107, + "key": "MESSAGE_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "101": { + "id": 101, + "key": "MESSAGE_VERBAL_HARASSMENT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_harassment", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "86": { + "id": 86, + "key": "NSFW_UNWANTED", + "header": "What kind of content is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": "sub_general_nsfw", + "children": [ + [ + "Sexual content outside of age-restricted spaces", + 159 + ], + [ + "Sexual content or behavior involving minors", + 113 + ], + [ + "Graphic audio intended to upset or traumatize listeners", + 118 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "159": { + "id": 159, + "key": "STAGE_NSFW_LEAKING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_nsfw", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "113": { + "id": 113, + "key": "MESSAGE_SEXUALIZING_MINOR", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_scrm_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "118": { + "id": 118, + "key": "MESSAGE_GLORIFY_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "80": { + "id": 80, + "key": "SOMETHING_ELSE", + "header": "What kind of content does this stage promote?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Self harm or endangering behavior", + 158 + ], + [ + "Impersonation, scam, or fraud", + 120 + ], + [ + "Harmful misinformation or glorifying violence", + 94 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "158": { + "id": 158, + "key": "STAGE_SELF_HARM_GENERAL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "120": { + "id": 120, + "key": "MESSAGE_FRAUD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_social_engineering", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "94": { + "id": 94, + "key": "MISINFO_EXTREMISM", + "header": "What is the issue you’d like to report?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Spreading misinformation or conspiracy theories", + 95 + ], + [ + "Celebrating or glorifying acts of violence", + 118 + ], + [ + "Coordinating acts of violent extremism", + 119 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "119": { + "id": 119, + "key": "MESSAGE_EXTREMISM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_extremism", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "95": { + "id": 95, + "key": "SPREADING_MISINFO", + "header": "What kind of misinformation is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "They are saying bad things about me or someone I know", + 101 + ], + [ + "Spreading fake news or harmful conspiracy theories", + 131 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "131": { + "id": 131, + "key": "MESSAGE_HARMFUL_MISINFO", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hateful_misinformation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/assets/temp_report_menu_responses/user.json b/assets/temp_report_menu_responses/user.json new file mode 100644 index 000000000..84d6a4903 --- /dev/null +++ b/assets/temp_report_menu_responses/user.json @@ -0,0 +1,1588 @@ +{ + "name": "user", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/user", + "root_node_id": 62, + "success_node_id": 68, + "fail_node_id": 74, + "nodes": { + "17": { + "id": 17, + "key": "GENERIC_SUBMIT", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "68": { + "id": 68, + "key": "SUCCESS", + "header": "Report Submitted", + "subheader": "Your report has been successfully submitted.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "25": { + "id": 25, + "key": "USER_SPAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "36": { + "id": 36, + "key": "USER_HATE_IDENTITY", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_racist_or_discriminatory_language_or_imagery", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "41": { + "id": 41, + "key": "USER_LOLI", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_loli", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "42": { + "id": 42, + "key": "USER_SCRM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_general_scrm_icwm", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "43": { + "id": 43, + "key": "USER_ICAAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_icaam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "44": { + "id": 44, + "key": "USER_CSAM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_csam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "47": { + "id": 47, + "key": "USER_IMPERSONATE_INDIVIDUAL", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_user_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "48": { + "id": 48, + "key": "USER_IMPERSONATE_PUBLIC_FIGURE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_impersonating_public_figure", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "49": { + "id": 49, + "key": "USER_IMPERSONATE_BUSINESS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_employee_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "50": { + "id": 50, + "key": "USER_IMPERSONATE_DISCORD_EMPLOYEE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_employee_impersonation", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "51": { + "id": 51, + "key": "USER_SCAM_OR_FRAUD", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_social_engineering", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "54": { + "id": 54, + "key": "USER_ILLICIT_GOODS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_illicit_goods", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "55": { + "id": 55, + "key": "USER_HACKS_CHEATS", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_hacks_cheats_malicious_links", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "59": { + "id": 59, + "key": "SHARING_PII", + "header": "What information is included in the profile without consent?", + "subheader": "Select all that apply.", + "info": null, + "button": { + "type": "next", + "target": 17 + }, + "elements": [ + { + "name": "pii_select", + "type": "checkbox", + "data": [ + [ + "face_pic", + "Face pic" + ], + [ + "revenge_porn", + "Private, intimate photo" + ], + [ + "ip_address", + "IP address" + ], + [ + "legal_name", + "Legal name" + ], + [ + "credit_info", + "Credit card information" + ], + [ + "email_address", + "Email address" + ], + [ + "phone_info", + "Phone number" + ], + [ + "physical_address", + "Physical home or work address" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "75": { + "id": 75, + "key": "UNDERAGE_NEEDS_MORE_INFO", + "header": "We need more information.", + "subheader": "Please find and report the message where this person states their age or indicates in some way that they are too young to use Spacebar.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "56": { + "id": 56, + "key": "USER_UNDERAGE_CONFIRM", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_coppa", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "160": { + "id": 160, + "key": "SELF_HARM_INTERSTITIAL", + "header": "Get Help Now", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "next", + "target": 93 + }, + "elements": [ + { + "name": "skip", + "type": "skip", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "57": { + "id": 57, + "key": "USER_SELF_HARM_RISK", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_threat", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "58": { + "id": 58, + "key": "USER_SELF_HARM_ENCOURAGE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_self_harm_encouragement", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "37": { + "id": 37, + "key": "USER_GORE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_gore", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "39": { + "id": 39, + "key": "USER_NSFW_DEGRADING", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_sexually_degrading_content", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "40": { + "id": 40, + "key": "USER_NCP", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_ncp", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "38": { + "id": 38, + "key": "USER_UNSOLICITED_PORN", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_unsolicited_porn", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "33": { + "id": 33, + "key": "USER_THREAT_IRL", + "header": "What kind of threat is in the user's profile?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "A threat to physically hurt me or someone else", + 45 + ], + [ + "Celebrating or glorifying acts of violence", + 46 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "45": { + "id": 45, + "key": "USER_THREATENING_BEHAVIOR", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "threatening_behavior", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "46": { + "id": 46, + "key": "USER_GLORIFYING_VIOLENCE", + "header": "Report Summary", + "subheader": "Review your report before submitting.", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_glorifying_violence", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "19": { + "id": 19, + "key": "USER_PROFILE_SELECT_REPORT_TYPE", + "header": "What's happening?", + "subheader": "Please select the option that best describes the problem.", + "info": null, + "button": null, + "elements": [ + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Report illegal content under the Digital Services Act", + "url": "https://spacebar.chat/empty/report", + "link_description": null, + "is_header_hidden": true + }, + "should_submit_data": false, + "skip_if_unlocalized": true, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "Spam", + 25 + ], + [ + "Abuse or harassment", + 28 + ], + [ + "Hate speech or glorifying violence", + 29 + ], + [ + "Impersonation, scam, or fraud", + 30 + ], + [ + "Something else", + 31 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "28": { + "id": 28, + "key": "USER_ABUSE_OR_HARASSMENT", + "header": "What kind of abuse or harassment is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Promoting hate based on identity or vulnerability", + 36 + ], + [ + "Explicit, graphic, or unwanted sexual content", + 32 + ], + [ + "Threatening violence or real world harm", + 33 + ], + [ + "Content involving a minor", + 34 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "29": { + "id": 29, + "key": "USER_HATE_SPEECH", + "header": "What kind of content is in the user's profile?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Celebrating or glorifying acts of violence", + 46 + ], + [ + "Promoting hate based on identity or vulnerability", + 36 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "32": { + "id": 32, + "key": "USER_NSFW_UNWANTED", + "header": "What kind of content is in the user's profile?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Gore, animal cruelty, or violent shock content", + 37 + ], + [ + "Unwanted adult sexual images", + 38 + ], + [ + "Degrading adult pornography", + 39 + ], + [ + "Revenge porn or a threat to share it", + 40 + ], + [ + "Sexual content or behavior involving a minor", + 34 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "34": { + "id": 34, + "key": "USER_CONTENT_INVOLVING_MINOR", + "header": "What kind of content is in the user's profile?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Illustration that sexualizes minors, such as lolicon, shotacon, or cub", + 41 + ], + [ + "This person's profile talks about minors in a sexual way", + 42 + ], + [ + "The person is a minor and their profile includes sexual content", + 43 + ], + [ + "Photo or video depicting real world child sexual abuse", + 44 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "30": { + "id": 30, + "key": "USER_IMPERSONATION", + "header": "What kind of impersonation or scam is it?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Impersonating an employee or support agent", + 50 + ], + [ + "Impersonating me or someone I know", + 47 + ], + [ + "Impersonating a celebrity or public figure ", + 48 + ], + [ + "Impersonating a business or organization", + 49 + ], + [ + "Scamming or defrauding", + 51 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "31": { + "id": 31, + "key": "USER_SOMETHING_ELSE", + "header": "How can we help?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "This person is too young to use Spacebar", + 35 + ], + [ + "The profile mentions self-harm or suicide", + 160 + ], + [ + "Distributing stolen accounts or credit cards", + 53 + ], + [ + "Selling drugs or other illegal goods", + 54 + ], + [ + "Hacks, cheats, phishing or malicious links", + 55 + ], + [ + "The profile exposes private identifying information", + 59 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "35": { + "id": 35, + "key": "USER_UNDERAGE_USER", + "header": "Does this person state their age in their profile?", + "subheader": null, + "info": null, + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "Yes, they state their age in their profile", + 56 + ], + [ + "No, they don’t state their age in their profile", + 75 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "93": { + "id": 93, + "key": "SELF_HARM", + "header": "How is this person talking about self-harm?", + "subheader": null, + "info": "If there is immediate danger, contact emergency help as soon as possible.", + "button": null, + "elements": [], + "report_type": null, + "children": [ + [ + "I’m worried they are planning to self harm", + 57 + ], + [ + "They are encouraging others to self harm", + 58 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "22": { + "id": 22, + "key": "USER_PROFILE_SELECT_ELEMENTS_V2", + "header": "What are you reporting?", + "subheader": "Select the elements that you want to report in this user's profile.", + "info": null, + "button": { + "type": "next", + "target": 19 + }, + "elements": [ + { + "name": "user_profile_select", + "type": "checkbox", + "data": [ + [ + "photos", + "Their photo", + "Avatar and/or banner image" + ], + [ + "name", + "Their name", + "Username and/or display name" + ], + [ + "descriptors", + "Their text descriptors", + "About me, status, and/or pronouns" + ], + [ + "server_tag", + "Their server tag", + "Custom tag shown beside username" + ] + ], + "should_submit_data": true, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": true, + "is_auto_submit": false + }, + "62": { + "id": 62, + "key": "USER_WELCOME_V2", + "header": "Report User Profile", + "subheader": "Reports help us keep Spacebar safe - this user will not be notified that you reported them.", + "info": null, + "button": { + "type": "next", + "target": 22 + }, + "elements": [ + { + "name": "user_preview", + "type": "user_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "external_link", + "type": "external_link", + "data": { + "is_localized": true, + "link_text": "Learn more about content that breaks Spacebar's rules", + "url": "https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md", + "link_description": null + }, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": false + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "53": { + "id": 53, + "key": "USER_DIST_ACCOUNTS_SIGNAL_ONLY", + "header": "Thank you", + "subheader": "Thank you for letting Spacebar know about this issue. Your feedback helps keep Spacebar safe.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "ignore_users", + "type": "ignore_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "share_with_parents", + "type": "share_with_parents", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "block_users", + "type": "block_users", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "delete_message", + "type": "delete_message", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_game_cracked_accounts", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": true + } + } +} diff --git a/assets/temp_report_menu_responses/widget.json b/assets/temp_report_menu_responses/widget.json new file mode 100644 index 000000000..c64041ed4 --- /dev/null +++ b/assets/temp_report_menu_responses/widget.json @@ -0,0 +1,299 @@ +{ + "name": "widget", + "variant": "1", + "version": "1.0", + "postback_url": "/api/reporting/widget", + "root_node_id": 18, + "success_node_id": 73, + "fail_node_id": 74, + "nodes": { + "73": { + "id": 73, + "key": "WIDGET_SUCCESS", + "header": "Report submitted", + "subheader": "Thank you for your report. Widgets are an experimental feature, and your report will be used to help us improve this feature. If you believe a user's Widget violates [Spacebar's Community Guidelines](https://github.com/spacebarchat/spacebarchat/blob/master/CODE_OF_CONDUCT.md), please report the User Profile.", + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "success", + "type": "success", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "74": { + "id": 74, + "key": "FAIL", + "header": "There was an error trying to submit this report. This may not yet be implemented?", + "subheader": null, + "info": null, + "button": { + "type": "done", + "target": null + }, + "elements": [ + { + "name": "fail", + "type": "fail", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "18": { + "id": 18, + "key": "WIDGET_WELCOME", + "header": "Report widget", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire!", + "info": null, + "button": { + "type": "cancel", + "target": null + }, + "elements": [ + { + "name": "widget_preview", + "type": "widget_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": null, + "children": [ + [ + "This is annoying", + 222 + ], + [ + "This is spam", + 221 + ], + [ + "This makes me feel unsafe", + 223 + ], + [ + "This is inappropriate", + 224 + ] + ], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "222": { + "id": 222, + "key": "WIDGET_ANNOYING", + "header": "Report widget", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire!", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "widget_preview", + "type": "widget_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_user_annoying_me", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "221": { + "id": 221, + "key": "WIDGET_SPAM", + "header": "Report widget", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire!", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "widget_preview", + "type": "widget_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_spam", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "223": { + "id": 223, + "key": "WIDGET_UNSAFE", + "header": "Report widget", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire!", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "widget_preview", + "type": "widget_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_generic_unsafe", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + }, + "224": { + "id": 224, + "key": "WIDGET_INAPPROPRIATE", + "header": "Report widget", + "subheader": "Reports help us identify problematic content. Remember that abuse may backfire!", + "info": null, + "button": { + "type": "submit", + "target": null + }, + "elements": [ + { + "name": "widget_preview", + "type": "widget_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "message_preview", + "type": "message_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "app_preview", + "type": "app_preview", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + }, + { + "name": "breadcrumbs", + "type": "breadcrumbs", + "data": null, + "should_submit_data": false, + "skip_if_unlocalized": false, + "is_localized": true + } + ], + "report_type": "sub_generic_inappropriate", + "children": [], + "is_multi_select_required": false, + "is_auto_submit": false + } + } +} diff --git a/src/api/routes/reporting/menu.ts b/src/api/routes/reporting/menu.ts index b1ac252e6..3cff08468 100644 --- a/src/api/routes/reporting/menu.ts +++ b/src/api/routes/reporting/menu.ts @@ -19,6 +19,7 @@ import { route } from "@spacebar/api"; import { Request, Response, Router } from "express"; import { ReportMenuTypeNames } from "../../../schemas/api/reports/ReportMenu"; +import path from "path"; const router = Router({ mergeParams: true }); @@ -49,7 +50,7 @@ for (const type of Object.values(ReportMenuTypeNames)) { }, responses: { 200: { - body: "ReportingMenuResponse", + // body: "ReportingMenuResponse", }, 204: {}, }, @@ -57,6 +58,7 @@ for (const type of Object.values(ReportMenuTypeNames)) { (req: Request, res: Response) => { // TODO: implement // res.send([] as ReportingMenuResponseSchema); + res.sendFile(path.join(__dirname, "..", "..", "..", "..", "assets", "temp_report_menu_responses", `${type}.json`)); }, ); } diff --git a/src/schemas/api/reports/ReportMenu.ts b/src/schemas/api/reports/ReportMenu.ts index 3396dd515..0a8f0972f 100644 --- a/src/schemas/api/reports/ReportMenu.ts +++ b/src/schemas/api/reports/ReportMenu.ts @@ -41,3 +41,10 @@ export const ReportMenuTypeNames: Record = { [ReportMenuType.APPLICATION]: "application", [ReportMenuType.WIDGET]: "widget", }; + +export enum ReportButtonType { + SUBMIT = "submit", + DONE = "done", + CANCEL = "cancel", + NEXT = "next", +}