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

Speed-up the my courses page options loading

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Courses
    • Labels:
    • Testing Instructions:
      Hide

      Note: The behaviour of competencies was modified to match Moodle web. If course competencies was active but there wasn't any competency linked to the course we didn't show the "Competencies" option, while Moodle web did. Now we'll show the option just like Moodle web does.

      1. In the app, login in a Moodle 3.2 and verify that the right addons are shown in each course in the My Courses page. You can use Network inspector to check that now the app is performing less WS calls.
      2. In Moodle web, as admin modify the settings so at least 1 addon changes in the app. E.g. you can go to Course administration > Edit settings > Appearance and change the value of "Show gradebook to students".
      3. Back in the app, perform a Pull To Refresh in My Courses and check that the addons displayed are updated.
      4. Now go to search course (top right icon in My Courses view), search a course you're enrolled in and click the course. Check that the right addons are loaded below the course.
      5. Now login in a Moodle 3.1 and check that the right addons are shown too (it hasn't been broken).
      6. A good place to test this is in qa.moodle.net that is running 3.2 (master), right now was doing like 200 requests, it should be faster now.
      Show
      Note: The behaviour of competencies was modified to match Moodle web. If course competencies was active but there wasn't any competency linked to the course we didn't show the "Competencies" option, while Moodle web did. Now we'll show the option just like Moodle web does. In the app, login in a Moodle 3.2 and verify that the right addons are shown in each course in the My Courses page. You can use Network inspector to check that now the app is performing less WS calls. In Moodle web, as admin modify the settings so at least 1 addon changes in the app. E.g. you can go to Course administration > Edit settings > Appearance and change the value of " Show gradebook to students ". Back in the app, perform a Pull To Refresh in My Courses and check that the addons displayed are updated. Now go to search course (top right icon in My Courses view), search a course you're enrolled in and click the course. Check that the right addons are loaded below the course. Now login in a Moodle 3.1 and check that the right addons are shown too (it hasn't been broken). A good place to test this is in qa.moodle.net that is running 3.2 (master), right now was doing like 200 requests, it should be faster now.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      For 3.2 we have MDL-55415 that will help a lot with that

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Dec/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours Time Not Required
                  3h