From the to-do list: MPA V1.0: API integration bugs and improvements
✔ Fix API requests when scrolling packs view
(Completed by Pierre henri Seylan on May 9, 2019)
Comments
Pierre henri Seylan on April 3, 2019:
When the packs view is scrolled (in all tabs), an API is request is sent pretty much all the time. This slows down the UI but also creates some overhead on the server side. This can be noticed looking at the dynamic loader on the top bar, which is active prettty much every time a scroll is done.
We should send this API request to get the next batch of content, only when the user reaches the end of the page.
See how it is done in the list view, the request is sent only when the user approaches the end of the page.
Let's do the same for the packs view.
Pierre henri Seylan on May 9, 2019:
Feedback:
it looks like this change is not done for the "my library" section. Please double check that all pages are using this mechanism, including:
Comments
Pierre henri Seylan on April 3, 2019:
This slows down the UI but also creates some overhead on the server side.
This can be noticed looking at the dynamic loader on the top bar, which is active prettty much every time a scroll is done.
We should send this API request to get the next batch of content, only when the user reaches the end of the page.
See how it is done in the list view, the request is sent only when the user approaches the end of the page.
Let's do the same for the packs view.
Pierre henri Seylan on May 9, 2019:
it looks like this change is not done for the "my library" section.
Please double check that all pages are using this mechanism, including:
Daniel Ch. on May 9, 2019: