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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      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).
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                mkassaei Mahmoud Kassaei
                Peer reviewer:
                Mahmoud Kassaei
                Integrator:
                David Monllaó
                Tester:
                Janelle Barcega
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18