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

Arrange blocks between My courses & My dashboard

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72092-master
    • Hide

      Behat passes.

      Manual testing:

      Requirements:

      1. 2 sites (before the patch and after the patch)
      2. 3 users (Admin, User 1, User2) in each site

      After the patch (to test a new installed site)

      1. Install a new site from integration.git
      2. Log in as Admin on the integration site
      3. Navigate to Dashboard
      4. Confirm the Timeline & Calendar blocks are in the center of the page
      5. Confirm the recently accessed items block is on the right side of the page
      6. Navigate to /my/indexsys.php
      7. Confirm the Timeline & Calendar blocks are in the center of the page
      8. Confirm the recently accessed items block is on the right side of the page
      9. Log in as User 1
      10. Navigate to Dashboard
      11. Confirm the Timeline & Calendar blocks are in the center of the page
      12. Confirm the recently accessed items block is on the right side of the page

      Before the patch (to test an upgraded site)

      Setup

      1. Install a new site from moodle.git
      2. Log in as Admin on the site
      3. Navigate to the Dashboard
      4. Delete any blocks in the center of the page except one (If no blocks exist currently add one block to the center of the page)
      5. Delete recentlyaccesseditems block (if exists) from the block drawer
      6. Navigate to /my/indexsys.php
      7. Delete any and all blocks in the center of the page
      8. Log in as User 1 on the site
      9. Navigate to the dashboard
      10. Delete any and all blocks in the center of the page
      11. Add recentlyaccesseditems block (if does not exist) in the block drawer
      12. Log in as User 2 on the site
      13. Navigate to the dashboard
      14. Delete any and all blocks in the center of the page
      15. Add recentlyaccesseditems block to the center of the page
      16. Add Calendar block to the block drawer

      NOTE: Ensure none of the remaining blocks are timeline or calendar_month for Admin, User 1 and indexsys

      The following setup should now be on the instance:
      Admin dashboard 1 block in the center
      my/indexsys.php 0 blocks in the center
      User 1 dashboard 0 blocks in the center
      User 2 dashboard 0 blocks. Calendar block in the block drawer

      Upgrade test:

      1. Check out the integration branch (after the patch)
      2. Log in as Admin on the site
      3. Run through the upgrade
      4. Confirm there are no errors
      5. Navigate to Dashboard
      6. Confirm the Timeline & Calendar blocks are in the center of the page
      7. Confirm the Recently access items is in the block drawer
      8. Navigate to /my/indexsys.php
      9. Confirm the Timeline & Calendar blocks are in the center of the page
      10. Log in as User 1
      11. Navigate to Dashboard
      12. Confirm the Timeline & Calendar blocks are in the center of the page
      13. Confirm the Recently access items is in the block drawer
      14. Log in as User 2
      15. Repeat #11-#13
      16. Confirm the calendar block is not in the block drawer
      17. Confirm the recently accessed items is not in the center of the page
      Show
      Behat passes. Manual testing: Requirements: 2 sites (before the patch and after the patch) 3 users (Admin, User 1, User2) in each site After the patch (to test a new installed site) Install a new site from integration.git Log in as Admin on the integration site Navigate to Dashboard Confirm the Timeline & Calendar blocks are in the center of the page Confirm the recently accessed items block is on the right side of the page Navigate to /my/indexsys.php Confirm the Timeline & Calendar blocks are in the center of the page Confirm the recently accessed items block is on the right side of the page Log in as User 1 Navigate to Dashboard Confirm the Timeline & Calendar blocks are in the center of the page Confirm the recently accessed items block is on the right side of the page Before the patch (to test an upgraded site) Setup Install a new site from moodle.git Log in as Admin on the site Navigate to the Dashboard Delete any blocks in the center of the page except one (If no blocks exist currently add one block to the center of the page) Delete recentlyaccesseditems block (if exists) from the block drawer Navigate to /my/indexsys.php Delete any and all blocks in the center of the page Log in as User 1 on the site Navigate to the dashboard Delete any and all blocks in the center of the page Add recentlyaccesseditems block (if does not exist) in the block drawer Log in as User 2 on the site Navigate to the dashboard Delete any and all blocks in the center of the page Add recentlyaccesseditems block to the center of the page Add Calendar block to the block drawer NOTE: Ensure none of the remaining blocks are timeline or calendar_month for Admin, User 1 and indexsys The following setup should now be on the instance: Admin dashboard 1 block in the center my/indexsys.php 0 blocks in the center User 1 dashboard 0 blocks in the center User 2 dashboard 0 blocks. Calendar block in the block drawer Upgrade test: Check out the integration branch (after the patch) Log in as Admin on the site Run through the upgrade Confirm there are no errors Navigate to Dashboard Confirm the Timeline & Calendar blocks are in the center of the page Confirm the Recently access items is in the block drawer Navigate to /my/indexsys.php Confirm the Timeline & Calendar blocks are in the center of the page Log in as User 1 Navigate to Dashboard Confirm the Timeline & Calendar blocks are in the center of the page Confirm the Recently access items is in the block drawer Log in as User 2 Repeat #11-#13 Confirm the calendar block is not in the block drawer Confirm the recently accessed items is not in the center of the page
    • 3
    • Navigation push 7, Navigation push 8, Navigation push 9, Navigation push 10, Navigation push 13, Navigation push 14

    Description

      Confirm and alter the block ordering within the dashboard & my courses pages' currently defaults are being set within MDL-70801 but we need UX to confirm exactly which blocks should appear where and when i.e. recently accessed courses added to the my courses page during installation and what blocks should be relocated during site upgrade.

      EDIT: Summary from UX discussion

      For a new site, dashboard should have:

      • Timeline block (main region)
      • Calendar block (main region)
      • Recently accessed items (block drawer, this one needs confirming still)

      For an existing site, during upgrade, dashboard should retain all blocks the site has there currently, but the course overview block is no longer required since the courses are now displayed in the my courses page. So the course overview block should be removed from the dashboard.

      EDIT 04 Feb 2022

      To clarify:

      • The dashboard should not have the recently accessed courses block
      • The my courses page should be ordered by 'Last accessed' by default

      Revised requirements as part of this issue:

      1. New default blocks for the dashboard content area - timeline, calendar block
        1. Recently accessed items should be in the right area
      2. To account for mobile - the external blocks function should return a dummy course overview block until the app has been upgraded. 

      Attachments

        Issue Links

          Activity

            People

              mathewmay Mathew May
              mathewmay Mathew May
              Peter Dias Peter Dias
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks, 6 hours, 22 minutes
                  2w 6h 22m

                  Clockify

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