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

Reduce WS requests in the course main page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.0
    • 3.5.2
    • Others
    • Hide
      1. Use a 3.6 site.
      2. Create a course with resources (with type and size shown on the course) and forums and course completion enabled.
      3. Create an URL resource configured to open in a new popup window
      4. Setup a user to have tracking enabled and enrol it into the course as student.
      5. With another user post on the forum.
      6. In the app, with the student navigate to the course .
      7. Check unread forum messages are shown and type and size on resources also.
      8. Check Loading message is not displayed while loading these data.
      9. Check completion on activities works.

      The change is on requests, so if you cannot check how many requests are done, you only can check everything is ok

      Show
      Use a 3.6 site. Create a course with resources (with type and size shown on the course) and forums and course completion enabled. Create an URL resource configured to open in a new popup window Setup a user to have tracking enabled and enrol it into the course as student. With another user post on the forum. In the app, with the student navigate to the course . Check unread forum messages are shown and type and size on resources also. Check Loading message is not displayed while loading these data. Check completion on activities works. The change is on requests, so if you cannot check how many requests are done, you only can check everything is ok
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.0

      Thanks to MDL-63522, we should be able to reduce the WS calls required to build the course frontpage, this new WS is returning extra information:

      • onclick (onclick javascript action code) Used by URL for example to built the link with the popup info
      • afterlink (after link info to be displayed) Used by forum to display unread posts and by resource/file to display the file info (type, size, etc..)
      • customdata (module custom data (JSON encoded)) Used by some modules to place extra information like resource (type, size, etc...)
      • completion (to indicate if completion is enabled or not)
      • completiondata (completion status for the current user in the module) Whether is completed or not and override information

            pferre22 Pau Ferrer
            jleyva Juan Leyva
            Albert Gasset Albert Gasset
            Juan Leyva Juan Leyva
            Albert Gasset Albert Gasset
            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.