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

Display ID number and tags in the question bank UI

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • Hide
      1. Import the attached Moodle XML file into the question bank of a new test course (assuming that MDL-66801 has been fixed).
      2. After import, you should be on the question-bank view for imported category.
      3. Expand the 'Select a category' drop-down menu at the top, so you can check how the choices are displayed.
      4. Verify the choices are 'Category 1 [catidnumber] (4)', 'Category 2' and 'Category 3 [0]'.
      5. Now switch to the 'Categories' tab of the question bank UI.
      6. Verify that the idnumber is shown after the category name for categories with an idnumber. (See attached screeng grab for expected styling.)
      7. Click on the name of 'Category 1' to go back to the question list.
      8. Verify that the question 'Question with tags' has the tags shown in the question bank view.
      9. Verify that the question 'Question with idnumber' has the idnumber shown in the question bank view.
      10. Verify that the question 'Question with both' has the idnumber and tags shown in the question bank view. (Again, expected styling in the attached screen-grab.)
      11. Verify re-size the browser window, and verify that things are resized appropriately.
      12. Now go back to the course page, and turn editing on.
      13. Add a new quiz.
      14. Go to the 'Edit quiz' page for the new quiz.
      15. Choose 'Add -> From question bank'.
      16. Verify that the tags and idnumber are visible here too..
      17. Verify that in the file config-dist.php in the Moodle code, the explanation of the settings questionbankcolumns makes sense.
      Show
      Import the attached Moodle XML file into the question bank of a new test course (assuming that MDL-66801 has been fixed). After import, you should be on the question-bank view for imported category. Expand the 'Select a category' drop-down menu at the top, so you can check how the choices are displayed. Verify the choices are 'Category 1 [catidnumber] (4)', 'Category 2' and 'Category 3 [0] '. Now switch to the 'Categories' tab of the question bank UI. Verify that the idnumber is shown after the category name for categories with an idnumber. (See attached screeng grab for expected styling.) Click on the name of 'Category 1' to go back to the question list. Verify that the question 'Question with tags' has the tags shown in the question bank view. Verify that the question 'Question with idnumber' has the idnumber shown in the question bank view. Verify that the question 'Question with both' has the idnumber and tags shown in the question bank view. (Again, expected styling in the attached screen-grab.) Verify re-size the browser window, and verify that things are resized appropriately. Now go back to the course page, and turn editing on. Add a new quiz. Go to the 'Edit quiz' page for the new quiz. Choose 'Add -> From question bank'. Verify that the tags and idnumber are visible here too.. Verify that in the file config-dist.php in the Moodle code, the explanation of the settings questionbankcolumns makes sense.

      Questions can have idnumbers and tags to help organise them and use them in various ways (e.g. Quiz random questions selected by tag, or https://moodle.org/plugins/filter_embedquestion which uses idnumbers.)

      However, these things are not visible in the question bank UI, which means it is hard to organise your questions.

      This issue is to add display of both to the UI that lists questions and categories.

        1. image-2019-10-11-16-40-35-271.png
          55 kB
          Jun Pataleta
        2. image-2019-10-14-11-04-12-803.png
          408 kB
          Janelle Barcega
        3. new-add_to_quiz.png
          26 kB
          Tim Hunt
        4. new-cat_ids_in_cat_list.png
          14 kB
          Tim Hunt
        5. new-question_list.png
          27 kB
          Tim Hunt
        6. qbank-catidnumber-questionidnumber-categorylist.PNG
          74 kB
          Mahmoud Kassaei
        7. questions-and-categories.xml
          4 kB
          Tim Hunt
        8. screenshot-1.png
          4 kB
          Tim Hunt

            timhunt Tim Hunt
            mkassaei Mahmoud Kassaei
            Mahmoud Kassaei Mahmoud Kassaei
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h

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