From 3ad0f0a63dfa79e53105cf23d3b9a8d9d76f6b63 Mon Sep 17 00:00:00 2001 From: Yared Yemane Date: Thu, 16 Apr 2026 05:21:22 -0700 Subject: [PATCH] Hide Step 3 hints for lesson questions Made-with: Cursor --- .../content-management/HumanLanguagePage.tsx | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/pages/content-management/HumanLanguagePage.tsx b/src/pages/content-management/HumanLanguagePage.tsx index 9c4d4bf..29e5573 100644 --- a/src/pages/content-management/HumanLanguagePage.tsx +++ b/src/pages/content-management/HumanLanguagePage.tsx @@ -3088,8 +3088,13 @@ export function HumanLanguagePage() { {questionDialog.open && questionDialog.mode === "edit" ? "Edit question" : "Add question"} - Same layout as Add New Practice → Step 3: Questions. Add MCQ, - True/False, Short Answer, or Audio; optional tips and voice prompts below. + {questionDialog.open && questionDialog.target === "practice" ? ( + <> + Same layout as{" "} + Add New Practice → Step 3: Questions. Add MCQ, True/False, + Short Answer, or Audio; optional tips and voice prompts below. + + ) : null} {!questionCanSave ? ( Fix the highlighted fields before saving. Save stays disabled until the form is valid. @@ -3100,12 +3105,14 @@ export function HumanLanguagePage() {
-
-

Step 3: Questions

-

- Add MCQ, True/False, Short Answer, or Audio items. Use the full width for stems and options. -

-
+ {questionDialog.open && questionDialog.target === "practice" ? ( +
+

Step 3: Questions

+

+ Add MCQ, True/False, Short Answer, or Audio items. Use the full width for stems and options. +

+
+ ) : null}