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

Let plugins refresh the course page method data of a single module

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 4.0.0
    • 3.9.4
    • Site add-ons
    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as admin, install the choicegroup plugin attached to this issue. I recommend you to install it in a site that doesn't have the choicegroup plugin installed already, I didn't bump the version number.
      2. In a course, create a choicegroup activity.
      3. In the app, login as a student and open the course. Check that, instead of the choicegroup title, you see a text with a random generated number. Remember this number.
      4. Leave the course and open it again. Check that the random number displayed is the same (the WS call is cached).
      5. Open the choicegroup.
      6. Click the button "Update course page number".
      7. Go back to the course page. Check that the random number displayed has changed.
      Show
      This issue only needs to be tested in 1 device. In web as admin, install the choicegroup plugin attached to this issue. I recommend you to install it in a site that doesn't have the choicegroup plugin installed already, I didn't bump the version number. In a course, create a choicegroup activity. In the app, login as a student and open the course. Check that, instead of the choicegroup title, you see a text with a random generated number. Remember this number. Leave the course and open it again. Check that the random number displayed is the same (the WS call is cached). Open the choicegroup. Click the button "Update course page number". Go back to the course page. Check that the random number displayed has changed.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      Plugins can display some data in course page using coursepagemethod. However, the only way to update that info is to refresh the whole course page. It would be nice to let them update this data through an event or something similar.

      Attachments

        1. screenshot-1.png
          95 kB
          Juan Leyva
        2. screenshot-2.png
          70 kB
          Juan Leyva
        3. screenshot-3.png
          98 kB
          Juan Leyva

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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