-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance: Optimized data loading of course #416
base: develop
Are you sure you want to change the base?
Performance: Optimized data loading of course #416
Conversation
Sh-AhsanArif
commented
Jan 16, 2025
- Optimized data loading on app dashboard screen (cached data first)
- Optimized data loading on course outline screen (cached data first)
- Minor code refactoring
Thanks for the pull request, @Sh-AhsanArif! This repository is currently maintained by @openedx/openedx-mobile-maintainers. Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.
|
@Sh-AhsanArif as you are covered by the Arbisoft entity CLA, I've added you to the triage team. This will allow tests to run automatically on your PRs. Please accept the invite. |
course/src/main/java/org/openedx/course/data/repository/CourseRepository.kt
Fixed
Show fixed
Hide fixed
course/src/main/java/org/openedx/course/data/repository/CourseRepository.kt
Fixed
Show fixed
Hide fixed
course/src/main/java/org/openedx/course/presentation/container/CourseContainerViewModel.kt
Fixed
Show fixed
Hide fixed
course/src/main/java/org/openedx/course/presentation/container/CourseContainerViewModel.kt
Fixed
Show fixed
Hide fixed
course/src/main/java/org/openedx/course/presentation/container/CourseContainerViewModel.kt
Fixed
Show fixed
Hide fixed
cd9e651
to
e816e86
Compare
course/src/main/java/org/openedx/course/presentation/container/CourseContainerViewModel.kt
Fixed
Show fixed
Hide fixed
e816e86
to
e86d49f
Compare
course/src/test/java/org/openedx/course/presentation/outline/CourseOutlineViewModelTest.kt
Fixed
Show fixed
Hide fixed
course/src/test/java/org/openedx/course/presentation/outline/CourseOutlineViewModelTest.kt
Fixed
Show fixed
Hide fixed
d2c5156
to
44803f0
Compare
@Sh-AhsanArif |
Thank you for your feedback! That’s a great suggestion, and I completely agree that moving all relevant methods to return Let me know what you think! |
@Sh-AhsanArif |
44803f0
to
d28d821
Compare
Hi, @Sh-AhsanArif I’ve reviewed the app again and have a few questions:
Could you clarify why we are using
|
Hey @Sh-AhsanArif, thank you so much for this improvement! I had a chance to take a quick look, and I noticed a couple of small UI issues in your repo, as shown in the video:
OpenEdxPR.webm |