Mastered Targets Graph
We need to create a feature that allows users to view the cumulative number of targets mastered across multiple lessons. They should be able to save this report to re-run later on.
User Stories:
As a user, I want to view the number of targets my student mastered over time across multiple lessons, so I can assess the total amount of progress made in a given area
As a user, I want to be able to save this search, so I do not have to create a new report every time I wish to assess my student’s progress
Acceptance Criteria:
Given I am a user, and am viewing the Custom Graph for a student, I will see this new design
Given I am a user, and have selected a saved graph, I will see all previously saved graphs for this student created by any user
Given I am a user, and have selected a saved graph, I may make changes to this graph and resave
Given I have selected lessons, I will see the graph type filter, and the graph type will se set to Scores by default
Given I have selected behavior or activities, I will not see the graph type filter
Given I have entered a report name and clicked save, my report will show under saved reports
Given I am viewing the graph, I will see one line representing the cumulative number of targets mastered for all selected lessons
Given I am viewing a graph, and have hovered on a data point, I will see the names of the targets (and lesson names) mastered and the date each target was mastered
Given I have printed a graph, I will see the names of all targets mastered and the date each target was mastered in the notes section
Create New Report
UI
We will be making changes to the Custom Graph to allow users to view the cumulative # of targets mastered across multiple lessons
We will show an option at the top to select a saved report
Clicking this drop-down will reveal any previously saved reports (see next section)
Next, the user will see the Report Data options and must select one: Lessons, Behavior, Activities
From here, the user will select which lessons, behaviors, or activities to include
If the user selected Lessons, we will show an option for Graph Type:
Scores
Targets Mastered
The user may also select the display options as they do now (day, week, month, year)
As well as the date range (again, same as now)
Should the user wish to save these selections, they will type in a report name and click Save.
Business Rules
Report Data (lessons, behavior, activities) is a single select, same as now
If the user is selecting lessons or behaviors, they must select those of the same data type. They may select up to 10 at a time.
Lessons will be the only report type that shows the Graph Type options, and will default to Scores (this is the current graph that we see now)
No change to the defaults for Display and Date Range
Targets Mastered
UI
This graph will show one line that represents the cumulative number of targets mastered for all selected lessons
Y axis will be labeled Cumulative Targets Mastered
X axis will be labeled based on display setting (day, week, month, year, session)
Hovering on a data point will show the names of each target mastered, name of the lesson, and the date the target was mastered
When printing the graph, the names and dates of targets mastered will show below the graph. If the user saved the report, we will also show the name of the report above the graph.
Business Rules
This graph type is an option for all programs in Abilities, Inclusion, Transition, & Academic with a data type of Opportunity Based, Duration, Frequency, & Interval. It will not show for Task Analysis.
Targets mastered will display in a cumulative fashion. Meaning, if 1 target was mastered on 1/11 and 3 targets were mastered on 1/14, we would show 1 target mastered on 1/11 and 4 mastered on 1/14.
View Saved Report
UI
If the user selects a saved report, we will load the previous selections.
The user may make changes and save again if they would like
Business Rules
The user may select any previously saved report for the selected student, regardless of who created the report
The user does not need to save if they do not wish
If the user saves the report, it will replace the previously saved version