Yimaru/Yimaru-Admin
production
ad75a0628486d8f5a4b71d6e698393d26546afa2
success
No local changes to save
HEAD is now at 1915d89 Align subscription plan categories with backend allowed values.
From https://gitea.yaltopia.com/Yimaru/Yimaru-Admin * branch production -> FETCH_HEAD
Already on 'production'
Updating 1915d89..ad75a06 Fast-forward src/api/courses.api.ts | 14 + src/api/questionTypeDefinitions.api.ts | 173 +++++++++ src/app/AppRoutes.tsx | 21 ++ src/components/SearchHighlight.tsx | 67 ++++ src/components/topbar/Topbar.tsx | 2 +- src/hooks/usePracticeParentTitles.ts | 51 +++ src/index.css | 1 + src/layouts/AppLayout.tsx | 2 +- src/lib/attachPracticeToParent.ts | 32 ++ src/lib/fetchAllPractices.ts | 34 ++ src/lib/learnEnglishDefinitionQuestion.ts | 4 + src/lib/learnEnglishPracticeEditPath.ts | 350 +++++++++++++++++++ src/lib/parentContextPractice.ts | 39 ++- src/lib/practiceContentPaths.ts | 114 ++++++ src/lib/practiceCreationOrchestrator.ts | 61 +++- src/lib/practiceEditOrchestrator.ts | 13 +- src/lib/practiceFullMapper.ts | 76 +++- src/lib/practiceParentTitles.ts | 251 ++++++++++++++ src/lib/practiceParents.ts | 131 +++++++ src/lib/questionAssociations.ts | 170 +++++++++ src/pages/auth/AcceptInvitePage.tsx | 2 +- src/pages/auth/ForgotPasswordPage.tsx | 2 +- src/pages/auth/LoginPage.tsx | 2 +- src/pages/auth/VerificationPage.tsx | 2 +- src/pages/content-management/AddPracticeFlow.tsx | 144 +++++++- src/pages/content-management/CourseDetailPage.tsx | 33 +- .../content-management/CourseModuleDetailPage.tsx | 68 +++- src/pages/content-management/EditPracticeFlow.tsx | 40 ++- .../content-management/LessonPracticesPage.tsx | 44 ++- .../LinkExistingPracticeFlow.tsx | 309 +++++++++++++++++ src/pages/content-management/ModuleDetailPage.tsx | 73 +++- .../content-management/PracticeDetailsPage.tsx | 6 +- src/pages/content-management/ProgramDetailPage.tsx | 9 +- .../content-management/QuestionTypeLibraryPage.tsx | 14 + .../components/CreatePracticeWizard.tsx | 3 +- .../components/PracticeActionButton.tsx | 40 +++ .../components/PracticeActionChoiceDialog.tsx | 117 +++++++ .../components/QuestionTypeCard.tsx | 32 +- .../QuestionTypeDefinitionPracticesDialog.tsx | 304 ++++++++++++++++ .../components/practice-steps/ContextStep.tsx | 86 ++++- .../LinkExistingPracticeReviewStep.tsx | 196 +++++++++++ .../practice-steps/PracticeParentsField.tsx | 132 +++++++ .../practice-steps/PracticeSequentialReview.tsx | 23 +- .../practice-steps/QuestionAssociationField.tsx | 111 ++++++ .../components/practice-steps/QuestionsStep.tsx | 87 ++++- .../components/practice-steps/ReviewStep.tsx | 5 +- .../practice-steps/SelectPracticeToAttachStep.tsx | 386 +++++++++++++++++++++ .../mapQuestionsForPracticeReview.ts | 73 +++- src/pages/legal/InfoLayout.tsx | 2 +- src/types/course.types.ts | 54 ++- src/types/questionTypeDefinition.types.ts | 40 +++ 51 files changed, 3909 insertions(+), 136 deletions(-) create mode 100644 src/components/SearchHighlight.tsx create mode 100644 src/hooks/usePracticeParentTitles.ts create mode 100644 src/lib/attachPracticeToParent.ts create mode 100644 src/lib/fetchAllPractices.ts create mode 100644 src/lib/learnEnglishPracticeEditPath.ts create mode 100644 src/lib/practiceContentPaths.ts create mode 100644 src/lib/practiceParentTitles.ts create mode 100644 src/lib/practiceParents.ts create mode 100644 src/lib/questionAssociations.ts create mode 100644 src/pages/content-management/LinkExistingPracticeFlow.tsx create mode 100644 src/pages/content-management/components/PracticeActionButton.tsx create mode 100644 src/pages/content-management/components/PracticeActionChoiceDialog.tsx create mode 100644 src/pages/content-management/components/QuestionTypeDefinitionPracticesDialog.tsx create mode 100644 src/pages/content-management/components/practice-steps/LinkExistingPracticeReviewStep.tsx create mode 100644 src/pages/content-management/components/practice-steps/PracticeParentsField.tsx create mode 100644 src/pages/content-management/components/practice-steps/QuestionAssociationField.tsx create mode 100644 src/pages/content-management/components/practice-steps/SelectPracticeToAttachStep.tsx
From https://gitea.yaltopia.com/Yimaru/Yimaru-Admin * branch production -> FETCH_HEAD
bun install v1.3.8 (b64edcb4) Checked 410 installs across 431 packages (no changes) [233.00ms]
[1.48ms] ".env"
vite v7.3.0 building client environment for production... transforming... ✓ 2774 modules transformed. rendering chunks... computing gzip size... dist/index.html 1.19 kB │ gzip: 0.55 kB dist/assets/logo-Bg-9_lvv.svg 10.87 kB │ gzip: 4.90 kB dist/assets/inter-latin-100-normal-Cg8nSI4P.woff2 23.39 kB dist/assets/inter-latin-400-normal-C38fXH4l.woff2 23.66 kB dist/assets/inter-latin-900-normal-D4nM5aha.woff2 23.90 kB dist/assets/inter-latin-300-normal-BVlfKGgI.woff2 23.92 kB dist/assets/inter-latin-200-normal-CGIQ4gbF.woff2 23.92 kB dist/assets/inter-latin-500-normal-Cerq10X2.woff2 24.27 kB dist/assets/inter-latin-700-normal-Yt3aPRUw.woff2 24.36 kB dist/assets/inter-latin-800-normal-BYj_oED-.woff2 24.40 kB dist/assets/inter-latin-600-normal-LgqL8muc.woff2 24.45 kB dist/assets/inter-latin-100-normal-J9XNenR1.woff 30.37 kB dist/assets/inter-latin-900-normal-EUCDUbiG.woff 30.68 kB dist/assets/inter-latin-400-normal-CyCys3Eg.woff 30.70 kB dist/assets/inter-latin-200-normal-fAycq8N-.woff 30.97 kB dist/assets/inter-latin-300-normal-i8F0SvXL.woff 31.01 kB dist/assets/inter-latin-600-normal-CiBQ2DWP.woff 31.26 kB dist/assets/inter-latin-500-normal-BL9OpVg8.woff 31.28 kB dist/assets/inter-latin-800-normal-D1mf63XC.woff 31.30 kB dist/assets/inter-latin-700-normal-BLAVimhd.woff 31.32 kB dist/assets/index-CaQGYdyc.css 118.01 kB │ gzip: 17.95 kB dist/assets/index-CKFACVX3.js 2,319.97 kB │ gzip: 582.56 kB ✓ built in 19.71s
$ vite build Browserslist: browsers data (caniuse-lite) is 6 months old. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue. (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.