teammates
teammates copied to clipboard
Apply lazy-loading of question responses in session results page
Current: Upon loading the session results page, the responses of all questions are loaded.
Problems:
- Not performant at large number of responses.
- While it does not introduce burst of parallel API calls, as the burden of fetching all responses falls on one single API call, it is not difficult to see the potential performance issue at large enough scale.
- There is a not-small chance that a user only wants to see the responses of a question somewhere before or until the middle of the page. That means the bottom half of the page is wasted.
Note: While this is in the same spirit as #11640, the root cause is different and more fundamental here.
Solution:
- Upon loading the page, only fetch the list of questions, just like how submission page and feedback report page for instructors work.
- (similar to #11640) Apply lazy loading; only load the responses of the question when the question is in viewport.
Would like to pick this up!
Hi, is this issue still available? If yes, I would like to work on this issue.
@tsy24 Please go ahead!
@wkurniawan07 Hi, I would like to work on this issue. Kindly let me know if it's available
Hi @AdwitiyaMishra, thanks for your interest! There is a PR for this issue already, please find another issue to work on.