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

Add option to Course Format options which enables sections to be collapsed by default

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.2
    • Course
    • MOODLE_402_STABLE
    • MDL-78592-master
    • Hide
      • Create a course with at least one teacher and at least one enrolled student
      • Log in as the teacher, edit course settings and change Format to "Topics"
      • Change the new "Expanded sections" setting to "Sections are collapsed by default" and then save changes
      • Highlight a section within the course and save
      • Log in as the student and navigate to the course page
      • Confirm that all sections are collapsed, except for the first section and the highlighted section
      Show
      Create a course with at least one teacher and at least one enrolled student Log in as the teacher, edit course settings and change Format to "Topics" Change the new "Expanded sections" setting to "Sections are collapsed by default" and then save changes Highlight a section within the course and save Log in as the student and navigate to the course page Confirm that all sections are collapsed, except for the first section and the highlighted section

      Currently, when a course is set to use the Topics or Weekly format, all sections within the main course content are expanded by default. This patch adds a new setting for these course formats which enables an individual course to automatically collapse every section for those users who are new to the course.

      For users who have never expanded or collapsed a section within a course, the experience is functionally equivalent to accessing said course and immediately clicking on the "Collapse all" button in the top right-hand corner of the course content.

      The proposed enhancement is best suited for long-running courses or those that are extensive in their contents. Rather than presenting the user with one continuous run of content, which could be overwhelming, the user is instead presented with a list of sections. They can then orient themselves from this position and drill down into the specific section/sections they are interested in from this higher-level overview.

      The fact that users are initially presented with a list of sections establishes a precedent that suggests to the user that the course content is best engaged with through collapsed sections. The user is always welcome to expand all sections using the existing UI controls - however, they may think twice if they are initially presented with a list of collapsed sections, and this may result in an overall improved experience.

      The first section (which is usually the General section, and is fixed in its position as the first section) and any section that is highlighted are, however, left expanded. This helps to direct attention towards the most important sections - highlighted sections, in particular, are very easy to miss when they are placed in the middle of a large number of already expanded sections.

        1. course-initial-view.png
          160 kB
          Alec Gullon
        2. expanded-sections-setting.png
          58 kB
          Alec Gullon
        3. image-2023-07-04-10-16-40-792.png
          693 kB
          Brett Dalton
        4. image-2023-07-04-10-17-17-563.png
          594 kB
          Brett Dalton

            Unassigned Unassigned
            alec-gullon Alec Gullon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.