From 6263d9446c66945b8d1577d7f368208ca83355ab Mon Sep 17 00:00:00 2001 From: Lorenzo Cavazzi <43481553+lorenzo-cavazzi@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:12:04 +0200 Subject: [PATCH] fix: use the correct entity name in the descriptions for creating groups (#3276) --- client/src/features/projectsV2/fields/DescriptionFormField.tsx | 2 +- client/src/features/projectsV2/fields/SlugFormField.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/features/projectsV2/fields/DescriptionFormField.tsx b/client/src/features/projectsV2/fields/DescriptionFormField.tsx index 2776e5ca52..684a36e15e 100644 --- a/client/src/features/projectsV2/fields/DescriptionFormField.tsx +++ b/client/src/features/projectsV2/fields/DescriptionFormField.tsx @@ -51,7 +51,7 @@ export default function DescriptionFormField({ rules={{ maxLength: 500, required: false }} /> - A brief (at most 500 character) description of the project. + A brief (at most 500 character) description of the {entityName}.
Please provide a description
diff --git a/client/src/features/projectsV2/fields/SlugFormField.tsx b/client/src/features/projectsV2/fields/SlugFormField.tsx index 42f5696d76..eb539caca9 100644 --- a/client/src/features/projectsV2/fields/SlugFormField.tsx +++ b/client/src/features/projectsV2/fields/SlugFormField.tsx @@ -60,7 +60,7 @@ export default function SlugFormField({ hyphens. - A short, machine-readable identifier for the project, restricted to + A short, machine-readable identifier for the {entityName}, restricted to lowercase letters, numbers, and hyphens.{" "} {entityName === "project" && ( Cannot be changed after project creation.