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

Add a WYSIWYG field to Badges which is displayed on the Criteria page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      To test:

      Part 1.

      Run unit tests and make sure badges tests are not broken.

      Part 2.

      To test this feature you need a user who can create and award badges and a user who can earn badges.

      Test 1.

      • Create a site or course level badge.
      • Add exactly one criterion (any type).
      • Make sure you can add criterion description.
      • Make sure that the criterion description is being displayed on this badge "Criteria" page.
      • Make sure that the criterion description is being displayed on this badge "Overview" page.
      • Make sure that the criterion description is NOT being displayed on the "Manage badges" page.
      • Make sure that the criterion description is being displayed on the "Course/site badges" page (this is the page that lists all badges a user can earn).
      • Make sure that you can go back to criteria page, change the description, and it will be properly saved.
      • Issue this badge to a user.
      • Make sure that the criterion description is being displayed on the issued badge page.

      Test 2.

      • Create a site or course level badge.
      • Add TWO or MORE criteria (any type).
      • Make sure you can add each criterion description.
      • Make sure that the criteria descriptions are being displayed on this badge "Criteria" page.
      • Make sure that the criteria descriptions are being displayed on this badge "Overview" page.
      • Make sure that the criteria descriptions are NOT being displayed on the "Manage badges" page.
      • Make sure that the criteria descriptions are being displayed on the "Course/site badges" page (this is the page that lists all badges a user can earn).
      • Make sure that when you have more than 2 criteria, you can add/edit an overall criteria description (next to "This badge is awarded when..." part of the badge "Criteria" page).
      • Make sure that this overall criterion description is being displayed alongside with all other criteria.
      • Issue this badge to a user.
      • Make sure that all criteria descriptions are being displayed on the issued badge page.

      Test 3.

      • Create a course badge with some criteria and criteria description (please note that due to MDL-44479 roles may not be properly restored. It is better to test with course or activity completion)
      • Backup the course.
      • Restore the course.
      • Make sure that description is restored correctly.

      Note: The description is shown as user has entered it in the editor. By default, description format is HTML, unless user settings are plain text or markdown.

      Show
      To test: Part 1. Run unit tests and make sure badges tests are not broken. Part 2. To test this feature you need a user who can create and award badges and a user who can earn badges. Test 1. Create a site or course level badge. Add exactly one criterion (any type). Make sure you can add criterion description. Make sure that the criterion description is being displayed on this badge "Criteria" page. Make sure that the criterion description is being displayed on this badge "Overview" page. Make sure that the criterion description is NOT being displayed on the "Manage badges" page. Make sure that the criterion description is being displayed on the "Course/site badges" page (this is the page that lists all badges a user can earn). Make sure that you can go back to criteria page, change the description, and it will be properly saved. Issue this badge to a user. Make sure that the criterion description is being displayed on the issued badge page. Test 2. Create a site or course level badge. Add TWO or MORE criteria (any type). Make sure you can add each criterion description. Make sure that the criteria descriptions are being displayed on this badge "Criteria" page. Make sure that the criteria descriptions are being displayed on this badge "Overview" page. Make sure that the criteria descriptions are NOT being displayed on the "Manage badges" page. Make sure that the criteria descriptions are being displayed on the "Course/site badges" page (this is the page that lists all badges a user can earn). Make sure that when you have more than 2 criteria, you can add/edit an overall criteria description (next to "This badge is awarded when..." part of the badge "Criteria" page). Make sure that this overall criterion description is being displayed alongside with all other criteria. Issue this badge to a user. Make sure that all criteria descriptions are being displayed on the issued badge page. Test 3. Create a course badge with some criteria and criteria description (please note that due to MDL-44479 roles may not be properly restored. It is better to test with course or activity completion) Backup the course. Restore the course. Make sure that description is restored correctly. Note: The description is shown as user has entered it in the editor. By default, description format is HTML, unless user settings are plain text or markdown.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      In the Administration Block,
      open Site Administration or Course Administration
      open Badges
      click Create a new Badge

      The form for creating a Badge does not have location for adding long, formatted text with hyperlinks. The Open Badges requirements mean that the 'Description' field is not an appropriate place to put this.

      I would like an additional WYSIWYG field which can be used to add formatted text with links.

      The contents of the field would not be added to the Badge metadata, but would appear on the Moodle page linked to by the Badge 'Criteria' url.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15