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

Convert drag-drop into text question type JS from YUI to AMD

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.2
    • 3.6
    • Questions
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • Hide

      This question should work almost exactly the same way it worked before, and the automated tests are a pretty good test of the functionality.

      The main thing that needs to be tested manually are visual display issues, and that the question types works on the full range of browsers and devices.

      For manual testing instructions, see MDLQA-8183, which is the standard QA test for this question type. Also the docs: https://docs.moodle.org/35/en/Drag_and_drop_into_text_question_type

      The only change from the previous behaviour is that when a drag item needs to me moved to a new place (e.g. if you drag something into a place that is already full, and the thing that was there needs to be sent home, then that item is moved smoothly, rather than just jumping to its destination. This also applies when answering the question using only the keyboard (tab to hilight a place, then use left-right arrows).

      Show
      This question should work almost exactly the same way it worked before, and the automated tests are a pretty good test of the functionality. The main thing that needs to be tested manually are visual display issues, and that the question types works on the full range of browsers and devices. For manual testing instructions, see MDLQA-8183 , which is the standard QA test for this question type. Also the docs: https://docs.moodle.org/35/en/Drag_and_drop_into_text_question_type The only change from the previous behaviour is that when a drag item needs to me moved to a new place (e.g. if you drag something into a place that is already full, and the thing that was there needs to be sent home, then that item is moved smoothly, rather than just jumping to its destination. This also applies when answering the question using only the keyboard (tab to hilight a place, then use left-right arrows).

    Description

      Re-implementing Drag and drop into text question type.

      Rewriting the JavaScript code code in Jquery.

      This will include mouse/touch/keyboard interactions

      A new animation functionality will be introduced to animate drag items into the original positions when they have been overridden with other drag items.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              mkassaei Mahmoud Kassaei
              Mahmoud Kassaei Mahmoud Kassaei
              David Monllaó David Monllaó
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/18