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

Courses with course visibility set to hide should be labelled 'Hidden from students' in the course overview

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin.
      2. Create a new course (C1), set visibility to "Hide".
      3. Enrol yourself in course C1.
      4. Create another course (C2), set visibility to "Show".
      5. Enrol yourself in course C2.
      6. Navigate to the Dashboard.
      7. Make sure you have selected "Card" view in the Course Overview block
      8. Verify you see the label "Hidden from students" in the course card for C1
      9. Change the view to "List"
      10. Verify you see the label "Hidden from students" in the listed course C1
      11. Change view to "Summary"
      12. Verify you see the label "Hidden from students" in the summarised course C1
      13. Add the "Starred courses" block to your dashboard
      14. Star courses C1 and C2
      15. Verify you see the label "Hidden from students" in the course card for C1 in the Starred courses block.
      Show
      Log in as admin. Create a new course (C1), set visibility to "Hide". Enrol yourself in course C1. Create another course (C2), set visibility to "Show". Enrol yourself in course C2. Navigate to the Dashboard. Make sure you have selected "Card" view in the Course Overview block Verify you see the label "Hidden from students" in the course card for C1 Change the view to "List" Verify you see the label "Hidden from students" in the listed course C1 Change view to "Summary" Verify you see the label "Hidden from students" in the summarised course C1 Add the "Starred courses" block to your dashboard Star courses C1 and C2 Verify you see the label "Hidden from students" in the course card for C1 in the Starred courses block.
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull 3.6 Branch:
      MDL-65621-dimmed-courses-MOODLE_3.6
    • Pull 3.7 Branch:
      MDL-65621-dimmed-courses-MOODLE_3.7
    • Pull Master Branch:
      MDL-65621-dimmed-courses

      Description

      If a course is set as hidden in the course settings (course visibility), this course does not appear any differently from open courses in the Course Overview block. The hidden course name should ideally be differentiated from courses that are set as open ("show"). It has always been this way in previous versions. Also, the Courses (My Courses) block continues to show these hidden courses using dimmed/greyed out text.

      As a side note, the concept of "hidden course" now has two meanings – it's somewhat confusing now – and this has implications in the Course Overview block. A course can be "hidden" (course visibility) in the course settings (so students can't access it), and a course can be "hidden" in the Course Overview block by an individual user so it doesn't display in the Course Overview block for that user (unless the hidden course view is selected).

        Attachments

        1. course overview - hidden.png
          course overview - hidden.png
          320 kB
        2. my courses - hidden.png
          my courses - hidden.png
          36 kB
        3. hidden_course_mobile.jpeg
          hidden_course_mobile.jpeg
          186 kB
        4. image-2019-07-02-16-29-00-903.png
          image-2019-07-02-16-29-00-903.png
          20 kB
        5. image-2019-07-02-16-29-12-804.png
          image-2019-07-02-16-29-12-804.png
          46 kB
        6. image-2019-07-02-16-30-05-710.png
          image-2019-07-02-16-30-05-710.png
          36 kB
        7. summary-view-alignment.png
          summary-view-alignment.png
          113 kB
        8. image-2019-07-03-10-22-39-986.png
          image-2019-07-03-10-22-39-986.png
          122 kB
        9. image-2019-07-03-10-35-07-863.png
          image-2019-07-03-10-35-07-863.png
          82 kB
        10. MDL-65621.png
          MDL-65621.png
          119 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 10 minutes
                  3h 10m