From the to-do list: MPA V1.0: post API integration
✔ Dynamic pack's size
(Completed by Pierre henri Seylan on April 9, 2019)
Comments
Pierre henri Seylan on April 3, 2019:
A while ago we have added the download size for packs and collections items.
I'd like to take one step further and implement a dyamic behavior. The idea is that the download size is recalculated depending on the amount of items which are already dowloaded. For example if the pack's size is 3GB and 1GB of content is already downloaded, it then displays only 2GB as download size.
This should be calculated only when the pack ad collection detail page is being loaded.
Pierre henri Seylan on April 8, 2019:
Feedback:
this works correctly, just one detail to adjust: When placing the mouse over the dowload icon, it displays "loading" however, the download size is displayed only if the mouse is moved away, and placed again on the download icon.
we should make it so that it trasitions from "loading" to the actual download size without having to move the mouse back and forth on the iconĀ
Comments
Pierre henri Seylan on April 3, 2019:
I'd like to take one step further and implement a dyamic behavior.
The idea is that the download size is recalculated depending on the amount of items which are already dowloaded.
For example if the pack's size is 3GB and 1GB of content is already downloaded, it then displays only 2GB as download size.
This should be calculated only when the pack ad collection detail page is being loaded.
Pierre henri Seylan on April 8, 2019:
this works correctly, just one detail to adjust:
When placing the mouse over the dowload icon, it displays "loading"
however, the download size is displayed only if the mouse is moved away, and placed again on the download icon.
we should make it so that it trasitions from "loading" to the actual download size without having to move the mouse back and forth on the iconĀ