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

Add qbank_previewquestion to core

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • master_MDL-71614-previewquestion
    • Hide

      Test scenario 1

      1. Login into the Moodle site as an administrator
      2. Navigate to: Site administration > Plugins > Plugins overview
      3. Confirm:
        • That the “Preview question bank feature” plugin appears under the "Question banks plugins" section

      Test scenario 2

      1. Create a Course
      2. Navigate to the created course: Actions menu (Gear icon) > Question banks
      3. Create a new question using any question type.
      4. Access to the Question bank main page.
      5. Click the cog to see the list of actions.
      6. Select Preview.
      7. Confirm:
        • That the URL for preview goes to the plugin (eg. question/bank/previewquestion)
        • That the page shows the preview of the question.
        • That the page is capable of handling question testing using the features.
      8. Select Close preview.
      9. Confirm:
        • That the page redirects back to the base view it came from.
      Show
      Test scenario 1 Login into the Moodle site as an administrator Navigate to: Site administration > Plugins > Plugins overview Confirm: That the “Preview question bank feature” plugin appears under the "Question banks plugins" section Test scenario 2 Create a Course Navigate to the created course: Actions menu (Gear icon) > Question banks Create a new question using any question type. Access to the Question bank main page. Click the cog to see the list of actions. Select Preview. Confirm: That the URL for preview goes to the plugin (eg. question/bank/previewquestion) That the page shows the preview of the question. That the page is capable of handling question testing using the features. Select Close preview. Confirm: That the page redirects back to the base view it came from.

      This implementation will introduce a qbank plugin "previewquestion"
      which will view the preview question action in the question bank
      actions by replacing the core classes, scripts and yui modules.
      This plugin will also replace the preview option in the edit
      question form. Having this plugin will give users the
      flexibility of enabling or disabling this feature from
      the question bank view.

      This change will also allow other qbank plugins to add
      elements or information in the preview question page
      by implementing a callback. It also changes the pop
      up to page redirect from base view page to make sure
      any changes in preview reflect in the base view, for
      example, comments added and the number of comments in
      the comments column changes while back from the preview
      page. Other locations like edit and qtype plugins where
      the preview is implemented, stays the same.

            safatshahin Safat Shahin
            mattp@catalyst-au.net Matt Porritt
            Matt Porritt Matt Porritt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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