From 35f8ee9fcc8afb7a5dbc03926ff0c5b576211cfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Banno-Cloutier?=
 <leo.banno-cloutier@savoirfairelinux.com>
Date: Thu, 13 Jul 2023 15:16:16 -0400
Subject: [PATCH] Blueprint: Change max title length to 40

Change-Id: Idffa1d5d7eb9c5c8d423f2a0564341bba4668d92
---
 jams-react-client/public/locales/en/translation.json         | 2 +-
 jams-react-client/src/views/Blueprint/EditBlueprintUiForm.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jams-react-client/public/locales/en/translation.json b/jams-react-client/public/locales/en/translation.json
index 17d10b7b..b7d61ca3 100644
--- a/jams-react-client/public/locales/en/translation.json
+++ b/jams-react-client/public/locales/en/translation.json
@@ -260,7 +260,7 @@
     "welcome_has_description": "Description",
     "welcome_Description": "Here is your Jami identifier, don't hesitate to share it in order to be contacted more easily!",
     "welcome_has_Tips": "Enable Tips display",
-    "instruction_title": "Use Jami title or personalize it (max 30 characters)",
+    "instruction_title": "Use Jami title or personalize it (max 40 characters)",
     "instruction_description": "Use Jami description or personalize it (max 100 characters)",
     "welcome_has_BackgroundCustom": "Background",
     "instruction_background": "Choose a background color or a background image",
diff --git a/jams-react-client/src/views/Blueprint/EditBlueprintUiForm.js b/jams-react-client/src/views/Blueprint/EditBlueprintUiForm.js
index 7b01486f..5d72abf3 100644
--- a/jams-react-client/src/views/Blueprint/EditBlueprintUiForm.js
+++ b/jams-react-client/src/views/Blueprint/EditBlueprintUiForm.js
@@ -88,7 +88,7 @@ const TitleForm = ({ uiCustomization, handleUpdateUi }) => {
       <span>
         {i18next.t(
           "instruction_title",
-          "Use Jami title or personalize it (max 30 characters)"
+          "Use Jami title or personalize it (max 40 characters)"
         )}
       </span>
       <TextField
@@ -99,7 +99,7 @@ const TitleForm = ({ uiCustomization, handleUpdateUi }) => {
           handleUpdateUi("title", e.target.value);
         }}
         fullWidth
-        inputProps={{ maxLength: 30 }}
+        inputProps={{ maxLength: 40 }}
       />
     </FormGroup>
   );
-- 
GitLab