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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0
    • 3.9.5
    • 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 modal saying: "There is a newer version of this file. To see it, please connect your device to the internet.".
      10. Click Ok. Check that the file is opened.
      11. Now go online and click "Open". Check that the file is opened without the warning modal from step 9.
      12. 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 modal saying: "There is a newer version of this file. To see it, please connect your device to the internet.". Click Ok. Check that the file is opened. Now go online and click "Open". Check that the file is opened without the warning modal from step 9. Check that now the app no longer displays the warning "This file has changed since you last opened it.".
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

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

        1. screenshot-1.png
          screenshot-1.png
          40 kB
        2. screenshot-2.png
          screenshot-2.png
          78 kB
        3. Screenshot 2021-11-18 at 13.04.59.png
          Screenshot 2021-11-18 at 13.04.59.png
          46 kB
        4. screenshot-3.png
          screenshot-3.png
          106 kB
        5. screenshot-4.png
          screenshot-4.png
          129 kB

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.