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

Add the "expand / collapse all sections" on the section page

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Course
    • MOODLE_405_STABLE
    • mdl-81768_main
    • Hide
      1. Create a new Custom sections course with 1 section (besides the General section).
      2. Turn edit mode on (if it isn't already).
      3. Click the section menu then View to go to the section page.
      4. Verify the all-section toggler is not displayed.
      5. Add a subsection.
      6. Verify the all-section toggler is displayed.
      7. Click the all-section toggler.
      8. Verify the subsection is collapsed.
      9. Delete the subsection.
      10. Verify the all-section toggler is not displayed.
      11. Return to the course main page.
      12. Verify Section 1 is expanded (so the Collapse All in the section page has not toggled all sections).
      Show
      Create a new Custom sections course with 1 section (besides the General section). Turn edit mode on (if it isn't already). Click the section menu then View to go to the section page. Verify the all-section toggler is not displayed. Add a subsection. Verify the all-section toggler is displayed. Click the all-section toggler. Verify the subsection is collapsed. Delete the subsection. Verify the all-section toggler is not displayed. Return to the course main page. Verify Section 1 is expanded (so the Collapse All in the section page has not toggled all sections).
    • Show
      Fails against automated checks. Checked MDL-81768 using repository: https://github.com/james-cnz/moodle main (1 errors / 0 warnings) [branch: mdl-81768_main | CI Job ] overview (0/0) , phplint (0/0) , phpcs (0/0) , js (0/0) , css (0/0) , phpdoc (0/0) , commit (1/0) , savepoint (0/0) , thirdparty (0/0) , externalbackup (0/0) , grunt (0/0) , shifter (0/0) , mustache (0/0) , gherkin (0/0) , Should these errors be fixed? Built on: Tue 10 Dec 2024 10:10:26 AM UTC
    • 2

      This issue is part of the course hierarch project.

      Issue goals

      With the addition of subsections, it has become necessary to implement the "expand/collapse all sections" feature on the section page. This feature would allow the user to easily expand or collapse all the subsections under a particular section with just a single click.

       

      The patch includes the fix for MDL-83262.

            james-cnz James E. Calder
            tusefomal Ferran Recio
            Laurent David Laurent David
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

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

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