We need to create an area tied to the individual student so we can review all alerts triggered by that student.
User Stories:
As an educator, I want to view the alerts triggered by a single student, so I can better understand the student’s history
As an educator, I want to know what the alert criteria is when I am viewing the report, so I understand why the student triggered an alert
Acceptance Criteria:
Given I am a user who has access to Behavior and student permissions, I will see alerts in the student dashboard
Given I am a user who has access to Behavior and the student involved in the incident is assigned to me, I will see the alert in the student dashboard
Given I am a user who has access to Behavior and the student involved in the incident is assigned to me, I will see the # of incidents that the student has been involved with in the past 30 days
Given I am a user who has access to Behavior and if the student involved in the incident is assigned to me has not triggered an alert in the past 30 days, we will show show 0 incidents report message and no red indicator in menu
Given I am a user who has access to Behavior and if I am viewing the student involved in an incident, I will see the default set to the past 30 days
Given I am a user who has access to Behavior and if the student involved in the incident is assigned to me, I will see the report will show the number of incidents that student was involved in within the date range
Given I am a user who has access to Behavior and if the student involved in the incident is assigned to me, I will see the report will also show the number of times the alert was triggered for a given type of incident or action within the date range
Given I am a user who has permission to View Reports, I will have access to this area.
Given I am a user who has permission to View Reports, I will not be able to change the Date range to a future date.
Student Dashboard
UI
On the student dashboard menu next to incidents, we will show an indicator if there are any active alerts for the student
Clicking on incidents will take the user to the Behavior Alerts Report
If there are no active alerts, the red indicator will not show next to incidents
Business Rules
Alerts will show if the user has access to Behavior and permission to receive alerts
Alerts will show to any teacher assigned to the student involved in the incident
We will show the # of incidents that the student has been involved with in the past 30 days
If the student has not triggered an alert in the past 30 days, we will show show 0 incidents report message and no red indicator in menu
Behavior Report
When the user views the student behavior report, they will now be broken out into 2 sections:
type
actions
The user may click on Past 30 days to change the date range.
They will see the pre-set options of:
Today
Yesterday
Past 7 Days
Past 30 Days
Past 90 Days
Past Year
Alternatively they may enter a custom date range by clicking two dates as a start and end date on the calendar.
Once the date range has been changed, we will see this reflected on the report (in place of the text Past 30 Days).
The top of the report will show the number of incidents that the student was involved in within the selected date range
The body of the report will list the type of incident, the number of times it occurred within the date range, and the date the alert was last triggered within the date range
If the user clicks the down arrow, they will see a link to each report, the status of the report, the date and time of the incident, students involved and the action taken within the date range
If the user clicks on Actions, they will see the body of the report will list the actions taken, the number of times the action was taken within the date range, and the most recent date the action occurred within the date range
If the user clicks the down arrow, they will see a link to each report, the status of the report, the date and time of the incident, and the incident type within the date range
Behavior Tracking will contain the current Behavior Report for the student
Business Rules
We will default to incidents for the past 30 days
The report will show the number of incidents that student was involved in within the date range
The report will also show the number of times the alert was triggered for a given type of incident or action within the date range
Users with permission to View Reports will have access to this area.
Date range cannot be in the future.