From b1d33373fe591c1756c7152c4c86e3dc0abf2cef Mon Sep 17 00:00:00 2001 From: tdgao Date: Wed, 26 Aug 2026 16:55:29 -0600 Subject: [PATCH] fix: less false positives in profanity and fix gallary nag --- .../src/pages/[type]/[project]/gallery.vue | 11 +- .../[type]/[project]/settings/gallery.vue | 11 +- .../src/data/nags/project-validation.ts | 23 +- .../moderation/src/locales/en-US/index.json | 756 +++++++++--------- .../src/validators/profanity/index.ts | 76 +- .../src/validators/profanity/tests.ts | 5 + .../src/validators/project-fields/index.ts | 18 + .../src/validators/project-fields/tests.ts | 9 +- 8 files changed, 489 insertions(+), 420 deletions(-) diff --git a/apps/frontend/src/pages/[type]/[project]/gallery.vue b/apps/frontend/src/pages/[type]/[project]/gallery.vue index 1381c150cb..03d026a906 100644 --- a/apps/frontend/src/pages/[type]/[project]/gallery.vue +++ b/apps/frontend/src/pages/[type]/[project]/gallery.vue @@ -92,7 +92,7 @@ v-if="editIndex === -1" type="colored" color="brand" - :disabled="shouldPreventActions || galleryFieldsInvalid" + :disabled="shouldPreventActions || !canSaveGalleryFields" @click="createGalleryItem" >