From a8f5e25d38493d41b2f64f9abfe9cf754fd15481 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Thu, 31 Aug 2023 17:02:07 -0500 Subject: [PATCH] feat(community): basic "report profile" --- website/client/src/components/header/menu.vue | 3 + .../components/members/reportMemberModal.vue | 149 ++++++++++++++++++ .../src/components/userMenu/profile.vue | 27 +++- website/client/src/store/actions/members.js | 10 ++ website/common/locales/en/generic.json | 6 +- .../libs/chatReporting/profileReporter.js | 5 +- website/server/libs/slack.js | 5 +- 7 files changed, 199 insertions(+), 6 deletions(-) create mode 100644 website/client/src/components/members/reportMemberModal.vue diff --git a/website/client/src/components/header/menu.vue b/website/client/src/components/header/menu.vue index dcc471f41f..4a249b107e 100644 --- a/website/client/src/components/header/menu.vue +++ b/website/client/src/components/header/menu.vue @@ -3,6 +3,7 @@ + + +
+

{{ $t('reportPlayer') }}

+ +
+
+
+ {{ displayName }} +

{{ username }}

+
+
+ {{ $t('whyReportingPlayer') }} + +
+

+

+
+ +
+ + + + + + + diff --git a/website/client/src/components/userMenu/profile.vue b/website/client/src/components/userMenu/profile.vue index d228a5769b..60b6b30515 100644 --- a/website/client/src/components/userMenu/profile.vue +++ b/website/client/src/components/userMenu/profile.vue @@ -58,6 +58,18 @@ v-html="icons.positive" > +