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

Timeline block views should display consistent information

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-73979-311-2
    • MDL-73979-master
    • Hide

      Initial setup

      • Create courses as below:
        • Course full name  Course start date Course end date
          Course 1 Yesterday Yesterday | Next year
          Course 2 Today + 1 Today + 1 | Next year
      • Create activities as below:
        • Activity type Activity name Due date Course
          Assignment Assignment from Course 1 Today + 4 Course 1
          Assignment Assignment from Course 2 Today + 5 Course 2
      • Create a student account and enrol this account on two created courses.

      4.0 Testing

      1. Login as created student account.
      2. Navigate to the dashboard.
      3. Add the Timeline block if necessary.
      4. Change Filter timeline by date to All.
      5. Change Sort timeline items to Sort by dates.
      6. Verify that you will see Assignment from Course 1.
      7. Verify that you will see  Course 1 · Assignment is due.
      8. Verify that you will see Assignment from Course 2.
      9. Verify that you will see  Course 2 · Assignment is due.
      10. Change Sort timeline items to Sort by courses.
      11. Verify that you will see Assignment from Course 1 in the Course 1 section.
      12. Verify that you will see Assignment from Course 2 in the Course 2 section.

      3.11 Testing

      1. Login as created student account.
      2. Navigate to the dashboard.
      3. Add the Timeline block if necessary.
      4. Change Filter timeline by date to All.
      5. Change Sort timeline items to Sort by dates.
      6. Verify that you will see Assignment from Course 1 is due.
      7. Verify that you will see  Course 1.
      8. Verify that you will see Assignment from Course 2 is due.
      9. Verify that you will see  Course 2.
      10. Change Sort timeline items to Sort by courses.
      11. Verify that you will see Assignment from Course 1 is due in the Course 1 section.
      12. Verify that you will see Assignment from Course 2 is due in the Course 2 section.
      Show
      Initial setup Create courses as below: Course full name  Course start date Course end date Course 1 Yesterday Yesterday | Next year Course 2 Today + 1 Today + 1 | Next year Create activities as below: Activity type Activity name Due date Course Assignment Assignment from Course 1 Today + 4 Course 1 Assignment Assignment from Course 2 Today + 5 Course 2 Create a student account and enrol this account on two created courses. 4.0 Testing Login as created student account. Navigate to the dashboard. Add the Timeline block if necessary. Change Filter timeline by date to All. Change Sort timeline items to Sort by dates. Verify that you will see Assignment from Course 1. Verify that you will see  Course 1 · Assignment is due. Verify that you will see Assignment from Course 2. Verify that you will see  Course 2 · Assignment is due. Change Sort timeline items to Sort by courses. Verify that you will see Assignment from Course 1 in the Course 1 section. Verify that you will see Assignment from Course 2 in the Course 2 section. 3.11 Testing Login as created student account. Navigate to the dashboard. Add the Timeline block if necessary. Change Filter timeline by date to All. Change Sort timeline items to Sort by dates. Verify that you will see Assignment from Course 1 is due. Verify that you will see  Course 1. Verify that you will see Assignment from Course 2 is due. Verify that you will see  Course 2. Change Sort timeline items to Sort by courses. Verify that you will see Assignment from Course 1 is due in the Course 1 section. Verify that you will see Assignment from Course 2 is due in the Course 2 section.
    • 3
    • HQ Team International CIH2-219

    Description

      Currently the dates and courses views of the timeline block do not always display the same events - courses view omits any courses outside of their start/end date range, whereas the dates view ignores those.

      To reproduce

      1. Create a course (Course 1) with an end date in the past (or start date in the future).
      2. Add an assignment (Assignment 1) activity to the course, with a due date next week.
      3. As a student enrolled in the course, view your timeline block and set the time filtering to "All".
      4. In dates view, the Assignment 1 will be listed, in courses view Assignment 1 will not be listed (because Course 1 is not listed).

      Action required

      For consistency within this block, and also with other areas of Moodle (such as my courses and course overview block), the courses view of the timeline block should be updated to display courses regardless of their start/end date. The tasks involved in this issue are therefore:

      1. Update the relevant backend web service/calls/logic so that the courses view does not exclude courses based on start/end date.
      2. Check whether changes will affect any other parts of Moodle (eg a lot of the fetching relates to calendar services that may be used in places like analytics). Confirm if any changes/side effects are desirable and adjust or document as necessary.

      Attachments

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              michaelh Michael Hawkins
              Shamim Rezaie Shamim Rezaie
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 7 hours, 25 minutes
                  1d 7h 25m