Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3804 Moodle App User Interface (UI) improvements for 4.0
  3. MOBILE-3932

File resource should display the file media type, size and other useful information in their own page

    XMLWordPrintable

Details

    • Sub-task
    • Status: Development in progress
    • Minor
    • Resolution: Unresolved
    • 3.9.5
    • None
    • Resource add-on
    • Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login in master site as a student.
      2. Go to MM Dev Testing > Resource: File > Sample PDF. Check that you see some info about the file: type, size, created date, modified date.
      3. Click open. Check that the file is opened.
      4. Go back to the app. Check that now it also says when it was last downloaded.
      5. In web as teacher, go to edit that resource.
      6. In the file picker, don't delete the existing file. Instead, upload a new file with the same name as the existing one and select "Overwrite" when Moodle tells you there's a file with that name.
      7. Save changes.
      8. Back in the app, perform a Pull To Refresh. Check that now it displays a warning saying "This file has changed since you last opened it.".
      9. Go offline and click "Open". Check that you see a confirm modal saying: "There is a newer version of this file. To see it, please connect your device to the internet.".
      10. Click cancel. Check that the file isn't opened.
      11. Repeat step 9 and click OK now. Check that the file is opened.
      12. Now go online and click "Open". Check that the file is opened without the confirm.
      13. Check that now the app no longer displays the warning "This file has changed since you last opened it.".
      Show
      This issue only needs to be tested in 1 device. In the app, login in master site as a student. Go to MM Dev Testing > Resource: File > Sample PDF. Check that you see some info about the file: type, size, created date, modified date. Click open. Check that the file is opened. Go back to the app. Check that now it also says when it was last downloaded. In web as teacher, go to edit that resource. In the file picker, don't delete the existing file. Instead, upload a new file with the same name as the existing one and select "Overwrite" when Moodle tells you there's a file with that name. Save changes. Back in the app, perform a Pull To Refresh. Check that now it displays a warning saying "This file has changed since you last opened it.". Go offline and click "Open". Check that you see a confirm modal saying: "There is a newer version of this file. To see it, please connect your device to the internet.". Click cancel. Check that the file isn't opened. Repeat step 9 and click OK now. Check that the file is opened. Now go online and click "Open". Check that the file is opened without the confirm. Check that now the app no longer displays the warning "This file has changed since you last opened it.".
    • MOODLE_39_STABLE
    • Moodle App 4.0

    Description

      Instead of just the Open button, we could include the file type, download size, and the icon so it is more styled

      Attachments

        Activity

          People

            dpalou Dani Palou
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: