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

Add course short name to courses in dashboard blocks

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Please test these changes on both the Clean and the Boost theme

      Setup your test site

      1. Login as admin
      2. Create 5 courses
      3. For each course add a course name and course sortname of various lengths, create at least one course with a very long shortname
      4. Enrol yourself on all 5 courses
      5. Navigate to your dashboard
      6. Add the "Starred courses", and "Recently accessed courses" blocks to your dashboard
      7. Move the "Starred courses", and "Recently accessed courses" blocks to the main content area.
      8. Star all 5 courses in the "Course overview" block
      9. Visit all 5 courses
      10. Navigate to Site Administration > Appearance > Courses
      11. Check the box for "Display extended course names"

      Check if course short name is shown. Please test this on both themes Clean and Boost.

      1. Verify the course short names is shown above the course name in all dashboard blocks showing course cards.
      2. Verify the course short name is truncated if the course short name is very long on course cards.
      3. On the Course Overview block change the view to "List"
      4. Verify the course shortname is shown and is not truncated when changing the browser size.
      5. On the Course Overview block change the view to "Summary"
      6. Verify the course shortname is shown and is not truncated when changing the browser size.
      7. Verify the course short name font colour is a shade lighter than the course name and lighter than the course description on the block my overview summary display. and on all other views on dashboard blocks showing course cards.

      Remove short names

      • Navigate to Site Administration > Appearance > Courses
      • Remove the check on the box for "Display extended course names"
      • Verify none of the dashboard blocks show the course shortname.
      • On the Course Overview block look at the views "List" and "Summary"
      • Verify the course shortname is not shown on these views.

      Check the heading size for the summary view on the My Overview block. Please test on both theme Clean and Boost

      1. On the dashboard switch the view to "Summary" on the Course Overview block
      2. Verify the course title looks like a heading
      3. Verify the course title heading in not bigger than the Block heading "Course Overview"

       

       

       

      Show
      Please test these changes on both the Clean and the Boost theme Setup your test site Login as admin Create 5 courses For each course add a course name and course sortname of various lengths, create at least one course with a very long shortname Enrol yourself on all 5 courses Navigate to your dashboard Add the "Starred courses", and "Recently accessed courses" blocks to your dashboard Move the "Starred courses", and "Recently accessed courses" blocks to the main content area. Star all 5 courses in the "Course overview" block Visit all 5 courses Navigate to Site Administration > Appearance > Courses Check the box for "Display extended course names" Check if course short name is shown. Please test this on both themes Clean and Boost. Verify  the course short names is shown above the course name in all dashboard blocks showing course cards. Verify  the course short name is truncated if the course short name is very long on course cards. On the Course Overview block change the view to "List" Verify the course shortname is shown and is not truncated when changing the browser size. On the Course Overview block change the view to "Summary" Verify the course shortname is shown and is not truncated when changing the browser size. Verify the course short name font colour is a shade lighter than the course name and lighter than the course description on the block my overview summary display. and on all other views on dashboard blocks showing course cards. Remove short names Navigate to Site Administration > Appearance > Courses Remove the check on the box for "Display extended course names" Verify none of the dashboard blocks show the course shortname. On the Course Overview block look at the views "List" and "Summary" Verify  the course shortname is not shown on these views. Check the heading size for the summary view on the My Overview block. Please test on both theme Clean and Boost On the dashboard switch the view to "Summary" on the Course Overview block Verify the course title looks like a heading Verify the course title heading in not bigger than the Block heading "Course Overview"      
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63988-master

      Description

      In 3.5 we were showing the course short name along with the course full name on the course overview block.

      We should add these back in for each of the course overview views (cards, list, summary) and the other dashboard blocks that show course cards.

      The UX team is going to give us a prototype for how this should look.

      The short name should be shown if the admin has set the courselistshortnames config to true in Site Admin > Appearance > Courses

        Attachments

        1. 1.PNG
          1.PNG
          278 kB
        2. 2.PNG
          2.PNG
          191 kB
        3. 3.PNG
          3.PNG
          292 kB
        4. Course short name and full name.png
          Course short name and full name.png
          79 kB
        5. Course short name and full name list view.png
          Course short name and full name list view.png
          33 kB
        6. Course short name and full name summary view.png
          Course short name and full name summary view.png
          104 kB
        7. moodlecloud courses.png
          moodlecloud courses.png
          577 kB
        8. moodlecloud timeline.png
          moodlecloud timeline.png
          514 kB
        9. Screen Shot 2018-11-15 at 15.22.26.png
          Screen Shot 2018-11-15 at 15.22.26.png
          205 kB
        10. Screen Shot 2018-11-15 at 15.22.37.png
          Screen Shot 2018-11-15 at 15.22.37.png
          58 kB
        11. Screen Shot 2018-11-15 at 15.22.47.png
          Screen Shot 2018-11-15 at 15.22.47.png
          127 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h