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

Drag and drop into text question UI issues

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Questions, Quiz
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68439-master
    • Hide

      Summary

      Needs to be tested in:

      1. Chrome;
      2. Firefox; and
      3. Edge.

      Set up

      1. Log in as teacher or admin.
      2. Create a test course (or use an existing one)
      3. Create a Drag and drop into text question in the question bank.
        See the attached big-drag-drop-question.xml file for an easy import
        (https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type)

      Testing

      1. In the question bank, for the created question, click 'Edit -> Preview'.
      2. Preview the question.
      3. Verify that you can input an answer to the question by dragging with the mouse.
      4. As part of inputting your response, try dragging a different answer on top of a space that is already full.
      5. Verify that the new answer goes in the box, and the previous answer goes back home. (See the animated GIF in MDL-68113 if you want to be reminded about what the old buggy behaviour looked like.)
      6. Verify that the previous answer start to go back to home right from the box, not on the right side of the box
      7. Click the 'Submit and finish' button.
      8. Verify that the page reloads with all your answers in place, and the grade corresponds to the answer you gave.
      9. Verify that it is no longer possible to drag things.
      10. Verify that the cursor will not change to the moving cross

       

      Show
      Summary Needs to be tested in: Chrome; Firefox; and Edge. Set up Log in as teacher or admin. Create a test course (or use an existing one) Create a Drag and drop into text question in the question bank. See the attached big-drag-drop-question.xml file for an easy import ( https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type ) Testing In the question bank, for the created question, click 'Edit -> Preview'. Preview the question. Verify that you can input an answer to the question by dragging with the mouse. As part of inputting your response, try dragging a different answer on top of a space that is already full. Verify that the new answer goes in the box, and the previous answer goes back home. (See the animated GIF in MDL-68113 if you want to be reminded about what the old buggy behaviour looked like.) Verify that the previous answer start to go back to home right from the box, not on the right side of the box Click the 'Submit and finish' button. Verify that the page reloads with all your answers in place, and the grade corresponds to the answer you gave. Verify that it is no longer possible to drag things. Verify that the cursor will not change to the moving cross  

    Description

      In MDL-68113, we support the responsive mode for this question. Some issues below should be fixed for better user experience

      1. The cursor still changes to the moving cross when hovering the dropped ddwtos.
      2. When a line starts with a drag item, then the animation of "flying back to the home position" starts off at the right end of the previous line.

      Attachments

        1. 68439-2.png
          68439-2.png
          76 kB
        2. big-drag-drop-question.xml
          4 kB
        3. MDL-68439.png
          MDL-68439.png
          249 kB
        4. screenshot-3.png
          screenshot-3.png
          41 kB
        5. screenshot-4.png
          screenshot-4.png
          22 kB

        Issue Links

          Activity

            People

              HuongNV Huong Nguyen
              HuongNV Huong Nguyen
              Tim Hunt Tim Hunt
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 45 minutes
                  1h 45m