From d2d1bc8dabf2caa0c5e0031702999c81992d666d Mon Sep 17 00:00:00 2001 From: hanswang123456 <50556568+hanswang123456@users.noreply.github.com> Date: Sat, 20 Aug 2022 04:30:46 -0400 Subject: [PATCH] fix(curriculum): correctly describe insert step in Challenge Editor (#47331) * Update InsertStep.tsx * Update Tools.tsx * Update how-to-work-on-practice-projects.md * removed redundant example * Update tools/challenge-editor/client/src/components/tools/Tools.tsx Co-authored-by: Ilenia Co-authored-by: Ilenia --- docs/how-to-work-on-practice-projects.md | 2 +- .../client/src/components/buttons/InsertStep.tsx | 2 +- tools/challenge-editor/client/src/components/tools/Tools.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/how-to-work-on-practice-projects.md b/docs/how-to-work-on-practice-projects.md index c582fc9ed80..c50df391e02 100644 --- a/docs/how-to-work-on-practice-projects.md +++ b/docs/how-to-work-on-practice-projects.md @@ -42,7 +42,7 @@ Enter the number of steps you want to add in the input. Then, clicking the butto #### Insert Step -Enter the step number that you want to add a step _after_. For example, if you want to add a step after `step-12`, enter `12`. Then, click the `Insert Step` button to add the step. The following steps will be re-ordered. +Enter the step number that you want to add. Then, click the `Insert Step` button to add the step. The following steps will be re-ordered. #### Delete Step diff --git a/tools/challenge-editor/client/src/components/buttons/InsertStep.tsx b/tools/challenge-editor/client/src/components/buttons/InsertStep.tsx index d4b6cb433e4..0ace2943f5c 100644 --- a/tools/challenge-editor/client/src/components/buttons/InsertStep.tsx +++ b/tools/challenge-editor/client/src/components/buttons/InsertStep.tsx @@ -22,7 +22,7 @@ const InsertStep = ({ superblock, block }: BlockRequiredProps) => { return (
diff --git a/tools/challenge-editor/client/src/components/tools/Tools.tsx b/tools/challenge-editor/client/src/components/tools/Tools.tsx index 9c44943dace..4386109b712 100644 --- a/tools/challenge-editor/client/src/components/tools/Tools.tsx +++ b/tools/challenge-editor/client/src/components/tools/Tools.tsx @@ -27,7 +27,7 @@ const Tools = () => {

Insert Step

- This tool inserts a new step after the nth step. + This tool inserts a new step as the nth step.

Delete Step