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

Ability to subscribe to drawer events without initialisation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 4.0
    • Navigation
    • MOODLE_400_STABLE
    • MDL-72134-master
    • Hide
      1. Login as an admin
      2. Go to a course page
      3. Change the size of a browser to be about 1177x963 with the original side bar expanded
      4. Expand the blocks drawer
      5. Confirm the number of moremenu tabs are decreased
      6. Hide the blocks drawer
      7. Confirm the number of moremenu tabs are increased

      Retest drawers

      1. Go to a course page
      2. Click on the block drawer
      3. Confirm the drawer expands and shows blocks
      Show
      Login as an admin Go to a course page Change the size of a browser to be about 1177x963 with the original side bar expanded Expand the blocks drawer Confirm the number of moremenu tabs are decreased Hide the blocks drawer Confirm the number of moremenu tabs are increased Retest drawers Go to a course page Click on the block drawer Confirm the drawer expands and shows blocks
    • 1
    • Navigation push 4

      Secondary nav does not autoCollapse, when the page content has been resized. The autoCollapse is only hooked into the window resize, however in cases when the page is already loaded but the page width changes, then the resize is not handled.

      e.g. With the existing sidebar you can change the width of the page but this is not being handled.

      We will have to account for this considering the course index bar and block bar which is going to come in (MDL-71209).

      Please pull in the branch mentioned above and:

      1. Get the primary and secondary navigation to show up in the course page.
      2. Look at the autoCollapse of the secondary navigation when toggling the course index list and the block drawer.

      There is currently no way to subscribe to drawer events without forcing the drawer to go through it's initialisation process. This is not always required when there are shared files across multiple pages that may not have the drawer present.

            Unassigned Unassigned
            peterdias Peter Dias
            Glyn (Mathew) May Glyn (Mathew) May
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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