From a3b77bb37f7c031e28064242b99407b809a0f541 Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:32:38 -0800 Subject: [PATCH] Add private mod notes and message deletion (#1494) * Really simply private messages impl * Make private notes better * Add thread message deletion * Lint --- components/ui/report/ReportView.vue | 2 +- components/ui/thread/ConversationThread.vue | 124 ++++++++++++-------- components/ui/thread/ThreadMessage.vue | 68 ++++++++--- components/ui/thread/ThreadSummary.vue | 1 + pages/[type]/[id]/moderation.vue | 2 +- 5 files changed, 127 insertions(+), 70 deletions(-) diff --git a/components/ui/report/ReportView.vue b/components/ui/report/ReportView.vue index 3c6ec16c..b1e7fda4 100644 --- a/components/ui/report/ReportView.vue +++ b/components/ui/report/ReportView.vue @@ -14,8 +14,8 @@ diff --git a/components/ui/thread/ConversationThread.vue b/components/ui/thread/ConversationThread.vue index 070956a4..d1a7b319 100644 --- a/components/ui/thread/ConversationThread.vue +++ b/components/ui/thread/ConversationThread.vue @@ -44,7 +44,9 @@ :message="message" :members="members" :report="report" + :auth="auth" raised + @update-thread="() => updateThreadLocal()" /> @@ -61,20 +63,23 @@
- +
@@ -168,7 +193,7 @@