From a75f97360a21b4a4afdd85463b1d1a69134d9636 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 11 Apr 2025 19:00:25 +0100 Subject: [PATCH] Responsiveness of actions --- .../GenerateCourse/AICourseContent.tsx | 7 +++++-- .../GenerateCourse/AICourseLesson.tsx | 17 +++++++++++++++-- .../GenerateCourse/ForkCourseAlert.tsx | 14 ++++++++++---- .../GenerateCourse/RegenerateLesson.tsx | 2 +- 4 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/components/GenerateCourse/AICourseContent.tsx b/src/components/GenerateCourse/AICourseContent.tsx index e2abc32dc..462404049 100644 --- a/src/components/GenerateCourse/AICourseContent.tsx +++ b/src/components/GenerateCourse/AICourseContent.tsx @@ -248,7 +248,10 @@ export function AICourseContent(props: AICourseContentProps) { aria-label="Back to generator" > - Back {isViewingLesson ? 'to Outline' : 'to AI Tutor'} + Back{' '} + + {isViewingLesson ? 'to Outline' : 'to AI Tutor'} +
@@ -439,7 +442,6 @@ export function AICourseContent(props: AICourseContentProps) { courseSlug && (viewMode === 'outline' || viewMode === 'roadmap') && ( { setIsForkingCourse(true); @@ -459,6 +461,7 @@ export function AICourseContent(props: AICourseContentProps) { {viewMode === 'module' && ( )} -
+
Lesson {activeLessonIndex + 1} of {totalLessons}
{!isGenerating && !isLoading && ( -
+
+ )}