From cb1c8be87023008e7577a51da69d52de738d1367 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:11:11 -0700 Subject: [PATCH] Moderation checklist (#1635) * Moderation checklist * Skip button * Fix modpacks * Fix modpack types not being sent * Fixes * remove explainer * pass auth to analytics --- components/ui/ModerationChecklist.vue | 1035 +++++++++++++++++++++++++ layouts/default.vue | 3 + pages/[type]/[id].vue | 15 +- pages/moderation/review.vue | 24 + 4 files changed, 1073 insertions(+), 4 deletions(-) create mode 100644 components/ui/ModerationChecklist.vue diff --git a/components/ui/ModerationChecklist.vue b/components/ui/ModerationChecklist.vue new file mode 100644 index 000000000..cb9fa8eae --- /dev/null +++ b/components/ui/ModerationChecklist.vue @@ -0,0 +1,1035 @@ + + + + + diff --git a/layouts/default.vue b/layouts/default.vue index a673f8938..89adc1309 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -702,6 +702,9 @@ function runAnalytics() { body: { url: window.location.href, }, + headers: { + Authorization: auth.token, + }, }) .then(() => {}) .catch(() => {}) diff --git a/pages/[type]/[id].vue b/pages/[type]/[id].vue index e4d9ba944..ee63cc937 100644 --- a/pages/[type]/[id].vue +++ b/pages/[type]/[id].vue @@ -415,10 +415,6 @@ :auth="auth" :tags="tags" /> - - {{ project.title }} has been removed from search by Modrinth's moderators. Please use - {{ project.title }} at your own risk. - {{ project.title }} has been archived. {{ project.title }} will not receive any further updates unless the author decides to unarchive the project. @@ -755,6 +751,11 @@ +