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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58490-master

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              ryanwyllie Ryan Wyllie
              Peer reviewer:
              Ryan Wyllie
              Integrator:
              Andrew Nicols
              Tester:
              John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              3 Vote for this issue
              Watchers:
              19 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/May/17