From b7a0b7d629a6748ca8ff43364c72e08be9ac7156 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 10 Oct 2024 10:32:53 +0200 Subject: [PATCH] :bug: Increase feedback limits to reasonable values --- CHANGES.md | 1 + backend/src/app/rpc/commands/feedback.clj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 61c7e08c8..c97a3ff68 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -29,6 +29,7 @@ - Fix problem with go back button on error page [Taiga #8887](https://tree.taiga.io/project/penpot/issue/8887) - Fix problem with shadows in text for Safari [Taiga #8770](https://tree.taiga.io/project/penpot/issue/8770) +- Fix a regression with feedback form subject and content limits [Taiga #8908](https://tree.taiga.io/project/penpot/issue/8908) ## 2.2.1 diff --git a/backend/src/app/rpc/commands/feedback.clj b/backend/src/app/rpc/commands/feedback.clj index 29b79a87b..c641a4ff4 100644 --- a/backend/src/app/rpc/commands/feedback.clj +++ b/backend/src/app/rpc/commands/feedback.clj @@ -21,8 +21,8 @@ (def ^:private schema:send-user-feedback [:map {:title "send-user-feedback"} - [:subject [:string {:max 250}]] - [:content [:string {:max 250}]]]) + [:subject [:string {:max 400}]] + [:content [:string {:max 2500}]]]) (sv/defmethod ::send-user-feedback {::doc/added "1.18"