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

Give teachers more flexibility to customise their own view of the question bank

    XMLWordPrintable

Details

    • Improvement
    • Status: Waiting for feedback
    • Major
    • Resolution: Unresolved
    • 4.1
    • None
    • Questions
    • MOODLE_401_STABLE
    • MDL-74054_master
    • Hide

       

      Set up

      1. Create a course (Course 1)
      2. Navigate to the question bank
      3. Create 2 True/False questions

      Plugin config page (Column sort order ):

      Site Administration > Plugins > Questions bank plugin > Column sort order 

      http://{site}/question/bank/columnsortorder/sortcolumns.php?section=columnsortorder

       

      Question bank page

      Sort Column

      1. Go to the plugin config page (see above)
      2. Using drag icon to move a column (A) into a previous column (B) :
        • Column A should be inserted before column B
      3. Reload the page:
        • Column A should still be before column B
      4. Go to Course 1 question bank
        • Column A  should be displayed before column B
      5. Turn on edition mode
      6. Drag column B into column A
        • Column B should be inserted before column A
      7. Reload the page:
        • Column B should still be before column A
      8. Go to plugin config page, the change we made in question bank should not be reflected on this page:
        • Column B should NOT be before column A 

      Pin Column

      1. Go to the plugin config page
      2. Using pin icon to pin a column
      3. The background of the column and any one before it should be turned into "wheat" color
      4. Go to Course 1 question page
      5. The background of the pinned column (and the one before it) should be in "Wheat color"
      6. Make the Browser windows small until a vertical scroll bar is displayed in the question table.
      7. Move the scroll bar:
        • The pinned columns should be sticky
      8. Turn editing mode on
      9. Pin another column
      10. Reload the page:
        • New pinned columns should be shown
      11. Go to plugin config page
        • The pinned column should remain the same as step 2 (Should be different than the on in step 9)

      Hide and show column

      1. Go to plugin config page
      2. Click on "Show/Hide" dropdown
      3. Click on one or more columns to show/hide:
        • The changes should be reflected in the table below
      4. Go to Course 1 question bank:
        • The table should not display any hidden column we made in step 3
      5. Turn editing mode on
      6. Show another column
      7. Go to plugin config page:
        1. The column in step 6 should still be hidden.

      Resize column

      1. Go to the plugin config page
      2. Use the resize icon ( || ) to resize or or more columns
      3. Reload the page:
        • The column width should be persisted
      4. Single-click the resize icon to display the modal resize dialog
      5. Enter a new column width and click "Cancel"
        • The column should remain the origin size
      6. Single-click the resize icon to display the modal resize dialog again
      7. Enter a new column width and click "Save changes"
        • The column width you entered should be reflected on the page
      8. Reload the page:
        • The column width should be persisted
      9. Go to Course 1 question bank page
        • The resized widths should also be reflected
      10. Turn editing mode on
      11. Resize a column
      12. Go to Plugin config page:
        • Change in step 8 should not be applied to the table on this page.

      Reset

      1. Go to course 1 question bank page
      2. Turn editing mode on
      3. Click on reset button above the question table:
        • Any changes we made to the column (move, resize, pin, hide/show) at this page will be lost
        • The configuration should be the same as the one on plugin config page
      Show
        Set up Create a course (Course 1) Navigate to the question bank Create 2 True/False questions Plugin config page (Column sort order ): Site Administration > Plugins > Questions bank plugin > Column sort order  http://{site}/question/bank/columnsortorder/sortcolumns.php?section=columnsortorder   Question bank page Sort Column Go to the plugin config page (see above) Using drag icon to move a column (A) into a previous column (B) : Column A should be inserted before column B Reload the page: Column A should still be before column B Go to Course 1 question bank Column A  should be displayed before column B Turn on edition mode Drag column B into column A Column B should be inserted before column A Reload the page: Column B should still be before column A Go to plugin config page, the change we made in question bank should not be reflected on this page: Column B should NOT be before column A  Pin Column Go to the plugin config page Using pin icon to pin a column The background of the column and any one before it should be turned into "wheat" color Go to Course 1 question page The background of the pinned column (and the one before it) should be in "Wheat color" Make the Browser windows small until a vertical scroll bar is displayed in the question table. Move the scroll bar: The pinned columns should be sticky Turn editing mode on Pin another column Reload the page: New pinned columns should be shown Go to plugin config page The pinned column should remain the same as step 2 (Should be different than the on in step 9) Hide and show column Go to plugin config page Click on "Show/Hide" dropdown Click on one or more columns to show/hide: The changes should be reflected in the table below Go to Course 1 question bank: The table should not display any hidden column we made in step 3 Turn editing mode on Show another column Go to plugin config page: The column in step 6 should still be hidden. Resize column Go to the plugin config page Use the resize icon ( || ) to resize or or more columns Reload the page: The column width should be persisted Single-click the resize icon to display the modal resize dialog Enter a new column width and click "Cancel" The column should remain the origin size Single-click the resize icon to display the modal resize dialog again Enter a new column width and click "Save changes" The column width you entered should be reflected on the page Reload the page: The column width should be persisted Go to Course 1 question bank page The resized widths should also be reflected Turn editing mode on Resize a column Go to Plugin config page: Change in step 8 should not be applied to the table on this page. Reset Go to course 1 question bank page Turn editing mode on Click on reset button above the question table: Any changes we made to the column (move, resize, pin, hide/show) at this page will be lost The configuration should be the same as the one on plugin config page

    Description

      More flexibility for configuring the question-bank view

      • Move the feature to core qbank api and implement the usage from this plugin
      • possibility to individualize question bank view not only for administrators on site level, but also for teachers on question bank level
      • As a teacher I can move question bank columns
      • As a teacher I can (un-)hide question bank columns
      • As an admin I can make certain columns of the question bank stick
      • As a teacher I can make certain columns of the question bank stick
      • Sensible default of question bank columns and order on the different question bank views (main page, usage, history)
      • Changes made by a teacher in the question bank are stored in user preferences, and applied to all question banks for that user. This allows each user to customise the view according to their preference.
      • User preferences can be set to the system default (defined by admin)

       

      Attachments

        1. admin1.png
          admin1.png
          95 kB
        2. admin2-resize.png
          admin2-resize.png
          95 kB
        3. admin3-resizemodal.png
          admin3-resizemodal.png
          98 kB
        4. admin4-pinned.png
          admin4-pinned.png
          86 kB
        5. admin5-reorder.png
          admin5-reorder.png
          96 kB
        6. admin6-showhide.png
          admin6-showhide.png
          93 kB
        7. mdl-74054.webm
          3.29 MB
        8. questionbank.png
          questionbank.png
          91 kB
        9. Screenshot from 2022-11-16 09-25-03.png
          Screenshot from 2022-11-16 09-25-03.png
          155 kB
        10. Screenshot from 2022-11-16 09-25-58.png
          Screenshot from 2022-11-16 09-25-58.png
          127 kB
        11. Screenshot from 2022-11-16 13-14-35.png
          Screenshot from 2022-11-16 13-14-35.png
          69 kB
        12. Screenshot from 2022-11-16 13-15-24.png
          Screenshot from 2022-11-16 13-15-24.png
          77 kB
        13. Screenshot from 2022-11-16 13-48-18.png
          Screenshot from 2022-11-16 13-48-18.png
          278 kB
        14. Screenshot from 2022-11-16 13-52-33.png
          Screenshot from 2022-11-16 13-52-33.png
          322 kB

        Issue Links

          Activity

            People

              marxjohnson Mark Johnson
              safatshahin Safat Shahin
              Tim Hunt Tim Hunt
              Shamim Rezaie Shamim Rezaie
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 35 minutes
                  2d 35m