We need a way to share the graph of the frequency and Duration data once the user has inputted it into Data Express.
User Stories:
I am a teacher who needs analyze the frequency and duration data on a graph once I have entered the data.
Acceptance Criteria:
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the View data button
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the Edit button
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will be able to view by frequency, duration, or by both at the same time
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the y axis shows the frequency of times if I am viewing the frequency
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the y axis shows the duration in minutes if I am viewing the duration
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the y axis shows the frequency of times and duration in minutes if I am viewing the duration and frequency
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the x axis shows the dates of each logged data
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will see the data list shows chronologically with the most recent entry at the top to the oldest at the bottom
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, >View reports, I will see the Behavior details of behavior definition, goal, objectives, and collection type show in the side panel if inputted
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > View reports, I will be able to filter by date and time
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > Manage Data/Points, I will be able to edit the detail list and it will update in the graph as well
Given I am a user with access to Behavior Support OR MTSS interventions (all tools or Behavior Tracking enabled) and permission to Behavior Support, > Manage Data/Points, I will be able to edit all fields except entered by
Design: https://www.figma.com/file/gdwMnbpudJxuzVrORrOGvd/Ed-Member-Site-UX?node-id=19739%3A228532
Section 1: Graph
UI
Once the frequency and duration data has been saved and the user clicks on View data, they will see the graph
The user can select whether they would like to view the graph by frequency, duration, or both by clicking to toggle them on
Users will be able to see baseline data marked with a B and Mastered objectives with an M on the graph.
The user can filter by all data types, baseline, objectives, objective 1, etc.
The y axis is showing the frequency of times and the duration in minutes
The x axis is showing the dates of each logged data
Business Rules
View by selection is multiselect
y axis shows the frequency of times and the duration in minutes
x axis shows the dates of each logged data
Filter by is single select
Filter by options are all data types, baseline, objectives, objective 1, objective 2, any other objectives with data
Section 2: Details
UI
The data shown in the graph will also show down below the graph in list view
The most recent entry will show at the top
The date, Started Observation, End Time, Did the behavior occur, time of behavior, length of behavior, frequency, note, and entered by will show in each entry
Users can reveal length of behavior, frequency, note, and entered by by clicking the arrow to open the remaining fields and close it b clicking it again.
The note will be truncated and users can click more to read the rest of the note
The user can filter the list by by date or time
The details can be hidden from view by clicking hide details
Users will be able to see baseline data marked with a B for final baseline, other baseline, objectives with obj (number), Mastered objectives with an M on the left side of details.
The Behavior details of behavior definition, goal, objectives, and collection type show in the side panel
Business Rules
The data list will show chronologically with the most recent entry at the top to the oldest at the bottom
The Behavior details of behavior definition, goal, objectives, and collection type show in the side panel
List can be filtered by date and time
Section 3: Edit and Save
UI
If the user clicks delete, they will see a Are you sure you want to delete? message. If the user selects delete the whole entry will be deleted. If the user clicks cancel or the close button, it will remain unchanged
If the user clicks edit, all fields except entered by will be editable.
Users can save and cancel
User can click inside text box to make changes to the note
If the user clicks save, they will see a success message
Edits will be reflected in the graph as well
Business Rules
User edits to the detail list will be updated in the graph as well
All fields are editable except entered by
Unmaster
Design
User will see unmaster button once the objective has been mastered
The Edit and Delete buttons of the same objective will be deactivated until unmastered
When an objective is mastered, the user will see an unmaster button, until they enter additional data for the given student and behavior. Once another data point is added, the unmaster button is removed
If the new data point(s) are deleted, the unmaster button will be shown on the last mastered objective
If the user clicks unmaster, the edit and delete buttons will again be available to the user, the M will be removed from the detailed and graphed data.
The data points that make up that objective will not be able to be edited or deleted until the objective has been unmastered
Once the unmastered button is clicked, the Edit and delete buttons can be accessed for all data points of the same objective
Business Rules
Users with permission to Manage Data and who have entered the data will see the unmaster button
Users with permission to Manage Data and who have not entered the data will see the unmaster button if the team member who logged the data is in the same classroom and is a lower role. For instance, teachers (role 4) will see the unmaster button if the para inputted the data and they are a part of the same classroom.