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

Course Downloads UI not behaving as expected when Delete All button is used

XMLWordPrintable

    • Hide
      1. Open a course in the app.
      2. Go to the Course Downloads page.
      3. Download an activity/week or several activities/weeks.
      4. Observe that downloaded activities now have a red bin icon and the file size is displayed next to weeks.
      5. Tap "Delete all".
      6. Red bin icons and file sizes should not display next to activities/weeks once the downloads have been deleted.
      Show
      Open a course in the app. Go to the Course Downloads page. Download an activity/week or several activities/weeks. Observe that downloaded activities now have a red bin icon and the file size is displayed next to weeks. Tap "Delete all". Red bin icons and file sizes should not display next to activities/weeks once the downloads have been deleted.
    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • Moodle App 4.2.0

      Summary:
      On the Course Downloads page, downloading an activity or a week causes a red bin icon to appear next to the activity and week, as well as the file size of the downloaded activity/week. Tapping the "Delete all" button should cause activity downloads within the module to be deleted, and the icons on the Course Download page revert to their original state, i.e. the red bin icon next to downloaded activities/weeks disappears and only a download cloud is present next to the activity/week, and there is no file size next to the activity/week.
       
      The "Delete all" button appears to successfully delete the downloaded activities, but the file size and red bin icons next to the week/activity persist, and this is not expected behaviour.
       
      See attached video: course_download_deleteall_not_working_as_expected.mp4
       
      Steps to reproduce:

      1. Open a module in app v4.0.2.
      2. Go to the Course Downloads page.
      3. Download an activity/week or several activities/weeks.
      4. Observe that downloaded activities now have a red bin icon instead of the download cloud, and the file size is displayed next to them. Similar layout is observed next to the week containing the downloaded activity.
      5. Tap "Delete all".
      6. Observe the appearance of the icons next to the activity/activities and week(s) that you previously downloaded on the Course Downloads page.

      Expected outcome:
      Icons revert back to their pre-downloaded state and file sizes do not display next to activities/weeks once the downloads have been deleted.
       
      Actual outcome:
      The red bin icon and downloaded file size persist next to activities/weeks even after they have been deleted.

        1. course_download_deleteall_not_working_as_expected.mp4
          8.35 MB
          Toan Lam
        2. MOBILE-4300_video_2023-05-10_12-21-54.mp4
          9.50 MB
          Isabel Renedo Rouco
        3. MOBILE-4300_video_2023-05-11_17-49-58.mp4
          11.92 MB
          Isabel Renedo Rouco

            toanlam Toan Lam
            toanlam Toan Lam
            Noel De Martin Noel De Martin
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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