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

New Myoverview block causes major display updates while it loads

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Please test this in both themes Clean and Boost using at least 2 different browsers

      1. Login as admin and create at least 5 courses, c1 to c5
      2. Enrol yourself in all 5 courses
      3. Create a choice activity in course c1 with 2 options, yes and no
      4. Navigate to your dashboard
      5. Click the customise this page button
      6. Add blocks "Starred courses", "Recently accessed items".
      7. Move the "Starred courses" block above the "Course overview" block
      8. Move the "Recently accessed items" above the "Course overview" block.
      9. In the "Course overview" block star 3 courses
      10. Navigate to course c1, view the choice activity
      11. Navigate back to your dashboard
      12. Scroll the "Recently accessed courses" into view
      13. Refresh the page and observe the change from the loading placeholder to real content
      14. Verify the block size does not jump much, 5px should be the max
      15. Scroll the "Recently accessed items" into view
      16. Refresh the page and observe the change from the loading placeholder to real content
      17. Verify the block size does not jump much, 5px should be the max
      18. Scroll the "Starred courses" into view
      19. Verify the block size does not jump much, 5px should be the max
      20. Scroll the "Course overview" block into view
      21. Refresh the page  and observe the change from the loading placeholder to real content
      22. Verify the block size only grows and never shrinks

      Test with no content

      1. Login as admin and create a new user: user1
      2. Login as user1
      3. Navigate to your dashboard
      4. Repeat steps 11 to 22.
      Show
      Please test this in both themes Clean and Boost using at least 2 different browsers Login as admin and create at least 5 courses, c1 to c5 Enrol yourself in all 5 courses Create a choice activity in course c1 with 2 options, yes and no Navigate to your dashboard Click the customise this page button Add blocks "Starred courses", "Recently accessed items". Move the "Starred courses" block above the "Course overview" block Move the "Recently accessed items" above the "Course overview" block. In the "Course overview" block star 3 courses Navigate to course c1, view the choice activity Navigate back to your dashboard Scroll the "Recently accessed courses" into view Refresh the page and observe the change from the loading placeholder to real content Verify the block size does not jump much, 5px should be the max Scroll the "Recently accessed items" into view Refresh the page and observe the change from the loading placeholder to real content Verify the block size does not jump much, 5px should be the max Scroll the "Starred courses" into view Verify the block size does not jump much, 5px should be the max Scroll the "Course overview" block into view Refresh the page  and observe the change from the loading placeholder to real content Verify  the block size only grows and never shrinks Test with no content Login as admin and create a new user: user1 Login as user1 Navigate to your dashboard Repeat steps 11 to 22.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63663-master

      Description

      Go to dashboard.

      See the "Course overview" block starts with a list of "blank" course placeholders.

      After a short time, the place holders disappear and are only replaced with the pagination control at the bottom of the block.

      After another short delay the real list of courses is added.

      What should happen is subjective, but the current page loading should be improved because content is added, then removed, then added, then added again and each of these changes causes the layout of the page to change which pushes all the remaining blocks up and down for each change.

       

        Attachments

        1. 1.PNG
          1.PNG
          262 kB
        2. 2.PNG
          2.PNG
          123 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m