From 0508f13cb63b501f01c30bf9304caad85213884e Mon Sep 17 00:00:00 2001 From: Emma Alexia Date: Mon, 28 Apr 2025 21:18:43 -0400 Subject: [PATCH] Quick moderation fixes (#3556) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Quick moderation fixes * Fix Odyssey mods linking * Add "Copy permanent link" button to orgs, users, projects * Use permanent links for Slack webhooks * Update apps/frontend/src/pages/organization/[id].vue Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Signed-off-by: Emma Alexia * Run Prettier --------- Signed-off-by: Emma Alexia Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Co-authored-by: Alejandro González Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com> --- apps/frontend/src/pages/[type]/[id].vue | 10 ++++++++++ apps/frontend/src/pages/organization/[id].vue | 12 ++++++++++++ apps/frontend/src/pages/user/[id].vue | 10 ++++++++++ apps/labrinth/src/queue/moderation.rs | 10 +++++----- apps/labrinth/src/util/webhook.rs | 10 +++------- packages/ui/src/utils/common-messages.ts | 4 ++++ 6 files changed, 44 insertions(+), 12 deletions(-) diff --git a/apps/frontend/src/pages/[type]/[id].vue b/apps/frontend/src/pages/[type]/[id].vue index f97367cd7..3df2518ba 100644 --- a/apps/frontend/src/pages/[type]/[id].vue +++ b/apps/frontend/src/pages/[type]/[id].vue @@ -638,6 +638,7 @@ shown: !isMember, }, { id: 'copy-id', action: () => copyId() }, + { id: 'copy-permalink', action: () => copyPermalink() }, ]" aria-label="More options" :dropdown-id="`${baseId}-more-options`" @@ -659,6 +660,10 @@