Page MenuHomePhabricator

Allow users to pause and resume downloads in progress
Closed, InvalidPublic

Description

Finding from usability testing conducted in T167129:
Many New Readers have limited free mobile data plans so may need to download article packs over multiple sessions.

Proposed solution:
Allow users to pause and resume downloads.
Note: This has already been captured in the original designs on task T167523, but pause/resume was not completed since it will require additional customization from the download manager provided by the OS.

QA test

(A) Review all screens where the article pack in-progress download UI is shown.

  1. Go to Offline compilations (aka Offline Library) by selecting the overflow menu item on the Explore feed.
  2. Tap the action to 'Add' to Offline library which bring up a list of all packs available for download
  3. Tap on the overflow menu of an article pack and select the option to "Download". It is expected that UI for the download in progress (comprising a progress bar, estimated remaining time & data, pause and cancel actions) should display below the relevant list item.
  4. Tap on a second article pack to open its details screen.
  5. On the details screen tap on the "Download" action button. It is expected that UI for the in-progress download will appear in place of the download action button.
  6. Return to the Offline Compilations screen. It is expected that the compilations being downloaded will now appear as list items in the "My compilations" list, including the in-progress download UI.
  7. Exit the app, then swipe to show the device's Notifications drawer. It is expected that there is a notification showing the download in progress here.
  8. It is expected that tapping on the body of the notification takes the user back to Offline compilations in the app where they can choose to pause/cancel the download.
  9. For devices Android 4.1 onwards, it is expected there are additional actions allowing the user to pause or cancel the download directly from the notification.

(B) Check that pause, resume and stop actions work on each screen where the in-progress download is shown.
Steps per above, and for each screen where the in-progress download UI is displayed, check the following:

  1. Tap on the pause icon, it is expected that download of the selected pack will be paused, and the pause icon will be toggled to a resume (play) icon
  2. Tap on the play icon, it is expected that download of the selected pack will be resumed, and the play icon will be toggled to the pause icon
  3. Tap on the cancel icon, it is expected that a dialog will appear asking the user to confirm the cancellation of the download.
  4. Tap on "Yes" to confirm, it is expected that the in-progress download will be stopped, and the particular pack will no longer show the in-progress download UI. It should also no longer appear in the user's "My compilations" (aka "My Offline library") list.
Mocks
All compilations - one download in progress
A03iii - All available as standalone 'store'.png (1×720 px, 138 KB)
Details screen - download in progress
A04iii downloading paused.png (1×720 px, 155 KB)
Details screen - download paused
A04ii downloading state.png (1×720 px, 155 KB)
"My Offline Library"
A06 downloading.png (1×720 px, 84 KB)
Offline Library - multiple in-progress
A06iii - multiple compilations.png (1×720 px, 121 KB)

See Zeplin for most up to date redline mocks https://zpl.io/GaRQKKV