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

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.4
    • Calendar
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59394-master-2
    • 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

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

            ryanwyllie Ryan Wyllie
            dobedobedoh Andrew Lyons
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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