Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3305

Implement removing individual downloaded courses

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This issue should be tested both in iOS and Android devices.

      1. Log into a site and download a couple of courses for offline use.
      2. Once they've been downloaded, there should be a new option to remove the course from the device. This can be found in the options menu in the course card in the dashboard.
      3. Delete a course using this option, and make sure that the course has been removed. This can be checked by restarting the app and making sure that the download option is available again.
      4. Make sure that all the course files were removed as well. To do that, open a course and go into the "Manage storage" page (options -> Manage storage).
      5. Go back to the dashboard, and open the screen "Manage storage" from the dashboard options. You should see a new page to manage the storage with all courses.
      6. Remove one course and make sure that it works the same way as removing it using the option in the course card.
      7. Now use the button to remove all the courses and make sure that it works as expected.
      8. Start downloading a new course, and before the download has been completed open the Manage storage page from the dashboard. The course being downloaded should be displayed as such and the remove button should be disabled.
      9. Wait until the download is completed and check that the button works as expected.
      10. Finally, download a couple of courses and while some downloads are still in progress open the screen again. Use the button to remove all the courses, and make sure that the course/s that were downloading weren't removed and their downloads complete successfully.
      Show
      This issue should be tested both in iOS and Android devices. Log into a site and download a couple of courses for offline use. Once they've been downloaded, there should be a new option to remove the course from the device. This can be found in the options menu in the course card in the dashboard. Delete a course using this option, and make sure that the course has been removed. This can be checked by restarting the app and making sure that the download option is available again. Make sure that all the course files were removed as well. To do that, open a course and go into the "Manage storage" page (options -> Manage storage). Go back to the dashboard, and open the screen "Manage storage" from the dashboard options. You should see a new page to manage the storage with all courses. Remove one course and make sure that it works the same way as removing it using the option in the course card. Now use the button to remove all the courses and make sure that it works as expected. Start downloading a new course, and before the download has been completed open the Manage storage page from the dashboard. The course being downloaded should be displayed as such and the remove button should be disabled. Wait until the download is completed and check that the button works as expected. Finally, download a couple of courses and while some downloads are still in progress open the screen again. Use the button to remove all the courses, and make sure that the course/s that were downloading weren't removed and their downloads complete successfully.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.0

      Description

      When a user clears the storage from a course storage management screen, it continues to be marked as downloaded in the dashboard unless the app is restarted. To improve the usability of removing downloaded courses, that should be fixed and a new shortcut could be added to the option menus to remove the entire course.

      In order to manage the storage of all the courses together, a screen similar to the course "manage storage" can be created (see the attached image). Instead of having course sections, it would contain downloaded courses.

        Attachments

          Activity

            People

            Assignee:
            noeldemartin Noel De Martin
            Reporter:
            noeldemartin Noel De Martin
            Peer reviewer:
            Dani Palou
            Integrator:
            Juan Leyva
            Tester:
            Isabel Renedo Rouco
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              26/Jun/20