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

Add support for drag/drop of calendar events between different months

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide

      Browsers

      Please test on each of the supported browsers

      Themes

      Please test on both the Boost and Clean themes.

      Test set up

      1. Log in as a user
      2. Go to the calendar (from the nav drawer)
      3. New events can be added by clicking the “new event” button

      Note

      The dragging and dropping should no longer cause any page reloads. The calendar should now reload in place.

      Test single day event

      1. Create a user event in the calendar and note down the start time (e.g. 8am)
      2. Drag the event to the next/previous month links in the calendar navigation
      3. Confirm the styling of the link changed to indicate that an event is being dragged onto it
      4. Hold the dragged event over the link for 1 second
      5. Confirm that the calendar view is updated to the new month corresponding to the link you were dragging onto
      6. Drop the event onto a day in the new month
      7. Confirm that the event is now displayed on the day that you moved it to and is no longer shown on the original day

      Test multi day event

      1. Create a user event the has a multiple day duration (click the “more” button in the modal to show the duration options)
      2. Drag the event from any of the the days and onto the next/previous month links in the calendar navigation
      3. Confirm the styling of the link changed to indicate that an event is being dragged onto it
      4. Hold the dragged event over the link for 1 second
      5. Confirm that the calendar view is updated to the new month corresponding to the link you were dragging onto
      6. Confirm that as it’s being dragged each of the days that will be affected are highlighted, for example an event with a 3 day duration should highlight 3 days as it’s being dragged to show where the event will be changed
      7. Confirm that the highlight wraps to the next week if the duration of the event goes beyond the end of the week
      8. Confirm that the event is now displayed in the correct location after it’s been dropped

      Test dragging within the same month

      1. Create a user event in the calendar
      2. Drag the event to another day within the same month
      3. Drop the event on the day
      4. Confirm that the calendar is updated and the event is changed to the new day
      Show
      Browsers Please test on each of the supported browsers Themes Please test on both the Boost and Clean themes. Test set up Log in as a user Go to the calendar (from the nav drawer) New events can be added by clicking the “new event” button Note The dragging and dropping should no longer cause any page reloads. The calendar should now reload in place. Test single day event Create a user event in the calendar and note down the start time (e.g. 8am) Drag the event to the next/previous month links in the calendar navigation Confirm the styling of the link changed to indicate that an event is being dragged onto it Hold the dragged event over the link for 1 second Confirm that the calendar view is updated to the new month corresponding to the link you were dragging onto Drop the event onto a day in the new month Confirm that the event is now displayed on the day that you moved it to and is no longer shown on the original day Test multi day event Create a user event the has a multiple day duration (click the “more” button in the modal to show the duration options) Drag the event from any of the the days and onto the next/previous month links in the calendar navigation Confirm the styling of the link changed to indicate that an event is being dragged onto it Hold the dragged event over the link for 1 second Confirm that the calendar view is updated to the new month corresponding to the link you were dragging onto Confirm that as it’s being dragged each of the days that will be affected are highlighted, for example an event with a 3 day duration should highlight 3 days as it’s being dragged to show where the event will be changed Confirm that the highlight wraps to the next week if the duration of the event goes beyond the end of the week Confirm that the event is now displayed in the correct location after it’s been dropped Test dragging within the same month Create a user event in the calendar Drag the event to another day within the same month Drop the event on the day Confirm that the calendar is updated and the event is changed to the new day
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59394-master-2

      Description

      Add support for drag/drop of calendar events between different months in the wide view of the calendar.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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