From f8ab46428b0e692ae05ecbba912dc86d281be957 Mon Sep 17 00:00:00 2001 From: kate Date: Thu, 1 Dec 2022 15:23:06 +0100 Subject: [PATCH] Mark required and optional fields, fix typos --- .../EditableMentoringGoalTopics.tsx | 16 ++++++++-------- .../ReadMentoringGoalTopics.tsx | 12 ++++++------ .../me-mentee-profile/ReadToolsAndFrameworks.tsx | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/redi-connect/src/pages/app/me/me-mentee-profile/EditableMentoringGoalTopics.tsx b/apps/redi-connect/src/pages/app/me/me-mentee-profile/EditableMentoringGoalTopics.tsx index 979ce51f7..0a37f51d2 100644 --- a/apps/redi-connect/src/pages/app/me/me-mentee-profile/EditableMentoringGoalTopics.tsx +++ b/apps/redi-connect/src/pages/app/me/me-mentee-profile/EditableMentoringGoalTopics.tsx @@ -37,10 +37,10 @@ interface Props { const validationSchema = Yup.object({ mentee_mentoringGoal: Yup.string() .nullable() - .required('Select a mentoring goal'), + .required('Please select a mentoring goal'), mentee_primaryRole_fieldOfExpertise: Yup.string() .nullable() - .required('Select a role'), + .required('Please select a role'), mentee_overarchingMentoringTopics: Yup.array().max( 3, 'You can select up to three topics' @@ -116,7 +116,7 @@ const EditableMentoringGoalTopics = ({ profile, profileSaveStart }: Props) => { Goal { Topics { Primary role { Skills { Secondary role { Skills { ) : ( - The most important goal you would like to adress with your - mentor + The most important goal to address with your + mentor. )} @@ -53,7 +53,7 @@ const ReadMentoringGoalTopics = ({ profile, caption }: ReadMentoringProps) => { /> ) : ( - General topics you would like to me mentored on + General topics you would like to be mentored on. )} @@ -84,7 +84,7 @@ const ReadMentoringGoalTopics = ({ profile, caption }: ReadMentoringProps) => { /> ) : ( - Role-related skills you would like to mentored on (optional) + Role-related skills you would like to be mentored on. )} @@ -93,7 +93,7 @@ const ReadMentoringGoalTopics = ({ profile, caption }: ReadMentoringProps) => { - Secondary role (optional) + Secondary role {mentee_secondaryRole_fieldOfExpertise ? ( { /> ) : ( - Role-related skills you would like to mentored on (optional) + Role-related skills you would like to be mentored on. )} diff --git a/apps/redi-connect/src/pages/app/me/me-mentee-profile/ReadToolsAndFrameworks.tsx b/apps/redi-connect/src/pages/app/me/me-mentee-profile/ReadToolsAndFrameworks.tsx index 686d5d4f0..98928f2cc 100644 --- a/apps/redi-connect/src/pages/app/me/me-mentee-profile/ReadToolsAndFrameworks.tsx +++ b/apps/redi-connect/src/pages/app/me/me-mentee-profile/ReadToolsAndFrameworks.tsx @@ -26,7 +26,7 @@ const ReadToolsAndFrameworks = ({ profile, caption }: ReadMentoringProps) => { /> ) : ( - Please select tool and technologies you are particularly interested in + Please select tools and technologies you are particularly interested in (max 3). )}