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

Refactor how the app checks automatic completion changes



      Initially, completion was only displayed in course page so what the app did was:

      When something that can change completion happens, the module has automatic completion and it's incomplete, we refresh the course page to get the latest completion (and get new restricted activities if needed).

      Now we also display completion in the module entry page so, besides the above, now we also update the affected activity data (not all course) when something that can change completion happens (this is done in the fetchModule function).

      In order to save data and avoid refreshing the course page when it isn't needed, it would be better to always fetch de module info first and, if we detect that the state has changed, then refresh the course page.

            dpalou Dani Palou
            dpalou Dani Palou
            0 Vote for this issue
            1 Start watching this issue


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