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

Add prefetch info and actions like Time modified and Size to module context menu

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      The following tests need to be performed in these modules: assign, book, choice, folder, forum, glossary, imscp, page, quiz, resource, scorm, survey and wiki. The site qa.moodle.net already has them in the Activity examples course, but you might have to add files in their content.

      IMPORTANT: Please make sure to include files in the content or in the description for each module.

      1. In the app, open the module.
      2. In the context menu you should see the time the module was modified or just "Download" if the time cannot be calculated (book, choice, glossary). Next to the time you should see the prefetch icon if the module hasn't been downloaded.
        • Please notice that Book, IMSCP, Page and mini-site resources are automatically downloaded when opened.
      3. If the module hasn't been downloaded, download it now. Once downloaded, check that the download icon has disappeared from the context menu. Also, check that you see the size used by the module.
        • Please notice that the size will only be shown if the module has at least 1 file in its content or description.
      4. Now click the context menu action to delete the content and confirm. Once deleted, check that the size isn't seen anymore and the module is now marked as not downloaded (you see the download icon).
      Show
      The following tests need to be performed in these modules: assign, book, choice, folder, forum, glossary, imscp, page, quiz, resource, scorm, survey and wiki. The site qa.moodle.net already has them in the Activity examples course, but you might have to add files in their content. IMPORTANT : Please make sure to include files in the content or in the description for each module. In the app, open the module. In the context menu you should see the time the module was modified or just " Download " if the time cannot be calculated (book, choice, glossary). Next to the time you should see the prefetch icon if the module hasn't been downloaded. Please notice that Book, IMSCP, Page and mini-site resources are automatically downloaded when opened. If the module hasn't been downloaded, download it now. Once downloaded, check that the download icon has disappeared from the context menu. Also, check that you see the size used by the module. Please notice that the size will only be shown if the module has at least 1 file in its content or description. Now click the context menu action to delete the content and confirm. Once deleted, check that the size isn't seen anymore and the module is now marked as not downloaded (you see the download icon).
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      We should allow seeing the downloaded size and the time modified of each module, like we do in Wiki.

      The app should show this data inside each downloadable module, in the context menu.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Feb/17