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

Question bank: replace the row of edit icons with an Edit menu

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This change affects the list of questions in the question bank, and the actions you can perform on them.

      It does not change what any of the actions do* or how they are implemented, it only changes how they are triggered. What used to be icon links are now menu entries.

      The Behat coverage here is good, so the manual testing is just an extra confirmation.

      1. Find a course containing questions in the question bank.
      2. Work down all the options in the edit menu for one question, and verify that they all work.
      3. (Note, the export as XML option is new, but that functionality used to be on the question preview page.)

      When I say "it does not change what any of the actions do", there is one subtle difference. In the past the Preview action opened in a pop-up window. Now it opens in a new tab. I am claiming that in 2019, this is an improvement.

      Show
      This change affects the list of questions in the question bank, and the actions you can perform on them. It does not change what any of the actions do* or how they are implemented, it only changes how they are triggered. What used to be icon links are now menu entries. The Behat coverage here is good, so the manual testing is just an extra confirmation. Find a course containing questions in the question bank. Work down all the options in the edit menu for one question, and verify that they all work. (Note, the export as XML option is new, but that functionality used to be on the question preview page.) When I say "it does not change what any of the actions do", there is one subtle difference. In the past the Preview action opened in a pop-up window. Now it opens in a new tab. I am claiming that in 2019, this is an improvement.
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:

      Description

      Over time, in Moodle, the user-interface convention has been to replace rows of icons with an Edit drop-down menu. It would make sense to do the same thing in the qustion bank. That way, there could be a word next to each icon, and it would make the UI more extensible.

        Attachments

        1. new-qbank-actions.png
          new-qbank-actions.png
          25 kB
        2. old-qbank-actions.png
          old-qbank-actions.png
          29 kB
        3. top align.png
          top align.png
          80 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d