Hello Everyone,
I am currently working on a project where we have over 10,000 courses available on the Studio home page. As you can imagine, loading all these courses at once leads to significant performance issues and a suboptimal user experience.
I am considering implementing pagination on the Studio home page to address this. However, I have a few questions regarding this:
-
Is implementing pagination on the Studio home page possible within the current tutor version 15?
-
If yes, could you provide guidance or best practices on how to achieve this? Specifically:
- What parts of the codebase would need to be modified?
- Are there any existing APIs or libraries within Open edX that can facilitate pagination?
- How should I handle the state management for pagination (e.g., keeping track of the current page, total pages, etc.)?
- Are there any potential pitfalls or performance considerations I should be aware of?
- If no, are there any alternative approaches to improve the performance and usability of the Studio home page when dealing with such a large number of courses?
I would appreciate any insights, examples, or documentation that could help guide me through this process.