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

Activity Completion report should support viewing a single user

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.10.5, 3.11.5
    • Reports, UX
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72240-master
    • Easy
    • Hide

      Assumptions:

      • there exists a course, course 1, with completion tracking enabled and a page activity, activity A.
      • Course 1 has enrollments for a teacher (Foo) and multiple students (Bar and Baz).
      • Tester has access to a program capable of opening Excel-compatible CSV for verification of Excel-compatible functionality (step 6.2)

      Scenario 1: Test viewing a single user completion in a user profile.

      1. Log in as teacher Foo
      2. Go to student Baz's course 1 profile page
        1. From the course front page, go to the Participants list
        2. Find the row with student Baz and click student Baz's username
      3. Verify a link to "Activity completion" appears in the Reports section
      4. Click the "Activity completion" link in the Reports section
      5. Verify the Activity completion report shows only student Baz
      6. Verify the CSV download links contain only student Baz
        1. Verify the UTF-8-compatible CSV contains only student Baz
          1. Click the "Download in spreadsheet format (UTF-8 .csv)" link
          2. Download the CSV file, opening it in the editor of your choice
          3. Verify the file from 6.1.2 contains 2 lines: the header line and the line with student Baz
        2. Verify the Excel-compatible CSV contains only student Baz
          1. Click the "Download in Excel-compatible format (.csv)" link
          2. Download the CSV file, opening it in Excel
          3. Verify the file from 6.2.2 contains 2 lines: the header line and the line with student Baz

      Scenario 2: Test filter user in the completion report

      Setup:

      1. Login as admin
      2. Go to the completion report
      3. filter user on the participant option.

      Expected:

      1. The filter should filter right the user we have choose in the participant option
      2. Verify the UTF-8-compatible CSV contains only student Baz
        1. Click the "Download in spreadsheet format (UTF-8 .csv)" link
        2. Download the CSV file, opening it in the editor of your choice
        3. Verify the file only contains your value of the user data you have selected
      3. Verify the Excel-compatible CSV contains only student Baz
        1. Click the "Download in Excel-compatible format (.csv)" link
        2. Download the CSV file, opening it in Excel
        3. Verify the file only contains your value of the user data you have selected

      These are effectively the same as the included Behat tests.

      UI Expected:
      Activity completion report:

       UI profile in Course > participants > profile user

       
       
       

      Show
      Assumptions: there exists a course, course 1, with completion tracking enabled and a page activity, activity A. Course 1 has enrollments for a teacher (Foo) and multiple students (Bar and Baz). Tester has access to a program capable of opening Excel-compatible CSV for verification of Excel-compatible functionality (step 6.2) Scenario 1: Test viewing a single user completion in a user profile. Log in as teacher Foo Go to student Baz's course 1 profile page From the course front page, go to the Participants list Find the row with student Baz and click student Baz's username Verify a link to "Activity completion" appears in the Reports section Click the "Activity completion" link in the Reports section Verify the Activity completion report shows only student Baz Verify the CSV download links contain only student Baz Verify the UTF-8-compatible CSV contains only student Baz Click the "Download in spreadsheet format (UTF-8 .csv)" link Download the CSV file, opening it in the editor of your choice Verify the file from 6.1.2 contains 2 lines: the header line and the line with student Baz Verify the Excel-compatible CSV contains only student Baz Click the "Download in Excel-compatible format (.csv)" link Download the CSV file, opening it in Excel Verify the file from 6.2.2 contains 2 lines: the header line and the line with student Baz Scenario 2: Test filter user in the completion report Setup: Login as admin Go to the completion report filter user on the participant option. Expected: The filter should filter right the user we have choose in the participant option Verify the UTF-8-compatible CSV contains only student Baz Click the "Download in spreadsheet format (UTF-8 .csv)" link Download the CSV file, opening it in the editor of your choice Verify the file only contains your value of the user data you have selected Verify the Excel-compatible CSV contains only student Baz Click the "Download in Excel-compatible format (.csv)" link Download the CSV file, opening it in Excel Verify the file only contains your value of the user data you have selected These are effectively the same as the included Behat tests. UI Expected: Activity completion report:   UI profile in Course > participants > profile user      
    • Hide

      Code verified against automated checks.

      Checked MDL-72240 using repository: https://github.com/danghieu1407/moodle

      More information about this report

      Built on: Tue Jan 21 02:06:34 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-72240 using repository: https://github.com/danghieu1407/moodle main (0 errors / 0 warnings) [branch: MDL-72240-master | CI Job ] More information about this report Built on: Tue Jan 21 02:06:34 AM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-72240 -master https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17995/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61473/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61474/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61475/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61476/ App tests (stable app version) / complete) --> unrelated Built on: Tue Jan 21 02:01:44 AM UTC 2025

      Background

      Sometimes the easiest way to view information for a single user is the find the user (e.g. via the Participants filter), visit the user's (course) profile, and go directly to that user's information: this is currently done with logs and grades. This kind of navigation is especially salient for courses with a large number of users, where the First/Last filter will still return multiple pages of results for a given combination.

      User Story

      As a teacher, I want to view the activity completion report for a single user so that I can quickly review and/or update a given user's activity completion.

        1. image-2024-11-25-17-26-35-804.png
          0.3 kB
          Hieu Nguyen Dang
        2. image-2025-01-18-10-11-41-200.png
          44 kB
          Hieu Nguyen Dang
        3. image-2025-01-18-10-22-09-076.png
          67 kB
          Hieu Nguyen Dang
        4. image-2025-04-03-13-40-51-997.png
          65 kB
          Hieu Nguyen Dang

            danghieu1407 Hieu Nguyen Dang
            matt.rice Matt Rice
            Anupama Sarjoshi Anupama Sarjoshi
            Jun Pataleta Jun Pataleta
            Votes:
            2 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 minutes
                2m

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