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

Implement "User report" functionality

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75513-master-3
    • Hide

      Prerequisites

      1. Create a Course
      2. Enrol several students in the course (at least 3)
      3. Enrol one teacher
      4. Create at least one group in the course and add some of the students within the group(s).
      5. Create some activities in the course
      6. Create some grade categories in the course (Grades > Gradebook setup > Add category) and make sure you have at least several nested categories (parent-child)
      7. Create some grading items in the course (Grades > Gradebook setup > Add grade item)
      8. In the gradedebook setup page
        1. move some of the grading items under some grade categories
        2. set some of the grade items to be 'hidden'

      Test 1 (teacher)

      1. Login as teacher and navigate to the course
      2. Go to the course gradebook (Grades) and select 'User report' from the tertiary navigation selector
      3. In the User report zero state page
        1. confirm that you see an option to select a user in the tertiary navigation area
      4. Click on the option to select a user
        1. confirm that a modal appears containing a list of all gradable users enrolled in the course and an option so select all users
      5. Click on the first user from the list and you should be redirected to the User report for that particular user
      6. In the user report page
        1. confirm that the user report selector element in the tertiary navigation are now shows the selected user (avatar, name and email)
        2. confirm that you see a "View report as" selector in the tertiary navigation area
      7. Change the selected option in the "View report as" selector to "Myself"
        1. confirm that the correct data is displayed in the user report table (e.g. The hidden grade items are still displayed)
      8. Change the selected option in the "View report as" selector to "User"
        1. confirm that the correct data is displayed in the user report table (e.g. The hidden grade items are not displayed)
      9. In the user report table
        1. confirm that there is a label for each grading item above the item's name based on the type
          • for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM")
          • for manual grading items it states "MANUAL ITEM"
        2. confirm there is an option for each grade category to toggle their visibility (expand/collapse).
      10. Attempt to expand/collapse grade categories in the user report
        1. confirm that content under the given category is properly expanded or collapsed
      11. Confirm that there is an option to navigate to the next user report below the report table.
      12. Click on the next user report using bottom navigation bar
        1. confirm that you are redirected to the next user report
      13. In the bottom navigation bar
        1. confirm you see an option to navigate back to the previous user report
        2. confirm you see an option to navigate to the next user report
      14. Click on the previous report option in the bottom navigation bar
        1. confirm that you are redirected to the previous user report
      15. From the user selector select 'All users'
        1. confirm that you can see the reports for all users on the page
        2. confirm that you no longer see the previous/next user report navigation at the bottom of the page
      16. Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups)
      17. Navigate back to the grade user report
        1. confirm that there is a group selector option in the tertiary navigation area placed before the user selector option
      18. Assuming that 'All participants' is already selected in the group selector, select one user from the user selector
      19. In the user report page select a different group
        1. confirm that you are redirected back to the zero state page and you are required to select a user{}

      Test 2 (student)

      1. Login as a student in the course
      2. Navigate to the course
      3. Go to the grade User report in the course
        1. confirm that you don't see any options in the tertiary navigation area (no user, group or 'view report as' selector) aside of the tertiary navigation selector
      4. In the user report table
        1. confirm that there is a label for each grading item above the item's name based on the type
          • for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM")
          • for manual grading items it states "MANUAL ITEM"
        2. confirm there is an option for each grade category to toggle their visibility (expand/collapse).
        3. confirm that you do not see any of the hidden grade items.
      5. Attempt to expand/collapse grade categories in the user report
        1. confirm that content under the given category is properly expanded or collapsed
      Show
      Prerequisites Create a Course Enrol several students in the course (at least 3) Enrol one teacher Create at least one group in the course and add some of the students within the group(s). Create some activities in the course Create some grade categories in the course (Grades > Gradebook setup > Add category) and make sure you have at least several nested categories (parent-child) Create some grading items in the course (Grades > Gradebook setup > Add grade item) In the gradedebook setup page move some of the grading items under some grade categories set some of the grade items to be 'hidden' Test 1 (teacher) Login as teacher and navigate to the course Go to the course gradebook (Grades) and select 'User report' from the tertiary navigation selector In the User report zero state page confirm that you see an option to select a user in the tertiary navigation area Click on the option to select a user confirm that a modal appears containing a list of all gradable users enrolled in the course and an option so select all users Click on the first user from the list and you should be redirected to the User report for that particular user In the user report page confirm that the user report selector element in the tertiary navigation are now shows the selected user (avatar, name and email) confirm that you see a "View report as" selector in the tertiary navigation area Change the selected option in the "View report as" selector to "Myself" confirm that the correct data is displayed in the user report table (e.g. The hidden grade items are still displayed) Change the selected option in the "View report as" selector to "User" confirm that the correct data is displayed in the user report table (e.g. The hidden grade items are not displayed) In the user report table confirm that there is a label for each grading item above the item's name based on the type for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM") for manual grading items it states "MANUAL ITEM" confirm there is an option for each grade category to toggle their visibility (expand/collapse). Attempt to expand/collapse grade categories in the user report confirm that content under the given category is properly expanded or collapsed Confirm that there is an option to navigate to the next user report below the report table. Click on the next user report using bottom navigation bar confirm that you are redirected to the next user report In the bottom navigation bar confirm you see an option to navigate back to the previous user report confirm you see an option to navigate to the next user report Click on the previous report option in the bottom navigation bar confirm that you are redirected to the previous user report From the user selector select 'All users' confirm that you can see the reports for all users on the page confirm that you no longer see the previous/next user report navigation at the bottom of the page Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups) Navigate back to the grade user report confirm that there is a group selector option in the tertiary navigation area placed before the user selector option Assuming that 'All participants' is already selected in the group selector, select one user from the user selector In the user report page select a different group confirm that you are redirected back to the zero state page and you are required to select a user { } Test 2 (student) Login as a student in the course Navigate to the course Go to the grade User report in the course confirm that you don't see any options in the tertiary navigation area (no user, group or 'view report as' selector) aside of the tertiary navigation selector In the user report table confirm that there is a label for each grading item above the item's name based on the type for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM") for manual grading items it states "MANUAL ITEM" confirm there is an option for each grade category to toggle their visibility (expand/collapse). confirm that you do not see any of the hidden grade items. Attempt to expand/collapse grade categories in the user report confirm that content under the given category is properly expanded or collapsed
    • 4
    • HQ Team Alpha - Sprint 0.3, HQ Team Alpha - Sprint 0.4, Team Alpha - Review Sprint 0, Team Alpha - Holding pattern

      Summary:

      – Note this issue needs further writing.

      Given the Gradebook figma and status of the blocking issue, We want to now implement the user report. This will use existing user repot plugin as a base - we just tweak the output to match the design. The main difference with existing report is collapsible categories.

      User report is only way for student to see their grades so not interfering with single view report
      Single user owner

      Scope:

      1. Create a new user report base on old user report (done as part of MDL-75267?)
      2. Create custom css for the table to match the figma prtototype
      3. Enable categories/subcategories to be collapsible in report table
      4. Next previous user navigation links

      Out of scope:

      1. Zero state page creation (MDL-75267)
      2. User average across courses DOM Node (MDL-75266)
      3. Floating footer sticky navigation (MDL-75134)

      Bonus Goals

      1. Activity search similar to user search in MDL-75267

        1. student_2_MDL-75513.png
          student_2_MDL-75513.png
          79 kB
        2. student_1_MDL-75513.png
          student_1_MDL-75513.png
          77 kB
        3. Screenshot 2022-10-27 at 4.44.46 pm.png
          Screenshot 2022-10-27 at 4.44.46 pm.png
          342 kB
        4. 9_MDL-75513.png
          9_MDL-75513.png
          27 kB
        5. 8_MDL-75513.png
          8_MDL-75513.png
          81 kB
        6. 7_MDL-75513.png
          7_MDL-75513.png
          76 kB
        7. 6_MDL-75513.png
          6_MDL-75513.png
          96 kB
        8. 5_MDL-75513.png
          5_MDL-75513.png
          90 kB
        9. 4_MDL-75513.png
          4_MDL-75513.png
          96 kB
        10. 3_MDL-75513.png
          3_MDL-75513.png
          95 kB
        11. 2_MDL-75513.png
          2_MDL-75513.png
          94 kB
        12. 1_MDL-75513.png
          1_MDL-75513.png
          79 kB

            Geshoski Mihail Geshoski
            mathewmay Mathew May
            Mathew May Mathew May
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks, 2 days, 1 hour, 46 minutes
                2w 2d 1h 46m

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