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

Create landing page for the reports link in the secondary navigation

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Basic Setup

      Here in this setup, we focus to create what we get as default in the course administration report page.

      1. Login as Admin.
      2. Create a course: course1 (shortname: course1)

      Basic Test

      1. Go to the course, course1.
      2. Go to the Course Administration > Reports
      3. Confirm there is a "Reports" link to click (this is the feature implemented) on the left of the page. Meaning the user would see "Reports" (link), Badges(not link), and "Question bank"(link).
      4. When the "Reports" link is clicked for the first time after logged in, it should take you to the Logs page.
      5. The user should see a drop down selector on the log page. (similar to the grades page, of course).
      6. From the drop down select any of them, it should take you to that report page.
      7. By default, the drop down would have "Competency breakdown", "Logs", "Live logs", "Activity report", and "Course participation". You can test the same navigating to all the pages by selecting the ones here.

      Remembering the previously selected user preference report

      1. Login as admin
      2. Go to the course, course1.
      3. Go to the Course Administration > Reports.
      4. Click on the "Reports" link, a user should navigate to "Logs" page
      5. From the drop down selector click "Live logs", it should take a user to the Live log page.
      6. Now go back to the Course Administration > Reports page.
      7. When the user clicks the "Reports" link, the page should navigate to "Live logs" page.

       

      There are some report pages that get created by editing the settings. And below are the list of tests that help us verify those report pages which would be shown on the course report page.

      Setup for Activity completion report page

      1. Login as admin
      2. Go to the Course, course1.
      3. Enroll a student: s1 to the course.
      4. Go back to the Course, course1.
      5. Now click on the "Turn editing on" button.
      6. Add an activity: Quiz
      7. Make sure the "Activity completion": "Completion tracking" has "Students can manually mark the activity as completed"
      8. Now edit the quiz, by clicking the "Add" > "Choose a question type to add" > "True/False".
      9. Add a quiz of your choice and then select the True or False as the answer for them accordingly.
      10. Now login as a student: s1
      11. Go to the course, course1
      12. Mark the quiz as complete by ticking the checkbox.

      Test for activity completion report

      1. Login as admin
      2. Now navigate to Course administration > Reports.
      3. You should see "Activity completion" along with other pages listed in the "Reports".
      4. Now click on the "Activity completion", it should take you to the "Activity completion page" and the user should see a drop down selector to navigate to other report pages in the course.**

      Setup for course completion report page

      1. Login as admin
      2. Go to the course1 > Course completion
      3. In "Condition: Manual self completion" tick the "Enable" checkbox.

      Test for course completion report

      1. Login as admin
      2. Now navigate to Course administration > Reports.
      3. You should see "Course completion" along with other pages listed in the "Reports".
      4. Navigate to the "Course completion" by clicking the link. The user should see "Course completion" page. The user should also see a drop down selector.
      5. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Course completion page".**

      Setup statistics on the course report page

      1. Login as admin
      2. Navigate to "Site administration" > Advanced features
      3. Tick the "Enable statistics"

      Test for course statistics report

      1. Login as admin
      2. Now navigate to Course administration > Reports.
      3. You should see "Statistics" along with other pages listed in the "Reports".
      4. Navigate to the "Statistics" by clicking the link. The user should see "Statistics" page. The user should also see a drop down selector.
      5. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Statistics".

      Setup Event monitoring rules page

      1. Login as admin
      2. Navigate to Site administration > Reports > Event monitoring rules.
      3. Click the "Enable" link.
      4. The idea here is to just check the page, so I have not created any rules.

      Test for course event monitoring report

      1. Login as admin
      2. Now navigate to Course administration > Reports.
      3. You should see "Event monitoring rules" along with other pages listed in the "Reports".
      4. Navigate to the "Event monitoring rules" by clicking the link. The user should see "Event monitoring rules" page. The user should also see a drop down selector.
      5. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Event monitoring rules".

      Setup insight report page

      1. Login as admin
      2. Set "Debug messages" = "DEVELOPER ..." (Site administration > Development > Debugging)
      3. Create an M size test Course (Site administration > Development > Make test course)
      4. Go to Site administration > Analytics > Analytics settings
        1. Set the "Analytics process execution via command line
        only" = "No"
        2. Save changes
      5. Go to Site administration > Analytics > Analytics models
      6. Edit the "Students who have not accessed the course yet" model
        1. Set Analysis interval = 10% after start
        2. Save changes go back to Analytics models page (do not close this browser tab)
      7. Open a new tab and go to the Course
      8. Edit the course
        1. Set the course start date to one minute ago
        2. Set the course end date to five minutes in the future
      9. Go back to the Analytics models page tab
      10. In the actions menu for "Students who have not accessed the course yet" click on "Execute scheduled analysis"

      Test for course insight report

      1. Login as admin
      2. Now navigate to Course administration > Reports.
      3. You should see "Insights" along with other pages listed in the "Reports".
      4. Navigate to the "Insights" by clicking the link. The user should see "Insights" page. The user should also see a drop down selector. 
      5. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Insights".

       

       

      Show
      Basic Setup Here in this setup, we focus to create what we get as default in the course administration report page. Login as Admin. Create a course: course1 (shortname: course1) Basic Test Go to the course, course1. Go to the Course Administration > Reports Confirm there is a "Reports" link to click (this is the feature implemented) on the left of the page. Meaning the user would see "Reports" (link), Badges(not link), and "Question bank"(link). When the "Reports" link is clicked for the first time after logged in, it should take you to the Logs page. The user should see a drop down selector on the log page. (similar to the grades page, of course). From the drop down select any of them, it should take you to that report page. By default, the drop down would have "Competency breakdown", "Logs", "Live logs", "Activity report", and "Course participation". You can test the same navigating to all the pages by selecting the ones here. Remembering the previously selected user preference report Login as admin Go to the course, course1. Go to the Course Administration > Reports. Click on the "Reports" link, a user should navigate to "Logs" page From the drop down selector click "Live logs", it should take a user to the Live log page. Now go back to the Course Administration > Reports page. When the user clicks the "Reports" link, the page should navigate to "Live logs" page.   There are some report pages that get created by editing the settings. And below are the list of tests that help us verify those report pages which would be shown on the course report page. Setup for Activity completion report page Login as admin Go to the Course, course1. Enroll a student: s1 to the course. Go back to the Course, course1. Now click on the "Turn editing on" button. Add an activity: Quiz Make sure the "Activity completion": "Completion tracking" has "Students can manually mark the activity as completed" Now edit the quiz, by clicking the "Add" > "Choose a question type to add" > "True/False". Add a quiz of your choice and then select the True or False as the answer for them accordingly. Now login as a student: s1 Go to the course, course1 Mark the quiz as complete by ticking the checkbox. Test for activity completion report Login as admin Now navigate to Course administration > Reports. You should see "Activity completion" along with other pages listed in the "Reports". Now click on the "Activity completion", it should take you to the "Activity completion page" and the user should see a drop down selector to navigate to other report pages in the course.** Setup for course completion report page Login as admin Go to the course1 > Course completion In "Condition: Manual self completion" tick the "Enable" checkbox. Test for course completion report Login as admin Now navigate to Course administration > Reports. You should see "Course completion" along with other pages listed in the "Reports". Navigate to the "Course completion" by clicking the link. The user should see "Course completion" page. The user should also see a drop down selector. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Course completion page".** Setup statistics on the course report page Login as admin Navigate to "Site administration" > Advanced features Tick the "Enable statistics" Test for course statistics report Login as admin Now navigate to Course administration > Reports. You should see "Statistics" along with other pages listed in the "Reports". Navigate to the "Statistics" by clicking the link. The user should see "Statistics" page. The user should also see a drop down selector. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Statistics". Setup Event monitoring rules page Login as admin Navigate to Site administration > Reports > Event monitoring rules. Click the "Enable" link. The idea here is to just check the page, so I have not created any rules. Test for course event monitoring report Login as admin Now navigate to Course administration > Reports. You should see "Event monitoring rules" along with other pages listed in the "Reports". Navigate to the "Event monitoring rules" by clicking the link. The user should see "Event monitoring rules" page. The user should also see a drop down selector. The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Event monitoring rules". Setup insight report page Login as admin Set "Debug messages" = "DEVELOPER ..." (Site administration > Development > Debugging) Create an M size test Course (Site administration > Development > Make test course) Go to Site administration > Analytics > Analytics settings 1. Set the "Analytics process execution via command line only" = "No" 2. Save changes Go to Site administration > Analytics > Analytics models Edit the "Students who have not accessed the course yet" model 1. Set Analysis interval = 10% after start 2. Save changes go back to Analytics models page (do not close this browser tab) Open a new tab and go to the Course Edit the course 1. Set the course start date to one minute ago 2. Set the course end date to five minutes in the future Go back to the Analytics models page tab In the actions menu for "Students who have not accessed the course yet" click on "Execute scheduled analysis" Test for course insight report Login as admin Now navigate to Course administration > Reports. You should see "Insights" along with other pages listed in the "Reports". Navigate to the "Insights" by clicking the link. The user should see "Insights" page. The user should also see a drop down selector.  The "Dashboard" > "Courses" > "course1" > "Reports" should now point to the "Insights".    
    • Affected Branches:
      MOODLE_311_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
       MDL-70753-311
    • Pull Master Branch:
       MDL-70753-master
    • Story Points:
      5
    • Sprint:
      4.0 Navigation blitz

      Description

      Each of the items in the secondary navigation (in a course context) need to be links to pages. Currently the reports item in the navigation has no page to navigate to.

      The proposal is to have the link point to one of the report pages and for there to be a select box to navigate to the other report pages from there.

      • I would suggest that the default page be the logs report.
      • Items in the tertiary dropdown menu should be ordered as such:
        • Logs
        • Live logs
        • Activity report
        • Course participation
        • Activity completion
        • Competency breakdown
        • Insights
        • Statistics
        • Event monitoring rules
      • Let's add a user setting to remember the last report that was selected and return to that page when the reports link is clicked (The same as the gradebook works).

        Attachments

        1. activity_completion.png
          activity_completion.png
          52 kB
        2. activity.png
          activity.png
          50 kB
        3. competency.png
          competency.png
          66 kB
        4. completion.png
          completion.png
          66 kB
        5. courseparticipation.png
          courseparticipation.png
          24 kB
        6. event_monitoring.png
          event_monitoring.png
          36 kB
        7. event_monitoring-1.png
          event_monitoring-1.png
          35 kB
        8. insight_admin_report.png
          insight_admin_report.png
          35 kB
        9. insights.png
          insights.png
          68 kB
        10. livelogs.png
          livelogs.png
          63 kB
        11. log.png
          log.png
          29 kB
        12. MDL-70753_Screenshot1.png
          MDL-70753_Screenshot1.png
          245 kB
        13. MDL-70753_Screenshot2.png
          MDL-70753_Screenshot2.png
          650 kB
        14. report1.png
          report1.png
          19 kB
        15. report2.png
          report2.png
          18 kB
        16. Screenshot 2021-04-15 at 14.15.36.png
          Screenshot 2021-04-15 at 14.15.36.png
          155 kB
        17. statistics.png
          statistics.png
          21 kB

          Activity

            People

            Assignee:
            sujith Sujith Haridasan
            Reporter:
            abgreeve Adrian Greeve
            Peer reviewer:
            Mihail Geshoski Mihail Geshoski
            Integrator:
            Víctor Déniz Falcón Víctor Déniz Falcón
            Tester:
            Gladys Basiana Gladys Basiana
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/May/21

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 2 hours, 10 minutes
                1w 2h 10m