This pull request includes several commits that make various improvements to the codebase. The signUp function in authActions.ts has been updated to return a success response with a message instructing the user to check their email to continue the sign-in process. The contact information in the Footer component has been updated with a new email address to ensure users have the correct contact information. The ProfileDropdown component has been refactored to handle the error case when retrieving user data, improving stability and user experience. The UserSignupForm component now displays a success message after successful sign up, enhancing the user experience. The LessonNavigationButtons component has been improved to display a range of visible lessons and pagination ellipsis, providing a more intuitive navigation experience. The ExamPrepChat component now uses markdown input for chat messages, allowing users to format their messages and improving usability. The npm dependencies for Stripe integration have been updated, and unused components have been removed to improve code cleanliness and maintainability. The CheckoutForm component has been added to the PlansCheckoutPage and CheckoutPage, separating form handling and checkout flow. The CheckoutProduct component now uses the CheckoutStripeWrapper and CheckoutForm components for handling the checkout flow, improving code organization. The payment handling logic in the webhook route and PlansTabs component has been separated into individual cases for different event types, enhancing code organization and maintainability. The CoursesStudentPage component now conditionally renders the ChatsSectionComponent based on the length of the userChats.data array, improving the user experience. The BreadcrumbComponent has been added to the Teacher Test Edit Page, providing breadcrumb navigation for better user experience. The ai_data field in the exam_submissions table has been separated into its own property, improving code organization and maintainability. The TeacherTestForm component now redirects to the course dashboard after form submission, improving the user experience and ensuring consistency in navigation.
Please review and merge this pull request to incorporate these improvements into the codebase.
This pull request includes several commits that make various improvements to the codebase. The
signUp
function inauthActions.ts
has been updated to return a success response with a message instructing the user to check their email to continue the sign-in process. The contact information in the Footer component has been updated with a new email address to ensure users have the correct contact information. The ProfileDropdown component has been refactored to handle the error case when retrieving user data, improving stability and user experience. The UserSignupForm component now displays a success message after successful sign up, enhancing the user experience. The LessonNavigationButtons component has been improved to display a range of visible lessons and pagination ellipsis, providing a more intuitive navigation experience. The ExamPrepChat component now uses markdown input for chat messages, allowing users to format their messages and improving usability. The npm dependencies for Stripe integration have been updated, and unused components have been removed to improve code cleanliness and maintainability. The CheckoutForm component has been added to the PlansCheckoutPage and CheckoutPage, separating form handling and checkout flow. The CheckoutProduct component now uses the CheckoutStripeWrapper and CheckoutForm components for handling the checkout flow, improving code organization. The payment handling logic in the webhook route and PlansTabs component has been separated into individual cases for different event types, enhancing code organization and maintainability. The CoursesStudentPage component now conditionally renders the ChatsSectionComponent based on the length of the userChats.data array, improving the user experience. The BreadcrumbComponent has been added to the Teacher Test Edit Page, providing breadcrumb navigation for better user experience. The ai_data field in the exam_submissions table has been separated into its own property, improving code organization and maintainability. The TeacherTestForm component now redirects to the course dashboard after form submission, improving the user experience and ensuring consistency in navigation.Please review and merge this pull request to incorporate these improvements into the codebase.