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

Implement “records per page” selector in the Grader report

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MDL-76149-master
    • Hide

      Before upgrade:

      1. Log in as admin
      2. Create a course (Course1)
      3. Go to the "Grades > Preferences: Grader report" in Course1
      4. Set "Students per page" to 23 and save changes

      Proceed with the upgrade

      1. Go to "Grades > Grader report" in Course1
      2. Verify that there is a sticky footer down the page and that a pagination bar is displayed in it
      3. Verify that there is a "Show" dropdown in the sticky footer and that it contains "20", "23", "100", and "All" options with the correct ascending order
      4. Verify that "23" is preselected in the "Show" field
      5. Change the value of the dropdown to "20"
      6. Verify that the dropdown no longer contains "23" within its available options
      7. Go to the "Grades > Preferences: Grader report" in Course1
      8. Verify that there is no "Students per page" field on the page
      9. Go to Site administration > Grades > Report settings > Grader report
      10. Verify that there is no "Students per page" field on the page
      11. Edit grade/report/grader/lib.php and change the value of MAX_STUDENTS_PER_PAGE to 101
      12. Make sure at least 102 students are enrolled on the Course1
      13. Go to "Grades > Grader report" in Course1
      14. Verify that the pagination dropdown contains "20", "100", and "101" options.
      15. Verify that the pagination dropdown does not contain the "All" option.

       

      Show
      Before upgrade: Log in as admin Create a course (Course1) Go to the "Grades > Preferences: Grader report" in Course1 Set "Students per page" to 23 and save changes Proceed with the upgrade Go to "Grades > Grader report" in Course1 Verify that there is a sticky footer down the page and that a pagination bar is displayed in it Verify that there is a "Show" dropdown in the sticky footer and that it contains "20", "23", "100", and "All" options with the correct ascending order Verify that "23" is preselected in the "Show" field Change the value of the dropdown to "20" Verify that the dropdown no longer contains "23" within its available options Go to the "Grades > Preferences: Grader report" in Course1 Verify that there is no "Students per page" field on the page Go to Site administration > Grades > Report settings > Grader report Verify that there is no "Students per page" field on the page Edit grade/report/grader/lib.php and change the value of MAX_STUDENTS_PER_PAGE to 101 Make sure at least 102 students are enrolled on the Course1 Go to "Grades > Grader report" in Course1 Verify that the pagination dropdown contains "20", "100", and "101" options. Verify that the pagination dropdown does not contain the "All" option.  
    • 12
    • HQ Team Alpha - Sprint 1.2, HQ Team Alpha - Sprint 1.3

    Description

      Summary:

      Based on the figma prototype the aim of this issue is to implement a new "records per page" selector that would enable users to easily define the prefered number of displayed records per page in the Grader report.

      Scope:

      1. Implement a new "records per page" select element that would limit the number of displayed records per page in the Grader report.
      2. Place the selector below the Grader report table.
      3. Implement reasonable automated testing.

      Edited to add details:

      • The selector will have the options 20, 100, All, with default as 20.
      • A teacher can change the default and it will be remembered and applied to all courses where they are a teacher.
      • The setting ‘Students per page’ will be removed from the course Grader report preferences and in the Site admin Grader report settings.
      • For upgraded sites, if a teacher has previously set ‘Students per page’ in the Grader report preferences to say 50, then they will continue seeing the Grader report with 50 records, and 50 will be shown in the selector. If they then select say 20, they will no longer see 50 in the selector.
      • If there are more than 5000 records, then All will show 5000, with pagination to show the rest.

      Attachments

        1. classic.png
          classic.png
          234 kB
        2. MDL-76149.png
          MDL-76149.png
          658 kB

        Issue Links

          Activity

            People

              rezaie9 Shamim Rezaie
              Geshoski Mihail Geshoski
              Ilya Tregubov Ilya Tregubov
              Jake Dallimore Jake Dallimore
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 1 day Original Estimate - 1 week, 1 day
                  1w 1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days, 4 hours, 48 minutes
                  1w 2d 4h 48m

                  Clockify

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