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

Fix course index current element highlight when using subsections.

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-82407-main
    • Hide
      1. Login as admin
      2. Go to Site administration > Plugins > Activity modules > Manage activities and enable Subsection
      3. Go to Site Administration > Development > Make a test course > Select S size 
      4. Go to the course
      5. Add a subsection and move some of the created activities in it.
      6. Using the mouse wheel, scroll up and down in the page.
      7. Ensure that when the subsection item is highlighted, it only covers the subsection title (see screenshot):

      Show
      Login as admin Go to Site administration > Plugins > Activity modules > Manage activities and enable Subsection Go to Site Administration > Development > Make a test course > Select S size  Go to the course Add a subsection and move some of the created activities in it. Using the mouse wheel, scroll up and down in the page. Ensure that when the subsection item is highlighted, it only covers the subsection title (see screenshot):
    • 2
    • HQ 2024 Sprint I3.2 Moppies

      This issue is part of the course hierarch project.

      Issue goals

      When using subsections, the course index current element is not displayed correctly. Both scroll spy and the current item are threating the total subsection item as single course index item. This make a really ugly effect and looks broken.

      Steps to reproduce:

      1. Create a long course and add some subsection with 10 or so activities inside.
      2. Go to the subsection "edit settings"
      3. Expected: only the subsection title is highlighter
      4. What happens: the subsection item and all subsection activities are highlighted.

       

            laurent.david@moodle.com Laurent David
            tusefomal Ferran Recio
            Ferran Recio Ferran Recio
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 57 minutes
                1d 4h 57m

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