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

block_recentlyaccesseditems placeholders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: Blocks
    • Testing Instructions:
      Hide

      In the context of this block, we'll refer to activities and resources inside a course as items.

      Boost and Clean themes

      Please test the following tests on both the Boost and Clean themes.
      Please also test these on each of the supported browsers.

      Setup

      Users and enrolments

      1. Log in as admin
      2. Create 3 courses, c1, c2 and c3
      3. Add several activities/resources (items) in each course: a forum, a chat, a glossary and a page
      4. Create a user, s1
        1. Enrol s1 as a student in all 3 courses

      Tests

      No items accessed

      1. Log in as s1
      2. Add the "Recently accessed items" block to the Dashboard if not present
      3. Confirm that during loading, placeholders fill the block (no empty space for an additional placeholder)
      4. Confirm you see "No recent items" in the Recently accessed items block

      Items accessed

      Main area
      1. Go to courses c1 and c2 and access to each activity/resource
      2. Navigate to the dashboard
      3. Be sure the Recently accessed items block is in the main area.
      4. Confirm that during loading, placeholders fill the block (no empty space for an additional placeholder). The number of placeholders depends on the size of the screen
      5. Confirm Recently accessed items block is filled with items cards
      Side area
      1. Move the Recently accessed items block to the side area
      2. Refresh the page
      3. Confirm that only 1 placeholder is displayed during loading
      Show
      In the context of this block, we'll refer to activities and resources inside a course as items . Boost and Clean themes Please test the following tests on both the Boost and Clean themes. Please also test these on each of the  supported browsers . Setup Users and enrolments Log in as admin Create 3 courses, c1, c2 and c3 Add several activities/resources (items) in each course: a forum, a chat, a glossary and a page Create a user, s1 Enrol s1 as a student in all 3 courses Tests No items accessed Log in as s1 Add the "Recently accessed items" block to the Dashboard if not present Confirm that during loading, placeholders fill the block (no empty space for an additional placeholder) Confirm  you see "No recent items" in the Recently accessed items block Items accessed Main area Go to courses c1 and c2 and access to each activity/resource Navigate to the dashboard Be sure the Recently accessed items block is in the main area. Confirm that during loading, placeholders fill the block (no empty space for an additional placeholder). The number of placeholders depends on the size of the screen Confirm  Recently accessed items block is filled with items cards Side area Move the Recently accessed items block to the side area Refresh the page Confirm that only 1 placeholder is displayed during loading
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63838-master

      Description

      Number of loading placeholders does not match the layout once they have loaded.

      Whenever this block is loading, there are 3 loading icons where the items will go. When they have finished on a large screen and there are 4 activities to show - 3 loading icons are replaced with 4 items which looks jolting.

        Attachments

        1. boost_master_63838.JPG
          62 kB
          Jennifer Bauzon
        2. clean_master_63838.JPG
          61 kB
          Jennifer Bauzon
        3. placeholders.png
          49 kB
          Simey Lameze

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 3 hours
                  3h