Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show list of active downloads #805

Open
mathebox opened this issue Jul 22, 2020 · 0 comments
Open

Show list of active downloads #805

mathebox opened this issue Jul 22, 2020 · 0 comments

Comments

@mathebox
Copy link
Member

Is your feature request related to a problem? Please describe.
After starting the download of learning material (video, slides, documents), the download progress is only shown next to the button for starting the download (content lists and detail pages). However, there is no view aggregating all active downloads across all courses.

Describe the solution you'd like
Add a cell titled Active Downloads to the Downloaded Content view in the Account tab. Tapping on this reveals a list of all currently active downloads grouped by course (title). Each cell should contain at least the following information:

  • title
  • progress
  • stop/cancel button
  • (icon for) download type (video, slides, document)

Affected Component
DownloadedContentListViewController

Additional context
The Active Downloads cell should only be shown if there are active downloads. The list of active downloads should update along with changes to the download state. For this, it is required to listen to the following notifications:

  • DownloadState.didChangeNotification
  • DownloadProgress.didChangeNotification
    (see VideoViewController for usage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant