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

Create New "Recently Accessed Items" block

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      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 you see "No recent items" in the Recently accessed items block

      Items accessed

      1. Go to courses c1 and c2 and access to each activity/resource
      2. Navigate to the dashboard
      3. Confirm you see the last 9 items you visited during step four in the Recently accessed items block
      4. Go to course c2 again and access again to at least one activity you accessed in step 1
      5. Navigate to the dashboard
      6. Confirm no new item card was added
      7. Go to course c3 and access to each activity/resource
      8. Navigate to the dashboard
      9. Confirm only 9 item cards are shown
      10. Confirm some course c1 activities are not shown (if in step 4 c1 activities were accessed before c2 activities)

      Items removed

      1. Log is as admin
      2. Go to course c1
      3. Removed one the activities/resources accessed by user s1 in the previous section (one that appeared in the Recently accessed items)
      4. Run cron (needed for triggering the module delete event):

        php admin/cli/cron.php
        

      5. Log in as s1
      6. Confirm the removed module is not present in the Recently accessed activities block
      Show
      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 you see "No recent items" in the Recently accessed items block Items accessed Go to courses c1 and c2 and access to each activity/resource Navigate to the dashboard Confirm you see the last 9 items you visited during step four in the Recently accessed items block Go to course c2 again and access again to at least one activity you accessed in step 1 Navigate to the dashboard Confirm no new item card was added Go to course c3 and access to each activity/resource Navigate to the dashboard Confirm only 9 item cards are shown Confirm  some course c1 activities are not shown (if in step 4 c1 activities were accessed before c2 activities) Items removed Log is as admin Go to course c1 Removed one the activities/resources accessed by user s1 in the previous section (one that appeared in the Recently accessed items) Run cron (needed for triggering the module delete event): php admin/cli/cron.php Log in as s1 Confirm the removed module is not present in the Recently accessed activities block
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63063-master-block

      Description

      • 3 rows x 3 column max layout
      • Reduce columns and number of activities as screen narrows
      • Display upto a maximum of 9 activities
      • Include activity icons

        Attachments

        1. Captura de pantalla 2018-10-25 a las 18.15.58.png
          151 kB
          Víctor Déniz Falcón
        2. Captura de pantalla 2018-10-25 a las 18.16.09.png
          145 kB
          Víctor Déniz Falcón
        3. Captura de pantalla 2018-10-25 a las 18.16.38.png
          153 kB
          Víctor Déniz Falcón
        4. Captura de pantalla 2018-10-25 a las 18.16.48.png
          159 kB
          Víctor Déniz Falcón
        5. Captura de pantalla 2018-10-25 a las 18.17.10.png
          177 kB
          Víctor Déniz Falcón
        6. Captura de pantalla 2018-10-25 a las 18.17.29.png
          119 kB
          Víctor Déniz Falcón
        7. Screen Shot 2018-10-30 at 11.01.51 am.png
          34 kB
          Suganya Arthanareeswaran
        8. userlist provider missing.png
          29 kB
          Helen Foster

          Issue Links

            Activity

              People

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

                Dates

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