Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58490

Move courses to "past" tab on the dashboard when they are completed (course completion)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.3
    • 3.3
    • Blocks
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-58490-master
    • Hide
      1. Enable completion.
      2. You'll need to create few courses (at least 3) following these settings:
        • Future course, where start and end dates are in the future
        • Course in progress (end date in the future and start date in the past).
        • Past course where start and end dates are in the past.
      3. Add some activities to each of the created course, make sure completion is properly configured (you can use student can mark course as completed).
      4. Visit My overview block and select Courses tab.
      5. Click In progress button, make sure the course displayed is correct, now select this course.
        • It should display 0% on progress chart
      6. Run cron
      7. Complete the activity and go back to my overview > Courses.
      8. Click on Past button, make sure the course that was in progress now is on Past.
      9. It should also have the course in the past you have created.
      Show
      Enable completion. You'll need to create few courses (at least 3) following these settings: Future course, where start and end dates are in the future Course in progress (end date in the future and start date in the past). Past course where start and end dates are in the past. Add some activities to each of the created course, make sure completion is properly configured (you can use student can mark course as completed). Visit My overview block and select Courses tab. Click In progress button, make sure the course displayed is correct, now select this course. It should display 0% on progress chart Run cron Complete the activity and go back to my overview > Courses. Click on Past button, make sure the course that was in progress now is on Past . It should also have the course in the past you have created.

      Update the display grouping logic (past, in-progress, and future) in the courses view to match the following logic:

      Past

      • Course completed OR
      • Current date is after end date

      In-progress

      • Course NOT completed AND
      • Current date is after start date AND
      • (Current date is before end date OR no end date)

      Future

      • Start date > Current date AND
      • Course NOT completed

      At the moment courses that have a start date (in the past) and no end date are considered to be "in-progress" on the my overview block indefinitely (or until an end date is added and then passed).

      While this is semantically correct, it has been raised on MDL-55611 that it may not represent a good user experience (which is the most important thing).

      We need to decide is we're happy with how this is currently working or if there is a better alternative.

      Note that the course end date doesn't currently affect the visibility of events in the my overview block. The events will only display if they have an end date set specifically for that event (e.g. a due date for an assignment), they do not use the course end date. If there is no due date for the event then the event will not appear in the dashboard.

            lameze Simey Lameze
            ryanwyllie Ryan Wyllie
            Ryan Wyllie Ryan Wyllie
            Andrew Lyons Andrew Lyons
            John Okely John Okely
            Votes:
            3 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

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