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

Allow searching / filtering of courses in myoverview

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Automated testing for new functionality

      Behat covers new searching functionality

      Manual sanity check after the refactor

      (Taken from MDL-67623)

      (difficulty: easy, requires admin access, 25 test courses created)
      No pagination controls should be displayed when user not enrolled in any courses

      1. Log in as Admin
      2. Create a new Student user
      3. Log out
      4. Log in as Student user
      5. TEST: You should see 'No courses' in the Course overview block
      6. TEST: You should not see 'Show' at the bottom of the Course overview block
      7. TEST: You should not see the next page pagination icon (>) or the previous page pagination icon (<)

      Pagination should be hidden when there is only one option

      1. Log in as Admin
      2. Create a new Student user
      3. Enrol Student user in 12 courses exactly
      4. Log out
      5. Log in as Student user
      6. TEST: You should only see 12 courses in the Course overview block
      7. TEST: You should not see 'Show' at the bottom of the Course overview block
      8. TEST: You should not see the next page pagination icon (>) or the previous page pagination icon (<)
      9. Log out

      Pagination should work for pages past the second

      1. Log in as Admin
      2. Create a new Student user
      3. Enrol Student user in 25 courses
      4. Log out
      5. Log in as Student user
      6. TEST: The pagination dropdown beside Show option should have defaulted to 12 (Note: If you used an existing Student, this may not work, depending on if the user has selected a pagination option for the Course overview block previously, in which case, their previous saved preference will be used.)
      7. TEST: You should see 12 courses in the Course overview block
      8. TEST: You should not be able to select the back pagination option in the Course overview block (the < icon at the bottom right)
      9. Use next page pagination icon (>) to navigate to the second page of courses.
      10. TEST: You should only see 12 courses in the Course overview block
      11. TEST: The next page pagination icon (>) and previous page pagination icon (<) should be selectable
      12. Use next page pagination icon (>) to navigate to the third page of courses.
      13. TEST: You should now only see 1 course in the Course overview block
      14. TEST: The next page pagination icon (>) should not be selectable
      15. TEST: You should be able to select the previous page icon (<) twice to return to first page of courses
      16. Log out

      Pagination should work when total courses is the same as one of the pagination options

      1. Log in as Admin
      2. Create a Student user
      3. Enrol Student user in 24 courses exactly
      4. Log out
      5. Log in as Student user
      6. Click the dropdown beside Show to reveal the pagination options
      7. TEST: You should only see 12 and All options in the dropdown
      8. In the Course overview block of the Dashboard set the Show option to 12
      9. Use next page pagination icon (>) to navigate to the next page of courses.
      10. TEST: You should only see 12 courses in the Course overview block
      11. TEST: The next page pagination icon (>) should not be selectable
      12. In the Course overview block of the Dashboard set the Show option to All
      13. TEST: You should see all 24 courses
      14. Log out
      Show
      Automated testing for new functionality Behat covers new searching functionality Manual sanity check after the refactor (Taken from MDL-67623 ) (difficulty: easy, requires admin access, 25 test courses created) No pagination controls should be displayed when user not enrolled in any courses Log in as Admin Create a new Student user Log out Log in as Student user TEST: You should see 'No courses' in the Course overview block TEST: You should not see 'Show' at the bottom of the Course overview block TEST: You should not see the next page pagination icon ( > ) or the previous page pagination icon ( < ) Pagination should be hidden when there is only one option Log in as Admin Create a new Student user Enrol Student user in 12 courses exactly Log out Log in as Student user TEST: You should only see 12 courses in the Course overview block TEST: You should not see 'Show' at the bottom of the Course overview block TEST: You should not see the next page pagination icon ( > ) or the previous page pagination icon ( < ) Log out Pagination should work for pages past the second Log in as Admin Create a new Student user Enrol Student user in 25 courses Log out Log in as Student user TEST: The pagination dropdown beside Show option should have defaulted to 12 (Note: If you used an existing Student, this may not work, depending on if the user has selected a pagination option for the Course overview block previously, in which case, their previous saved preference will be used.) TEST: You should see 12 courses in the Course overview block TEST: You should not be able to select the back pagination option in the Course overview block (the < icon at the bottom right) Use next page pagination icon ( > ) to navigate to the second page of courses. TEST: You should only see 12 courses in the Course overview block TEST: The next page pagination icon ( > ) and previous page pagination icon ( < ) should be selectable Use next page pagination icon ( > ) to navigate to the third page of courses. TEST: You should now only see 1 course in the Course overview block TEST: The next page pagination icon ( > ) should not be selectable TEST: You should be able to select the previous page icon ( < ) twice to return to first page of courses Log out Pagination should work when total courses is the same as one of the pagination options Log in as Admin Create a Student user Enrol Student user in 24 courses exactly Log out Log in as Student user Click the dropdown beside Show to reveal the pagination options TEST: You should only see 12 and All options in the dropdown In the Course overview block of the Dashboard set the Show option to 12 Use next page pagination icon ( > ) to navigate to the next page of courses. TEST: You should only see 12 courses in the Course overview block TEST: The next page pagination icon ( > ) should not be selectable In the Course overview block of the Dashboard set the Show option to All TEST: You should see all 24 courses Log out
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_400_STABLE
    • Pull Master Branch:
    • Story Points:
      1
    • Sprint:
      QA blitz, QA blitz 3, Navigation push ahead

      Description

      We’ve been evaluating the new course overview block on qa.moodle.net and think that users would significantly benefit from being able to search, order and hide courses displayed within the block. A good use case for this can be found when logging in as the default ‘student’ account on qa.moodle.net and looking through the 'Courses' view.

      At our institution, we have previously had user feedback that the original course overview block was hard to navigate and difficult for a user to quickly find a specific course. We have made several customisations over time to enable quicker access to courses including:

      • Categorising the courses by year they are taught;
      • Ability to reorder lists and hide courses from view in the block;
      • Ability to favourite a course to make this display first and foremost for easy access

       

      Looking at the new course overview block (which offers some great new features – the timeline concept is great) we foresee the experience of a user trying to find a particular course as being more challenging in the new design, especially for users who are enrolled in many courses. As mentioned above, the ‘student’ account on qa.moodle.net provides a great example of this as the student is enrolled in 50 ‘In progress’ courses and this is displayed as 9 ‘pages’ of courses ordered alphabetically, making it very difficult to know where a course is located. As there is no way for a student to order their courses, any new enrolments may alter the page a course used to reside within meaning a student cannot remember which page number to find a course on.

      Our institution believe that the usability of this block would be greatly improved by allowing students to:

      • Search / filter all enrolled courses within the ‘Courses’ and ‘Timeline’ view
      • Hide / mute courses from displaying in the course overview block

      To provide some data around our institution, we run some stats and found:

      • 12,487 users are enrolled in over 20 courses and 46 users are enrolled in over 100 courses
      • 2 users are enrolled in over 900 courses (this is something we need to look at!)
      • Our average user is enrolled in 12 courses

      We assume that we are relatively normal here and searching and filtering would be of use for many Moodle users

       

       

        Attachments

        1. filter.png
          24 kB
          Steve Massicotte
        2. Screen Shot 2017-04-12 at 3.44.56 pm.png
          241 kB
          Greg Faller

          Issue Links

            Activity

              People

              Assignee:
              mathewmay Mathew May
              Reporter:
              gregor89 Greg Faller
              Peer reviewer:
              Peter Dias Peter Dias
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              18 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 weeks, 2 hours, 45 minutes
                  3w 2h 45m