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

Add ability to summarise all forums in a specific course

XMLWordPrintable

    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-66301-master
    • Hide

      Setup/prep

      1. Log in as teacher or admin and restore the attached course (backup-moodle2-course-15-fboi-20200407-1035.mbz).

      Test 1 - Forum select dropdown exists

      1. Log in as a teacher enrolled in the "Course with forums" course.
      2. Navigate to that course.
      3. Click on the "Visible groups" forum activity.
      4. Open the actions menu and select "Forum summary report".
      5. CONFIRM below the "Forum summary report - Visible groups" heading, there is now a "Forum selected" dropdown, and CONFIRM that dropdown is set to "Visible groups" (the name of the forum the report is about).
      6. CONFIRM below the dropdown you can see the "Dates" and "Groups" filter buttons.
      7. CONFIRM you can find a user with the following report details. Note down their name. This will be referred to as student1 in later tests.
        Discussions Replies Attachments Earliest post
        2 1 0 9 Dec 2019 4:18 PM
      1. CONFIRM you can find the student with the following report details. Note down their name. This will be referred to as student2 in later tests.
        Discussions Replies Attachments Earliest post
        0 3 1 9 Dec 2019 4:21 PM
      1. CONFIRM you can find the user with the following report details. Note down their name. This will be referred to as teacher1 in later tests.
        Discussions Replies Attachments Earliest post
        2 1 0 9 Dec 2019 4:26 PM

      Test 2 - Switching forum updates report

      1. Open the "Forum selected" dropdown, and select "No groups".
      2. CONFIRM when the page reloads, the heading of the report now reads "Forum summary report - No groups". Also CONFIRM the "Dates" filter button still exists, but the "Groups" button has been removed.
      3. CONFIRM you can see the following details, which confirm the report is now showing data for the 'No groups' forum:
        Name Discussions Replies Attachments Words Characters Earliest Latest
        Student1 2 2 1 17 134 9 Dec 2019 3:59 PM 8 Jan 2020 11:56 AM
        Student2 0 0 0 0 0 - -
        Teacher1 2 2 0 14 58 9 Dec 2019 4:03 PM 9 Dec 2019 4:05 PM

      Test 3 - Course level report

      1. Open the "Forum selected" dropdown, and CONFIRM "All forums in course" is the first item below "Choose...".
      2. Select "All forums in course" from the dropdown.
      3. CONFIRM when the page reloads, the heading now reads "Forum summary report - Course with forums", and the "Groups" filter button is now visible next to the "Dates" filter button.
      4. CONFIRM you can see the following details, which confirm the report is now showing total data for all forums in the course:
        Name Discussions Replies Attachments Words Characters Earliest Latest
        Student1 5 4 1 37 225 9 Dec 2019 3:59 PM 17 Jan 2020 4:52 PM
        Student2 0 4 1 27 126 9 Dec 2019 4:21 PM 17 Jan 2020 10:00 AM
        Teacher1 7 4 0 58 237 9 Dec 2019 4:03 PM 17 Jan 2020 9:59 AM

      Test 4 - View count calculated correctly

      Note: This is calculated rather than provided, since accessing pages as the teacher or one of the students will change the view count data.

      1. Note down the "Character count" values for the 3 users (student1, student2 and teacher1).
      2. Using the "Forum selected" dropdown, open the report for each of the 4 individual forums in the course, and tally up the "Number of views" value for each of the 3 users.
      3. CONFIRM the totals you calculated for each user match the value noted down for that user from the "all forums" report.

      Test 5 - Only forums visible to user are included, and filters apply as expected

      1. Log out and log back in as admin.
      2. Navigate to the "Course with forums" course, and turn editing on.
      3. Click on the edit dropdown for the "No groups" forum, and select "hide".
      4. Click on the "No groups" forum activity to open it.
      5. In the forum actions menu, select "Permissions".
      6. In the "View hidden activities" row, delete "Teacher" using the relevant bin icon, and select "Remove" when prompted.
      7. Log out and log back in as a teacher.
      8. Navigate to the "Course with forums" course.
      9. CONFIRM you can no longer see the "No groups" forum in the list of activities.
      10. Open the summary report for the "Visible groups" forum.
      11. Open the "Forum selected" dropdown, and CONFIRM "No groups" is not available in the list of forums.
      12. Click on the "All forums in course" option in the dropdown.
      13. CONFIRM you can see the following details, which confirm the report is now showing total data excluding the "No groups" forum:
        Name Discussions Replies Attachments Words Characters Earliest Latest
        Student1 3 2 0 20 91 9 Dec 2019 4:18 PM 17 Jan 2020 4:52 PM
        Student2 0 4 1 27 126 9 Dec 2019 4:21 PM 17 Jan 2020 10:00 AM
        Teacher1 5 2 0 44 179 9 Dec 2019 4:26 PM 17 Jan 2020 9:59 AM
      1. Open the "Groups" filter, check "Group A", then press "Save".
      2. CONFIRM you can see the following details, which confirm only Group A's data is being reported:
        Name Discussions Replies Attachments Words Characters Earliest Latest
        Student1 3 1 0 17 73 9 Dec 2019 4:18 PM 17 Jan 2020 4:52 PM
        Student2 0 3 1 23 111 9 Dec 2019 4:21 PM 9 Dec 2019 4:24 PM
        Teacher1 2 1 0 15 48 9 Dec 2019 4:26 PM 9 Dec 2019 4:45 PM
      1. Open the "Dates" filter, enable the "To" filter and set its value to "16 January 2020". Then Press "Save".
      2. CONFIRM you can see the following details, which confirm the data is now also filtered by date (one of student1's replies is no longer counted, while the others are unchanged):
        Name Discussions Replies Attachments Words Characters Earliest Latest
        Student1 3 0 0 16 71 9 Dec 2019 4:18 PM 9 Dec 2019 4:42 PM
        Student2 0 3 1 23 111 9 Dec 2019 4:21 PM 9 Dec 2019 4:24 PM
        Teacher1 2 1 0 15 48 9 Dec 2019 4:26 PM 9 Dec 2019 4:45 PM
      Show
      Setup/prep Log in as teacher or admin and restore the attached course (backup-moodle2-course-15-fboi-20200407-1035.mbz). Test 1 - Forum select dropdown exists Log in as a teacher enrolled in the "Course with forums" course. Navigate to that course. Click on the "Visible groups" forum activity. Open the actions menu and select "Forum summary report". CONFIRM below the "Forum summary report - Visible groups" heading, there is now a "Forum selected" dropdown, and CONFIRM that dropdown is set to "Visible groups" (the name of the forum the report is about). CONFIRM below the dropdown you can see the "Dates" and "Groups" filter buttons. CONFIRM you can find a user with the following report details. Note down their name. This will be referred to as student1 in later tests. Discussions Replies Attachments Earliest post 2 1 0 9 Dec 2019 4:18 PM CONFIRM you can find the student with the following report details. Note down their name. This will be referred to as student2 in later tests. Discussions Replies Attachments Earliest post 0 3 1 9 Dec 2019 4:21 PM CONFIRM you can find the user with the following report details. Note down their name. This will be referred to as teacher1 in later tests. Discussions Replies Attachments Earliest post 2 1 0 9 Dec 2019 4:26 PM Test 2 - Switching forum updates report Open the "Forum selected" dropdown, and select "No groups". CONFIRM when the page reloads, the heading of the report now reads "Forum summary report - No groups". Also CONFIRM the "Dates" filter button still exists, but the "Groups" button has been removed. CONFIRM you can see the following details, which confirm the report is now showing data for the 'No groups' forum: Name Discussions Replies Attachments Words Characters Earliest Latest Student1 2 2 1 17 134 9 Dec 2019 3:59 PM 8 Jan 2020 11:56 AM Student2 0 0 0 0 0 - - Teacher1 2 2 0 14 58 9 Dec 2019 4:03 PM 9 Dec 2019 4:05 PM Test 3 - Course level report Open the "Forum selected" dropdown, and CONFIRM "All forums in course" is the first item below "Choose...". Select "All forums in course" from the dropdown. CONFIRM when the page reloads, the heading now reads "Forum summary report - Course with forums", and the "Groups" filter button is now visible next to the "Dates" filter button. CONFIRM you can see the following details, which confirm the report is now showing total data for all forums in the course: Name Discussions Replies Attachments Words Characters Earliest Latest Student1 5 4 1 37 225 9 Dec 2019 3:59 PM 17 Jan 2020 4:52 PM Student2 0 4 1 27 126 9 Dec 2019 4:21 PM 17 Jan 2020 10:00 AM Teacher1 7 4 0 58 237 9 Dec 2019 4:03 PM 17 Jan 2020 9:59 AM Test 4 - View count calculated correctly Note: This is calculated rather than provided, since accessing pages as the teacher or one of the students will change the view count data. Note down the "Character count" values for the 3 users (student1, student2 and teacher1). Using the "Forum selected" dropdown, open the report for each of the 4 individual forums in the course, and tally up the "Number of views" value for each of the 3 users. CONFIRM the totals you calculated for each user match the value noted down for that user from the "all forums" report. Test 5 - Only forums visible to user are included, and filters apply as expected Log out and log back in as admin. Navigate to the "Course with forums" course, and turn editing on. Click on the edit dropdown for the "No groups" forum, and select "hide". Click on the "No groups" forum activity to open it. In the forum actions menu, select "Permissions". In the "View hidden activities" row, delete "Teacher" using the relevant bin icon, and select "Remove" when prompted. Log out and log back in as a teacher. Navigate to the "Course with forums" course. CONFIRM you can no longer see the "No groups" forum in the list of activities. Open the summary report for the "Visible groups" forum. Open the "Forum selected" dropdown, and CONFIRM "No groups" is not available in the list of forums. Click on the "All forums in course" option in the dropdown. CONFIRM you can see the following details, which confirm the report is now showing total data excluding the "No groups" forum: Name Discussions Replies Attachments Words Characters Earliest Latest Student1 3 2 0 20 91 9 Dec 2019 4:18 PM 17 Jan 2020 4:52 PM Student2 0 4 1 27 126 9 Dec 2019 4:21 PM 17 Jan 2020 10:00 AM Teacher1 5 2 0 44 179 9 Dec 2019 4:26 PM 17 Jan 2020 9:59 AM Open the "Groups" filter, check "Group A", then press "Save". CONFIRM you can see the following details, which confirm only Group A's data is being reported: Name Discussions Replies Attachments Words Characters Earliest Latest Student1 3 1 0 17 73 9 Dec 2019 4:18 PM 17 Jan 2020 4:52 PM Student2 0 3 1 23 111 9 Dec 2019 4:21 PM 9 Dec 2019 4:24 PM Teacher1 2 1 0 15 48 9 Dec 2019 4:26 PM 9 Dec 2019 4:45 PM Open the "Dates" filter, enable the "To" filter and set its value to "16 January 2020". Then Press "Save". CONFIRM you can see the following details, which confirm the data is now also filtered by date (one of student1's replies is no longer counted, while the others are unchanged): Name Discussions Replies Attachments Words Characters Earliest Latest Student1 3 0 0 16 71 9 Dec 2019 4:18 PM 9 Dec 2019 4:42 PM Student2 0 3 1 23 111 9 Dec 2019 4:21 PM 9 Dec 2019 4:24 PM Teacher1 2 1 0 15 48 9 Dec 2019 4:26 PM 9 Dec 2019 4:45 PM
    • 1
    • Internationals - 3.8 Alpha, Internationals - 3.9 Sprint 1, International 3.9 - Sprint 3, International 3.9 - Sprint 4, International 3.9 - Sprint 5, International 3.9 - Sprint 6, International 3.9 - Sprint 7

      The forum summary report only shows the current forum. We should extend this so it is able to provide a summary report of all forums in a specific course.

      The scope of this issue is that (by default) teachers will be able to view the summary report for exactly one forum in a course (current functionality), or all forums in a course (that they have access to).

        1. backup-moodle2-course-15-fboi-20200407-1035.mbz
          328 kB
        2. MDL-66301.jpg
          MDL-66301.jpg
          59 kB
        3. MDL-66301 (2).jpg
          MDL-66301 (2).jpg
          37 kB
        4. MDL-66301 (3).jpg
          MDL-66301 (3).jpg
          28 kB
        5. MDL-66301 (4).jpg
          MDL-66301 (4).jpg
          51 kB
        6. MDL-66301 (5).jpg
          MDL-66301 (5).jpg
          25 kB

            michaelh Michael Hawkins
            dobedobedoh Andrew Lyons
            Shamim Rezaie Shamim Rezaie
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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