Skip to content

Commit e51cf7f

Browse files
committed
Repharse mentoring request prompts
1 parent 75afe83 commit e51cf7f

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

app/javascript/components/student/mentoring-session/mentoring-request/MentoringRequestFormComponents/SolutionCommentTextArea.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const SolutionCommentTextArea = React.forwardRef<
66
>((_, ref) => (
77
<div className="question">
88
<label htmlFor="request-mentoring-form-solution-comment">
9-
How can a mentor help you with this solution?
9+
About your solution
1010
</label>
1111
<p id="request-mentoring-form-solution-description">
1212
Give your mentor a starting point for the conversation. This will be your

app/javascript/components/student/mentoring-session/mentoring-request/MentoringRequestFormComponents/TrackObjectivesTextArea.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ export const TrackObjectivesTextArea = React.forwardRef<
66
{ defaultValue: string; track: Pick<MentorSessionTrack, 'title'> }
77
>(({ track, defaultValue }, ref) => (
88
<div className="question">
9-
<label htmlFor="request-mentoring-form-track-objectives">
10-
What are you hoping to learn from this track?
11-
</label>
9+
<label htmlFor="request-mentoring-form-track-objectives">About you</label>
1210
<p id="request-mentoring-form-track-description">
1311
Tell our mentors a little about your programming background and what
1412
you&apos;re aiming to learn from {track.title}.

test/system/flows/edit_solution_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class EditSolutionTest < ApplicationSystemTestCase
196196
refute_text "Checking for automated feedback"
197197
assert_text "No Immediate Feedback"
198198
click_on "Request code review"
199-
assert_text "What are you hoping to learn from this track?"
199+
assert_text "About you"
200200

201201
input_1 = find("#request-mentoring-form-track-objectives")
202202
input_2 = find("#request-mentoring-form-solution-comment")

test/system/flows/student_requests_mentorship_test.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class StudentRequestsMentorship < ApplicationSystemTestCase
3535
first("button", text: "Select an exercise").click
3636
within(".m-select-exercise-for-mentoring") { click_on "Lasagna" }
3737

38-
fill_in "What are you hoping to learn from this track?", with: "I want to learn OOP."
39-
fill_in "How can a mentor help you with this solution?", with: "I'm sorry but I have absolutely no idea."
38+
fill_in "About you", with: "I want to learn OOP."
39+
fill_in "About your solution", with: "I'm sorry but I have absolutely no idea."
4040
click_on "Submit mentoring request"
4141
end
4242

@@ -72,8 +72,8 @@ class StudentRequestsMentorship < ApplicationSystemTestCase
7272
first("button", text: "Select an exercise").click
7373
within(".m-select-exercise-for-mentoring") { click_on "Lasagna" }
7474

75-
fill_in "What are you hoping to learn from this track?", with: "12345678901234567890"
76-
fill_in "How can a mentor help you with this solution?", with: "1234567890123456789"
75+
fill_in "About you", with: "12345678901234567890"
76+
fill_in "About your solution", with: "1234567890123456789"
7777

7878
click_on "Submit mentoring request"
7979

@@ -83,8 +83,8 @@ class StudentRequestsMentorship < ApplicationSystemTestCase
8383
refute_text "Waiting on a mentor…"
8484
refute_text "12345678890123456789"
8585

86-
fill_in "What are you hoping to learn from this track?", with: "1234567890123456789"
87-
fill_in "How can a mentor help you with this solution?", with: "12345678901234567890"
86+
fill_in "About you", with: "1234567890123456789"
87+
fill_in "About your solution", with: "12345678901234567890"
8888

8989
click_on "Submit mentoring request"
9090

0 commit comments

Comments
 (0)