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, view reports, 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 behavior alert 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 Alerts 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 alerts 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 behavior alert is assigned to me, I will see the report will show the number of alerts triggered by the student 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 details of the report will also show the behavior types, number of occurrences, and the dates for the given date range
Design: https://www.figma.com/file/gdwMnbpudJxuzVrORrOGvd/Ed-Member-Site-UX?node-id=16086%3A188167
Student Dashboard
UI
On the student dashboard menu next to Alerts, we will show an indicator if there are any active alerts for the student
Clicking on alerts 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
We will show the # of behavior alerts 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
Adjust the Date
UI
We will show a report of the alerts for the past 30 days
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).
Business Rules
Date will default to past 30 days
Date range cannot be in the future.