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

Convert the dock to a YUI module.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Change to the standard theme.
      3. On the front page try the following:
        • Dock all blocks on the left and make sure the left column disappears.
        • Dock all blocks on the right and make sure both columns have disappeared.
        • Refresh the page and make sure all blocks are still docked.
        • Undock one block from the left and make sure the left column is displayed along with the block correctly.
        • Undock one block from the right and make sure the right column is displayed along with the block correctly.
        • Refresh the page and make sure all blocks except the two you undocked last are still docked.
        • Click the undock all button in the dock and make sure that works OK.
        • Dock all blocks and make sure both columns disappear.
        • Click the undock all blocks button and make sure display is fine.
        • Refresh the page and check all blocks are still undocked.
      4. Test the above with the formal_white theme.
      5. Test again using Binarius.
      6. Test with one other theme that has the dock enabled.
      7. Change back to standard.
      8. Reduce the size of your browser window by about half.
      9. Dock the navigation block.
      10. Move over the navigation block to show it.
      11. Expand the courses branch make sure the dock resizes so that it doesn't expand off the screen.
      12. Expand a few nodes and checks it resizes if required to stay on the screen.
      13. Collapse a few nodes so and check the resizing again.
      14. Change to the Clean theme.
      15. Check that no blocks are docked.
      16. Using a dev tool check that no dock JS was loaded for the page.
      Show
      Log in as an admin Change to the standard theme. On the front page try the following: Dock all blocks on the left and make sure the left column disappears. Dock all blocks on the right and make sure both columns have disappeared. Refresh the page and make sure all blocks are still docked. Undock one block from the left and make sure the left column is displayed along with the block correctly. Undock one block from the right and make sure the right column is displayed along with the block correctly. Refresh the page and make sure all blocks except the two you undocked last are still docked. Click the undock all button in the dock and make sure that works OK. Dock all blocks and make sure both columns disappear. Click the undock all blocks button and make sure display is fine. Refresh the page and check all blocks are still undocked. Test the above with the formal_white theme. Test again using Binarius. Test with one other theme that has the dock enabled. Change back to standard. Reduce the size of your browser window by about half. Dock the navigation block. Move over the navigation block to show it. Expand the courses branch make sure the dock resizes so that it doesn't expand off the screen. Expand a few nodes and checks it resizes if required to stay on the screen. Collapse a few nodes so and check the resizing again. Change to the Clean theme. Check that no blocks are docked. Using a dev tool check that no dock JS was loaded for the page.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Epic Link:
    • Pull Master Branch:
      wip-MDL-40167-m26

      Description

      This is an easy one....

      Convert the dock into a YUI module that gets built by shifter.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Damyon Wiese
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13