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

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

XMLWordPrintable

    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • 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.

      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.

        1. new-qbank-actions.png
          25 kB
          Tim Hunt
        2. old-qbank-actions.png
          29 kB
          Tim Hunt
        3. top align.png
          80 kB
          Luca Bösch

            timhunt Tim Hunt
            timhunt Tim Hunt
            Mahmoud Kassaei Mahmoud Kassaei
            Jake Dallimore Jake Dallimore
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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