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

Update competency framework css classes for use with Bootstrap 4.3.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.7.4, 3.8.1
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide

      **Test this in themes Boost and Classic

      Test 1. admin/tool/lp/templates/manage_competencies_page.mustache template

      1. Log in as the administrator.
      2. Go to Site administration > Competencies.
      3. Click on "Import competency framework".
      4. Upload the attached csv file with a compentency framework, use ";" as the field separator
      5. Go to Site administration > Competencies > Competency frameworks.
      6. Click the name of the newly created framework
      7. Verify The UI looks similar to this:

      Test 2. admin/tool/lp/templates/evidence_summary.mustache and related.

      For this test you need the Competency framework setup from test 1

      1. Create a test user Henry
      2. Navigate to the Henry's profile page
      3. Click the "Learning plans" link
      4. Click the "Add new learning plan" button
      5. Fill in the name "Henries plan" and set the status to active
      6. You should now see Henries plan
      7. Click the "Add competency" button
      8. Add a competency from the Framework you have added in the previous step
      9. You should see the new competencie in the "Learning plan competencies" table
      10. Click the name of the competency
      11. A modal should pop up with the User competency summary
      12. Click the "Rate" button
      13. Choose a rating from the available ratings, In the Evidence notes box enter "Test Note"
      14. Click the "Rate" buton in this new modal
      15. You should see the rating appear in the modal
      16. Click the "Rate" button again
      17. Add another rating
      18. Verify The UI looks similar to this

      Test 3. admin/tool/lp/templates/course_competency_statistics.mustache

      For this test you need the Competency framework setup from test 1

      1. Create a new course C1
      2. Navigate to Competencies
      3. click "Add competencies to course"
      4. Select 1 or more competencies from your framework
      5. Verify The UI looks similar to this

      est 4. admin/tool/lp/templates/template_competencies_page.mustache and template_statistics.mustache

      1. Go to Site administration > Competencies.
      2. Click "Learning plan templates"
      3. Click "Add new learning plan template"
      4. Give the learning plan a name
      5. Click the "Add competencies to learning plan button"
      6. Select 2 or more competencies
      7. Verify the UI looks similar to this:

      Test 5. report/competency/templates/user_course_navigation.mustache

      1. Create a new course C1
      2. Click the cog icon in the top right
      3. Click the more link
      4. Click the "Competency breakdown" link
      5. Verify the UI looks similar to this:

      Show
      **Test this in themes Boost and Classic Test 1. admin/tool/lp/templates/manage_competencies_page.mustache template Log in as the administrator. Go to Site administration > Competencies. Click on "Import competency framework". Upload the attached csv file with a compentency framework, use ";" as the field separator Go to Site administration > Competencies > Competency frameworks. Click the name of the newly created framework Verify The UI looks similar to this: Test 2. admin/tool/lp/templates/evidence_summary.mustache and related. For this test you need the Competency framework setup from test 1 Create a test user Henry Navigate to the Henry's profile page Click the "Learning plans" link Click the "Add new learning plan" button Fill in the name "Henries plan" and set the status to active You should now see Henries plan Click the "Add competency" button Add a competency from the Framework you have added in the previous step You should see the new competencie in the "Learning plan competencies" table Click the name of the competency A modal should pop up with the User competency summary Click the "Rate" button Choose a rating from the available ratings, In the Evidence notes box enter "Test Note" Click the "Rate" buton in this new modal You should see the rating appear in the modal Click the "Rate" button again Add another rating Verify The UI looks similar to this Test 3. admin/tool/lp/templates/course_competency_statistics.mustache For this test you need the Competency framework setup from test 1 Create a new course C1 Navigate to Competencies click "Add competencies to course" Select 1 or more competencies from your framework Verify The UI looks similar to this est 4. admin/tool/lp/templates/template_competencies_page.mustache and template_statistics.mustache Go to Site administration > Competencies. Click "Learning plan templates" Click "Add new learning plan template" Give the learning plan a name Click the "Add competencies to learning plan button" Select 2 or more competencies Verify the UI looks similar to this: Test 5. report/competency/templates/user_course_navigation.mustache Create a new course C1 Click the cog icon in the top right Click the more link Click the "Competency breakdown" link Verify the UI looks similar to this:
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67222-master

      Description

      Discovered in QA test MDLQA-13985:

      The Card elements of the competency framework does not render well because of the new flex box properties added the .card css class

      There are also some issues related to displaying badges for ratings

        Attachments

        1. 37-bs4.0.png
          44 kB
          Jun Pataleta
        2. Confirmed fixed.png
          764 kB
          Gladys Basiana
        3. course_competency_statistics.png
          615 kB
          Bas Brands
        4. evidence_summary.png
          593 kB
          Bas Brands
        5. image-2019-11-14-17-01-15-080.png
          44 kB
          Jun Pataleta
        6. image-2019-11-14-17-01-17-531.png
          44 kB
          Jun Pataleta
        7. manage_competencies_page.png
          681 kB
          Bas Brands
        8. MKR_NRW.csv
          5 kB
          Bas Brands
        9. template_competencies_page.png
          551 kB
          Bas Brands
        10. user_competency_summary_in_plan.png
          644 kB
          Bas Brands
        11. user_course_navigation.png
          451 kB
          Bas Brands

          Issue Links

            Activity

              People

              Assignee:
              basbrands Bas Brands
              Reporter:
              basbrands Bas Brands
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Jake Dallimore
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 46 minutes
                  6h 46m