From 82a51d49a0d9a2758ce97b169d82147e5a26318d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 24 Sep 2023 15:10:56 +0900 Subject: [PATCH] improve moderation log --- packages/frontend/package.json | 1 + .../src/pages/admin/modlog.ModLog.vue | 22 ++++++++- packages/frontend/src/pages/admin/modlog.vue | 2 +- pnpm-lock.yaml | 45 ++++++++++++++++++- 4 files changed, 67 insertions(+), 3 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 2e27f9e99c..f579da3cbb 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -70,6 +70,7 @@ "twemoji-parser": "14.0.0", "typescript": "5.2.2", "uuid": "9.0.1", + "v-code-diff": "^1.7.1", "vanilla-tilt": "1.8.1", "vite": "4.4.9", "vue": "3.3.4", diff --git a/packages/frontend/src/pages/admin/modlog.ModLog.vue b/packages/frontend/src/pages/admin/modlog.ModLog.vue index 3a474f73a8..ce7b89f8f7 100644 --- a/packages/frontend/src/pages/admin/modlog.ModLog.vue +++ b/packages/frontend/src/pages/admin/modlog.ModLog.vue @@ -16,7 +16,18 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.moderator }}: {{ log.userId }}
-