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

Make use of the new calendar view in the calendar block

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      Setup
      1. Create some course activity modules with a selection of dates (e.g. Quiz, Assignment)
      2. Create some manual events, including:
        1. User events
        2. Events in multiple courses
        3. Events in multiple groups
        4. Events over multiple days
      3. Navigate to the main calendar view
      4. Select Manage subscriptions
      5. Subscribe to an iCal feed
      Testing

      Note: These changes currently only affect the calendar block. There are several other blocks which looks like the calendar block, but which are not the calendar block. These are not affected in this issue.

      1. Open your Dashboard
      2. Add the Calendar block
      3. Mouse over the days in the block which have events
        1. Confirm that a popover is shown listing the event details
        2. Confirm that course, and activity events include the name of the course which they are in
        3. Confirm that the icons beside each event correvtly identify user events with the user icon
        4. Confirm that events from an event subscription include the name of the subscription in brackets at the end
      4. Click on the month name in the Calendar
        1. *Confirm that you were taken to the main calendar view for "All courses"
      5. Go back
      6. Use the left/right arrows to switch month in the block
        1. Confirm that the content updated
        2. Confirm that the page did not reload
        3. Confirm that the page title and URL did not change
        4. Reconfirm that the popovers stil work as before
      7. Open a course
      8. Add the calendar block to this course
        1. Confirm that only user events, and those for the current course are shown (i.e. events for other courses aren't shown)
      9. Try hiding some event types using the Hide toggles
        1. Confirm that the page does not reload
        2. Confirm that event type highlighting changes for the day (Note: User events take priority over other event types)
        3. Confirm that all events of that type were removed from the popover
      10. Hide all event types
        1. Confirm that "No events" is shown instead of a list of events
      11. Navigate to the next month
        1. Confirm that events are still hidden
      12. Click on the month name
        1. Confirm that you are taken to the course view of the calendar
      13. Go back
      14. Click on a day in the month
        1. Confirm that you are taken to the day view of the calendar for this course
      15. Navigate to the main calendar
        1. Confirm that the month back/forward navigation still works
        2. Confirm that event drag/drop still works
      16. Use the event filters to hide some event types
        1. Confirm that events are removed from the view as you would expect
      17. Navigate to the next month
        1. Confirm that the filters are still applied
      Show
      Setup Create some course activity modules with a selection of dates (e.g. Quiz, Assignment) Create some manual events, including: User events Events in multiple courses Events in multiple groups Events over multiple days Navigate to the main calendar view Select Manage subscriptions Subscribe to an iCal feed Testing Note: These changes currently only affect the calendar block . There are several other blocks which looks like the calendar block, but which are not the calendar block. These are not affected in this issue. Open your Dashboard Add the Calendar block Mouse over the days in the block which have events Confirm that a popover is shown listing the event details Confirm that course, and activity events include the name of the course which they are in Confirm that the icons beside each event correvtly identify user events with the user icon Confirm that events from an event subscription include the name of the subscription in brackets at the end Click on the month name in the Calendar *Confirm that you were taken to the main calendar view for " All courses " Go back Use the left/right arrows to switch month in the block Confirm that the content updated Confirm that the page did not reload Confirm that the page title and URL did not change Reconfirm that the popovers stil work as before Open a course Add the calendar block to this course Confirm that only user events, and those for the current course are shown (i.e. events for other courses aren't shown) Try hiding some event types using the Hide toggles Confirm that the page does not reload Confirm that event type highlighting changes for the day (Note: User events take priority over other event types) Confirm that all events of that type were removed from the popover Hide all event types Confirm that " No events " is shown instead of a list of events Navigate to the next month Confirm that events are still hidden Click on the month name Confirm that you are taken to the course view of the calendar Go back Click on a day in the month Confirm that you are taken to the day view of the calendar for this course Navigate to the main calendar Confirm that the month back/forward navigation still works Confirm that event drag/drop still works Use the event filters to hide some event types Confirm that events are removed from the view as you would expect Navigate to the next month Confirm that the filters are still applied
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59392-master

      Description

      The calendar block should pick up the new calendar view wholesale if possible.

        Attachments

        1. after_popover.png
          after_popover.png
          77 kB
        2. after_whole_block.png
          after_whole_block.png
          66 kB
        3. before_popover.png
          before_popover.png
          44 kB
        4. before_whole_block.png
          before_whole_block.png
          75 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17