From 340ff5a30a60e7f4f51627b43b34cafad9fc339e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lima?= Date: Sun, 23 Feb 2025 18:47:57 +0000 Subject: [PATCH] bugsfixed and design changes for generation 13'' screen --- .../SettingsEditor/listening/components.tsx | 2 +- .../SettingsEditor/listening/index.tsx | 9 +- .../SettingsEditor/reading/components.tsx | 2 +- .../SettingsEditor/reading/index.tsx | 1 - src/components/ExamEditor/index.tsx | 144 ++- src/components/List.tsx | 4 +- src/components/Medium/RecordFilter.tsx | 23 +- src/components/Medium/StatGridItem.tsx | 1 - src/components/Sidebar.tsx | 23 +- src/hooks/usePagination.tsx | 5 +- src/pages/(admin)/BatchCodeGenerator.tsx | 941 ++++++++++-------- src/pages/(admin)/CodeGenerator.tsx | 353 ++++--- src/pages/(admin)/Lists/BatchCreateUser.tsx | 1 - src/pages/(admin)/Lists/ExamList.tsx | 2 +- src/pages/(admin)/Lists/GroupList.tsx | 267 +++-- src/pages/(admin)/Lists/PackageList.tsx | 539 +++++----- .../(admin)/Lists/StudentPerformanceList.tsx | 1 - src/pages/(admin)/Lists/UserList.tsx | 2 +- src/pages/(admin)/UserCreator.tsx | 573 ++++++----- src/pages/(exam)/ExamPage.tsx | 10 +- src/pages/(register)/RegisterCorporate.tsx | 481 ++++----- src/pages/api/exam/index.ts | 2 +- src/pages/api/training/index.ts | 2 + src/pages/generation.tsx | 507 ++++++---- src/pages/record.tsx | 2 +- src/pages/training/index.tsx | 54 +- src/pages/users/performance.tsx | 10 +- src/stores/exam/reducers/index.ts | 6 +- src/utils/users.be.ts | 5 +- 29 files changed, 2292 insertions(+), 1680 deletions(-) diff --git a/src/components/ExamEditor/SettingsEditor/listening/components.tsx b/src/components/ExamEditor/SettingsEditor/listening/components.tsx index 08d076a5..9dbb5ea1 100644 --- a/src/components/ExamEditor/SettingsEditor/listening/components.tsx +++ b/src/components/ExamEditor/SettingsEditor/listening/components.tsx @@ -233,7 +233,7 @@ const ListeningComponents: React.FC = ({ currentSection, localSettings, u setIsOpen={(isOpen: boolean) => updateLocalAndScheduleGlobal({ isAudioContextOpen: isOpen }, false)} contentWrapperClassName={level ? `border border-ielts-listening` : ''} > -
+
{ const router = useRouter(); diff --git a/src/components/ExamEditor/SettingsEditor/reading/components.tsx b/src/components/ExamEditor/SettingsEditor/reading/components.tsx index 6553d83e..aa9b9238 100644 --- a/src/components/ExamEditor/SettingsEditor/reading/components.tsx +++ b/src/components/ExamEditor/SettingsEditor/reading/components.tsx @@ -82,7 +82,7 @@ const ReadingComponents: React.FC = ({ disabled={generatePassageDisabled} >