We need a flow for reconnecting behavior tracking and behavior plan when either has been archived.
From Behavior Tracking
User Story:
As a teacher who is making changes to an Archived Behavior Tracking, I need to understand how my decisions will impact the Behavior Plan that has these behaviors this behavior in it so that I can manage both effectively.
UI:
Archived Behavior Tracking
To change an archived behavior tracking, the user clicks on Change status button.
The Change Status pop-up shows.
Select Make Active
To make the behavior tracking Active, user clicks on Make Active from pop-up and the confirmation is shown.
Select Delete
To delete the behavior tracking, user clicks on Delete from the pop-up (See image: Pop-up) and is shown the explanation message.
Selecting Delete button, deletes the Behavior Tracking.
Selecting Cancel or X keeps the Behavior Tracking Archived.
If the behavior tracking is the last behavior attached to Behavior Tracking, and the user clicks on Delete from pop up (See image: Pop up), then the following confirmation message is shown.
Acceptance Criteria:
Archived Behavior Tracking
Select Make Active
Given an Archived behavior tracking that is part of a behavior plan is made active, the user can:
Re-attach it to an existing behavior plan
Attach it to a new behavior plan
Resume behavior tracking with or without having it attached to a Behavior Plan.
Select Delete
Given an Archived behavior tracking is part of a behavior plan and is not the last behavior attached to a behavior plan (See image: Not the last behavior) is deleted, then
the user can no longer use this behavior tracking
the user cannot reattach it to an existing or new behavior plan.
the behavior plan where it is attached becomes archived and cannot be reactivated.
Given an Archived behavior tracking is part of a behavior plan and is the last behavior attached to a behavior plan (See image: Last Behavior), then we will show the Last Behavior Pop-up.
This follows the same three bullet point conditions as above.
User Story:
As a teacher who is making changes to an Active Behavior Tracking, I need to understand how my decisions will impact the Behavior Plan that has this behaviors in it so that I can manage both effectively.
UI
Acceptance Criteria
From Behavior Plan
User Story:
As a teacher who is making changes to Behavior Plan, I need to understand how my decisions will impact the Behavior Tracking(s) connected to the plan so that I can manage both effectively.
UI:
Acceptance Criteria