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

Allow Default Settings for Lesson Module Settings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: Lesson
    • Testing Instructions:
      Hide

      Automated Testing:
      1. Run Behat and PHPunit tests for mod_lesson

      Manual Testing:
      Test 1 - Migration of old settings
      0. BEFORE UPGRADE
      1. Visit the current lesson admin settings page and change each of the settings from the defaults. Record the new settings.
      2. Perform the upgrade.
      3. Visit the lesson admin settings page and verify that EACH of the settings you previously changed were migrated to the new setting.
      4. Check the Moodle Database and verify that the old settings (the configuration variables) were removed from the mdl_config table.

      Test 2 - Marking features as advanced and changing defaults.
      1. Perform exploratory testing with marking different lesson setting as advanced and confirm that they are correctly identified as advanced on the add lesson form.
      2. Perform exploratory testing with changing the defaults on the lesson admin settings page and confirm that the defaults are changed on the add lesson form.

      Show
      Automated Testing: 1. Run Behat and PHPunit tests for mod_lesson Manual Testing: Test 1 - Migration of old settings 0. BEFORE UPGRADE 1. Visit the current lesson admin settings page and change each of the settings from the defaults. Record the new settings. 2. Perform the upgrade. 3. Visit the lesson admin settings page and verify that EACH of the settings you previously changed were migrated to the new setting. 4. Check the Moodle Database and verify that the old settings (the configuration variables) were removed from the mdl_config table. Test 2 - Marking features as advanced and changing defaults. 1. Perform exploratory testing with marking different lesson setting as advanced and confirm that they are correctly identified as advanced on the add lesson form. 2. Perform exploratory testing with changing the defaults on the lesson admin settings page and confirm that the defaults are changed on the add lesson form.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-52414_m31v7

      Description

      Many of the Moodle features allow for default settings to be setup in their Site Administration page. The Lesson module does not have this ability with many of its settings.

      There are currently Lesson default settings for slideshow info, popup windows, and other little background features in Site Administration > Plugins > Activity Modules > Lesson, but there are no options to manage the settings you can adjust in the Settings page of an actual lesson (i.e. the Appearance settings inside a lesson).
      Below are the fields I suggest be given the ability to have a default setting (separated according to the sections inside the Lesson Settings):
      Appearance

      • Progress Bar
      • Display Ongoing Score
      • Display Menu
      • Minimum Grade to Display Menu
      • Slideshow
      • Maximum Number of Answers
      • User Default Feedback

      Flow Control

      • Allow Student Review
      • Provide Option to Try a Question Again
      • Maximum Number of Attempts
      • Action After Correct Answer
      • Number of Pages to Show

      Grade

      • Grade (including Type, Scale, and Maximum Points)
      • Grade Category
      • Grade to Pass
      • Practice Lesson
      • Custom Scoring
      • Re-takes Allowed
      • Handling of Re-takes
      • Minimum Number of Questions

      Common Module Settings

      • Visible
      • Group Mode
      • Grouping

      Activity Completion

      • Completion Tracking
      • Require View
      • Require Grade
      • Require End Reached
      • Require Time Spent (including the minute field)

      If anything doesn't work well, please feel free to adjust.

        Attachments

        1. Defaults-1.jpg
          Defaults-1.jpg
          396 kB
        2. Defaults-2.jpg
          Defaults-2.jpg
          397 kB
        3. Defaults-3.jpg
          Defaults-3.jpg
          378 kB
        4. Defaults-4.jpg
          Defaults-4.jpg
          334 kB
        5. Defaultsv3-1.jpg
          Defaultsv3-1.jpg
          657 kB
        6. Defaultsv3-2.jpg
          Defaultsv3-2.jpg
          709 kB
        7. Defaultsv3-3.jpg
          Defaultsv3-3.jpg
          591 kB
        8. Defaultsv3-4.jpg
          Defaultsv3-4.jpg
          567 kB
        9. Defaultv2-1.jpg
          Defaultv2-1.jpg
          322 kB
        10. Defaultv2-2.jpg
          Defaultv2-2.jpg
          362 kB
        11. Defaultv2-3.jpg
          Defaultv2-3.jpg
          328 kB
        12. Defaultv2-4.jpg
          Defaultv2-4.jpg
          279 kB

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16