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

Implement "My courses" page

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-70801-new
    • Hide

      Behat & PHPUnit passes

      Requirements:

      • Newly installed site
      • 1 course with a student enrolled

      Test

      1. Log in as the student enrolled in the course
      2. Confirm that the following block is not on the dashboard page:
        1. Course overview
      3. Click on 'My courses' in the top navigation
      4. Confirm you are redirected to the my courses page (<website>/my/courses.php)
      5. Confirm that you see the following block:
        1. Course overview
      6. Confirm you cannot see the edit toggle in the navbar
      7. Log out
      8. Log in as Admin
      9. Click on 'My courses' in the top navigation
      10. Confirm you are redirected to the my courses page (<website>/my/courses.php)
      11. Confirm you can see the edit toggle in the navbar
      12. Turn editing on
      13. Confirm you can not move the block
      14. Confirm you can not delete the block
      15. Change site theme to Classic
      16. Confirm you do not see a My courses node at the top of the site
      17. Navigate to site home
      18. Add the Navigation block if it does not exist
      19. Expand Site pages in the Navigation block
      20. Confirm you see My courses as an option
      21. Click My courses
      22. Confirm you are redirected to the my courses page (<website>/my/courses.php)

       

      Upgrade test requirements:

      • Site installed before this patch is applied i.e. #1d70079 <<git checkout #1d70079>>
      • 2 learner users (S1, S2)

      Upgrade test:

      1. Login as S1
      2. Navigate to /my
      3. Turn editing on
      4. Add any block that does not currently exist on the page
      5. Log out
      6. As an admin, upgrade the site
      7. Confirm the upgrade is successful
      8. Navigate to /my/indexsys.php
      9. Confirm that the course overview block does not exist
      10. Go to my/courses.php
      11. Confirm that the course overview block exists
      12. Log in as S1
      13. Navigate to /my
      14. Confirm that the course overview block does not exist
      15. Confirm that the block added in step 4 still exists
      16. Go to my/courses.php
      17. Confirm that the course overview block exists
      18. Log in as S2
      19. Navigate to /my
      20. Confirm that the course overview block does not exist
      21. Go to my/courses.php
      22. Confirm that the course overview block exists
      Show
      Behat & PHPUnit passes Requirements: Newly installed site 1 course with a student enrolled Test Log in as the student enrolled in the course Confirm that the following block is not on the dashboard page: Course overview Click on 'My courses' in the top navigation Confirm you are redirected to the my courses page (<website>/my/courses.php) Confirm that you see the following block: Course overview Confirm you cannot see the edit toggle in the navbar Log out Log in as Admin Click on 'My courses' in the top navigation Confirm you are redirected to the my courses page (<website>/my/courses.php) Confirm you can see the edit toggle in the navbar Turn editing on Confirm you can not move the block Confirm you can not delete the block Change site theme to Classic Confirm you do not see a My courses node at the top of the site Navigate to site home Add the Navigation block if it does not exist Expand Site pages in the Navigation block Confirm you see My courses as an option Click My courses Confirm you are redirected to the my courses page (<website>/my/courses.php)   Upgrade test requirements: Site installed before this patch is applied i.e. #1d70079 <<git checkout #1d70079>> 2 learner users (S1, S2) Upgrade test: Login as S1 Navigate to /my Turn editing on Add any block that does not currently exist on the page Log out As an admin, upgrade the site Confirm the upgrade is successful Navigate to /my/indexsys.php Confirm that the course overview block does not exist Go to my/courses.php Confirm that the course overview block exists Log in as S1 Navigate to /my Confirm that the course overview block does not exist Confirm that the block added in step 4 still exists Go to my/courses.php Confirm that the course overview block exists Log in as S2 Navigate to /my Confirm that the course overview block does not exist Go to my/courses.php Confirm that the course overview block exists
    • 5
    • 4.0 Navigation blitz, 4.0 Navigation blitz 2, 4.0 Navigation blitz 3, QA blitz, QA blitz 3, Navigation push ahead, Navigation push 2, Navigation push 5, Navigation push 6, Navigation push 7, Navigation push 8

      Given the prototype for Moodle 4.0 a new "My courses" page will exist within the primary navigation.

      Given discussions presented by the UX team it has been raised that a quick UX win could be to add the following buttons to the incoming my courses page: "New course" & "Manage courses" this would allow users from having to navigate into the link farm within site administration or directly typing in <foo.bar>/courses to get to the course management page.

      Given this new page is required to be shown in the primary navigation, investigation & implementation should be done to add a navigation node for the page into the primary navigation.

      Note: Discussion needed around allowing this page to behave in a similar way as site home & dashboard in being the default page or user definable site home.

      Cheers,

       

      EDIT: git grep MDL-70801 to update the breadcrumb to point to this new page rather than /courses

      EDIT2: following recent UX discussions I'm adding some notes here on how this page should behave:

      • It should not be an editable page (meaning, unlike dashboard it is not customisable)
      • It should only contain the course overview block, not the recently accessed courses block
      • The default sort order should be "Last accessed"

            mathewmay Mathew May
            mathewmay Mathew May
            Peter Dias Peter Dias
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            1 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 weeks, 1 day, 5 hours, 51 minutes
                6w 1d 5h 51m

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