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

Enable drag & drop from course index to course content and viceversa.

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-71664-master-v04
    • Hide

      Manual testing:

      1. Login as admin and create a topic format course with some activities and sections
      2. Access the course and enable edition.
      3. Display the course index and uncollapse some of the topics with activities (you probably need to close the main drawer to display the course index)
      4. Start dragging an activity from the course content:
        1. Check the element is dimmed in the course content while you drag it 
        2. Check when you move over other course content activities a black line appears indicating the drop position.
        3. Check when you move over a section title it highlights the section title as a dropzone
        4. Check when you move over a course index activity it shows a black line representing the drop position
        5. Check when you move over a course index section title it highlights as a dropzone.
      5. Drop the element in the page-top bar (where the instance title is)
        1. Check that the element is not dimmed anymore.
      6. Drag&drop the activity from the content to somewhere in the course index
        1. Check that a few seconds later the activity has changed its position in both course content and course index.
      7. Repeat the same test but with an activity from the course index (and drop it on the course content)
      Show
      Manual testing: Login as admin and create a topic format course with some activities and sections Access the course and enable edition. Display the course index and uncollapse some of the topics with activities (you probably need to close the main drawer to display the course index) Start dragging an activity from the course content: Check the element is dimmed in the course content while you drag it  Check when you move over other course content activities a black line appears indicating the drop position. Check when you move over a section title it highlights the section title as a dropzone Check when you move over a course index activity it shows a black line representing the drop position Check when you move over a course index section title it highlights as a dropzone. Drop the element in the page-top bar (where the instance title is) Check that the element is not dimmed anymore. Drag&drop the activity from the content to somewhere in the course index Check that a few seconds later the activity has changed its position in both course content and course index. Repeat the same test but with an activity from the course index (and drop it on the course content)
    • Moppies Kanban, Moppies Kanban

      The new moodle 4.0 Course editor implements a course index that has drag&drop features. However, the content drag&drop and the course Index use incompatible JS modules and cannot communicate. 

       

      This implementation will replace the current YUI drag and drop module in all formats compatible with the new UI components and the course state. Course formats that do not override "$format->supports_components" won't be able to use drag&drop in the course index and will continue using the YUI drag and drop module.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Ilya Tregubov Ilya Tregubov
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day
                1w 1d

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