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

Dropping an activity on the "add an activity or resource" button should duplicate the activity in the specific sections

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 4.0
    • None
    • Course
    • MOODLE_400_STABLE
    • MDL-73442-master
    • Hide

      PHPunit provided for state actions.

      Behat tests for the duplicate tool are compatible with the existing ones.

      Drag and drop manual test

      1. Create a topic format course with at least two sections
      2. Create an activity in topic 1
      3. Drag the activity over the "Add an activity or resource" in section 0
        1. Check the text of the add activity button change to "Duplicate here"
        2. Check the button has now a darker dotted border
      4. Drag the activity out of the "Add an activity or resource"
        1. Check the add activity button returns to the default one
        2. Check the border color and width return to normal
      5. Drop the activity over the "Add an activity or resource" in section 0
        1. Check the fill section 0 is locked (with a spinner and dimmed)
      6. When the duplication is done
        1. Check the copy of the activity is created in section 0
      7. Repeat the same text but drag the activity from the course index instead of from the content.
      Show
      PHPunit provided for state actions. Behat tests for the duplicate tool are compatible with the existing ones. Drag and drop manual test Create a topic format course with at least two sections Create an activity in topic 1 Drag the activity over the "Add an activity or resource" in section 0 Check the text of the add activity button change to "Duplicate here" Check the button has now a darker dotted border Drag the activity out of the "Add an activity or resource" Check the add activity button returns to the default one Check the border color and width return to normal Drop the activity over the "Add an activity or resource" in section 0 Check the fill section 0 is locked (with a spinner and dimmed) When the duplication is done Check the copy of the activity is created in section 0 Repeat the same text but drag the activity from the course index instead of from the content.

    Description

      During the user testing, some users complain that the new "add an activity or resource" button looks like dropzones but it is not.

      Converting the button into a dropzone is easy to implement and it should be used to duplicate the activity to a specific section.

      Attachments

        Issue Links

          Activity

            People

              tusefomal Ferran Recio
              tusefomal Ferran Recio
              Amaia Anabitarte Amaia Anabitarte
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 31 minutes
                  3d 31m