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

Insight notifications improvements

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Upcoming activities due

      1. Log in as admin
      2. Go to site admin > development > Make test course and create an XS course, follow the continue button once done.
      3. Go to participants, a student should appear there. Make sure insights notifications are all turned ON in the notification preferences for this user.
      4. Edit the assignment activity and set its due date to +5 days from today
      5. Go to site admin > analytics > analytics settings and untick onlycli setting
      6. Go to site admin > analytics > analytics models
      7. If the Upcoming activities due model is disabled click on Actions > Enable for Upcoming activities due model
      8. Click on Actions > Clear predictions for the Upcoming activities due model
      9. Click on Actions > Execute scheduled analysis (or Actions > Get predictions in 3.7) from the Upcoming activities due model
      10. Login as the student in the course
      11. Click on the notifications icon and click on View full notification for the top item
      12. You SHOULD see something like this

        Hi STUDENTNAME,

        You have upcoming activities due during the next days:

        Assignment 1 is due
        When: Monday, 16 September 2019, 3:07 PM
        Course: XS
        Go to activity

        Was this helpful? Yes No

        , where the table styles are different and the 'Yes' and 'No' in the bottom are buttons.
      13. Click on Go to the activity
      14. You SHOULD be forwarded to the assignment page in the same browser tab
      15. Expand your notifications and click on the View full notification link for the top notification
      16. Click on No
      17. A new tab SHOULD be opened and you SHOULD see a message stating that your feedback has been saved
      18. Expand your notifications and click on the top notification
      19. You SHOULD be forwarded to the assignment page
      20. Log in back as admin and go to site admin > analytics > analytics models
      21. Click on Actions > Effectiveness report for the Upcoming activities due model
      22. In Actions executed by users, after clicking on show chart data, you SHOULD see 2 for View the upcoming activities due and 1 for Not useful.

      Courses at risk of not starting

      1. Log in as admin and create a new course with start date +2 days
      2. Go to site admin > users > permissions > assign system roles
      3. Assign the admin user as manager at system level
      4. Go to site admin > analytics > analytics models
      5. Click on Actions > Execute scheduled analysis for the "Courses at risk of not starting" model. Click on continue once done
      6. You SHOULD have a new notification. Click on View full notification for your top notification (it should show that it was added a few seconds ago)
      7. The subject SHOULD be Upcoming courses have no teachers or students
      8. The notification body SHOULD be something like

        Hi Admin,

        Courses with start dates in the next week have been identified as having no teacher or student enrolments.

      Show
      Upcoming activities due Log in as admin Go to site admin > development > Make test course and create an XS course, follow the continue button once done. Go to participants, a student should appear there. Make sure insights notifications are all turned ON in the notification preferences for this user. Edit the assignment activity and set its due date to +5 days from today Go to site admin > analytics > analytics settings and untick onlycli setting Go to site admin > analytics > analytics models If the Upcoming activities due model is disabled click on Actions > Enable for Upcoming activities due model Click on Actions > Clear predictions for the Upcoming activities due model Click on Actions > Execute scheduled analysis (or Actions > Get predictions in 3.7) from the Upcoming activities due model Login as the student in the course Click on the notifications icon and click on View full notification for the top item You SHOULD see something like this Hi STUDENTNAME, You have upcoming activities due during the next days: Assignment 1 is due When: Monday, 16 September 2019, 3:07 PM Course: XS Go to activity Was this helpful? Yes No , where the table styles are different and the 'Yes' and 'No' in the bottom are buttons. Click on Go to the activity You SHOULD be forwarded to the assignment page in the same browser tab Expand your notifications and click on the View full notification link for the top notification Click on No A new tab SHOULD be opened and you SHOULD see a message stating that your feedback has been saved Expand your notifications and click on the top notification You SHOULD be forwarded to the assignment page Log in back as admin and go to site admin > analytics > analytics models Click on Actions > Effectiveness report for the Upcoming activities due model In  Actions executed by users , after clicking on show chart data, you SHOULD see 2 for View the upcoming activities due and 1 for Not useful . Courses at risk of not starting Log in as admin and create a new course with start date +2 days Go to site admin > users > permissions > assign system roles Assign the admin user as manager at system level Go to site admin > analytics > analytics models Click on Actions > Execute scheduled analysis for the "Courses at risk of not starting" model. Click on continue once done You SHOULD have a new notification. Click on View full notification for your top notification (it should show that it was added a few seconds ago) The subject SHOULD be Upcoming courses have no teachers or students The notification body SHOULD be something like Hi Admin, Courses with start dates in the next week have been identified as having no teacher or student enrolments.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66536_master

      Description

      A UX review of the existing insights resulted in a list of improvements for our insights and for the current predictive models:

      1. (moved from MDL-66091) The Actions menu includes options 'Acknowledged' and 'Not useful' with no explanation as to what happens if you click on them. If you follow the link 'Not useful' in the email it also takes you to your Dashboard where a message is displayed 'Your action has been saved.' with no explanation. Hina Khan from the UX team at Moodle HQ proposes to replace these buttons for a "Was this useful? [Yes / No]"
      2. Targets should be able to set the body of an insight (both for insights for multiple predictions and for insights for single predictions) so it is clear what the insight is about
        1. We need text bodies for the existing insights
      3. The upcoming activities due insight should include information about the upcoming activities (see screenshot attached below for an idea of how it will look like).
      4. The no teaching model should be reworded
        1. Target name to :Courses at risk of not starting (replace 'No Teaching')*
        2. Change indicator titles to: Teacher availability and Student enrolment

        Attachments

        1. email-upcoming.png
          email-upcoming.png
          42 kB
        2. full-notification-atrisk.png
          full-notification-atrisk.png
          18 kB
        3. html-email-courses-not-starting.png
          html-email-courses-not-starting.png
          29 kB
        4. html-email-courses-not-starting.png
          html-email-courses-not-starting.png
          29 kB
        5. MDL-66536_01.png
          MDL-66536_01.png
          102 kB
        6. MDL-66536_02.png
          MDL-66536_02.png
          132 kB
        7. MDL-66536_03.png
          MDL-66536_03.png
          54 kB
        8. notification-atrisk.png
          notification-atrisk.png
          10 kB
        9. notification-courses-not-starting.png
          notification-courses-not-starting.png
          15 kB
        10. notification-upcoming.png
          notification-upcoming.png
          66 kB
        11. photo_2019-08-29_11-05-33.jpg
          photo_2019-08-29_11-05-33.jpg
          67 kB
        12. plaintext-email-atrisk.png
          plaintext-email-atrisk.png
          34 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 3 hours, 21 minutes
                  3d 3h 21m