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

Simplifying the external badge page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Badges
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-72141-master
    • Testing Instructions:
      Hide

      Prerequisites

      1. An outgoing server configured (mailcacher or similar).
      2. One Badgr account on badgr.io with some badges and a collection (you'll find one testing account in the "Moodle testing accounts, data & credentials").

      Setup

      1. Login as admin.
      2. Go to "Preferences / Badges / Backpack settings".
      3. Connect to the backpack using the Badgr.io account.
      4. Open the verification email and open the URL to validate the account.
      5. Confirm status is set to Connected.
      6. In the "Badge import settings" section (in the "Backpack settings" page), select at least one collection with badges and save changes.
      7. Go to the user profile, and check there is, at least, one badge in the "Badges from other web sites:" section.

      Testing scenario 1: The fields are displayed properly

      1. Login as admin.
      2. Go to the user profile page.
      3. Open a badge from the "Badges from other web sites:" section.
      4. Check the badge image, name, date and description are displayed in a similar way to the ux_badges_proposal.jpg image (taken from MDL-71937).
      5. Check the Download button is not displayed.
      6. Check the "More details" link is not displayed.
      7. Check the "External URL" link is displayed and opens the external URL from badgr.io where the Badge was originally placed.

      Testing scenario 2: New fields are displayed in the template

      1. Login as admin.
      2. Go to "Development > Template library"
      3. Search for the "issued_badge" template and click over the "core_badges/issued_badge" link
      4. Check the following fields are displayed:
        • A warning notification is displayed below the badge name and above the user who has awarded the badge (something like "This user cannot be verified as a recipient of this badge").
        • The External URL field is displayed below the course name and above the badge description.
      Show
      Prerequisites An outgoing server configured (mailcacher or similar). One Badgr account on badgr.io with some badges and a collection (you'll find one testing account in the "Moodle testing accounts, data & credentials"). Setup Login as admin. Go to "Preferences / Badges / Backpack settings". Connect to the backpack using the Badgr.io account. Open the verification email and open the URL to validate the account. Confirm  status is set to Connected. In the "Badge import settings" section (in the "Backpack settings" page), select at least one collection with badges and save changes. Go to the user profile, and check there is, at least, one badge in the "Badges from other web sites:" section. Testing scenario 1: The fields are displayed properly Login as admin. Go to the user profile page. Open a badge from the "Badges from other web sites:" section. Check  the badge image, name, date and description are displayed in a similar way to the  ux_badges_proposal.jpg  image (taken from  MDL-71937 ). Check  the Download button is not displayed. Check the "More details" link is not displayed. Check the "External URL" link is displayed and opens the external URL from badgr.io where the Badge was originally placed. Testing scenario 2: New fields are displayed in the template Login as admin. Go to "Development > Template library" Search for the "issued_badge" template and click over the "core_badges/issued_badge" link Check the following fields are displayed: A warning notification is displayed below the badge name and above the user who has awarded the badge (something like "This user cannot be verified as a recipient of this badge"). The External URL field is displayed below the course name and above the badge description.
    • Sprint:
      Moppies Kanban

      Description

      This is a follow-up of MDL-71937, to review and simplify too the badges page for displaying external badges and making consistent both pages.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Amaia Anabitarte Amaia Anabitarte
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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