Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1072

UI of a course with a lot of content (size M) is very slow

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Access prototype 2.9 in the app.
      2. Go to MM Developer Course contents and click "Show all". Check that the resources names and download icons are seen as soon as the list is loaded.
      3. Download modules (resource, book, page, imscp) using the icons and check that everything works as expected.
      4. Update a resource (not book) that you have downloaded, pull to refresh and check that the refresh button is shown.
      5. Start a download, go back to sections list, go into the section again and check that the downloading spinner is still shown and disappears when the download finishes.
        • NOTE: If the user goes into the section details when the files are still being added to the queue, the spinner will disappear before the download finishes. That's because we cannot detect the files are being downloaded if they're not in the queue, so they're not added to observers. I decided not to treat this case because it's really specific and it doesn't block the user.
      Show
      Access prototype 2.9 in the app. Go to MM Developer Course contents and click "Show all". Check that the resources names and download icons are seen as soon as the list is loaded. Download modules (resource, book, page, imscp) using the icons and check that everything works as expected. Update a resource (not book) that you have downloaded, pull to refresh and check that the refresh button is shown. Start a download, go back to sections list, go into the section again and check that the downloading spinner is still shown and disappears when the download finishes. NOTE: If the user goes into the section details when the files are still being added to the queue, the spinner will disappear before the download finishes. That's because we cannot detect the files are being downloaded if they're not in the queue, so they're not added to observers. I decided not to treat this case because it's really specific and it doesn't block the user.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Tested on 4.1, an M course is very slow to be displayed:

      1. Takes a long time to load
      2. Scroll is blocked for a long time
      3. Format text is very slow and most items appear empty for a long time (might be solved by MOBILE-1066)

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Juan Leyva Juan Leyva
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15