Dear community,
moodle is often being used to create courses which students can work through by themselves. In many cases it works like this:
- Student completes an activity (this can be an online or offline activity!), for offline activities this often is just a "text and media" activity shown directly in the course page.
- Student clicks "Mark as done"
- Next activity will reveal itself (because it has been configured like that by "Restrict access")
- This activity as well will be completed by the student
- Student again marks it as "done"
- The next activity will reveal itself
- and so on...
Unfortunately, by designing a course like this the following thing happens: Whenever a student marks an activity as completed the course page reloads completely. Since the course and course format reworks in moodle 4.0, activities are being able to be loaded via webservices, so it should be easily doable to only load the new activities (or sections) and render it in the course page where neccessary instead of reloading the course page completely.
Especially in some course formats the current behavior is really annoying, for example in format_tiles: Clicking the "Mark as done" button reloads the page, the animation starts, the section slowly opens and (only if you're lucky) the browser MIGHT scroll to the place where you clicked the "Mark as done" button - or not. This is really not ideal from a UX perspective.
I raised an issue in the Moodle Tracker for that: MDL-78150
Comments and upvotes very welcome!
P.S.: I tried to search the forums if this has been raised before, but could not find anything related.