Create Response Package and change redaction layers
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
* As an IAO analyst
* I want to be able to switch between the Redline and Response Package redaction layers
* so that I can view or redact different layers
* As an IAO analyst
* I want to be able to create a Response Package layer
* so that I can prepare the package to go to the applicant.
**Assumptions & Scope**
What are the assumptions for this story?
Analysts need to be able to view different redaction layers.
The redline layer will be the default and will automatically be created when records are loaded into the Records Log. The redline layer will always be editable.
Analysts will create a Response Package layer in the menu.
Analysts will not be able to edit the Response Package layer; it will be view only. If analysts need to change the Record Package, they must edit the Redline layer first.
The purpose of the Response Package layer if for the analyst to review in the application the Response Package that will go or has gone to the applicant.
- The Response Package will have all redactions applied, no comments and no annotations of any kind.
- For ease of review, the Response Package will have the same page flags as the redline layer, so the analyst can review the pages to ensure everything is correct.
- The exception is that all pages that are flagged as Duplicate or Not Responsive will be removed, as these pages would not be included in the Response Package that goes to the applicant.
What is IN scope?
Creating a Records Package layers
Toggling between Redlines and Records Packages.
What is NOT in scope?
Saving the layers as PDFs are covered in, #3437, #3231.
Toggling between OIPIC, Open Info layers, Harms and Sign Off will be in a future story, #3735.
**Acceptance Criteria**
**Scenario 1: Redaction Layer dropdown**
* GIVEN an IAO analyst is in a request, with records added
* WHEN the analyst is in the Records Review app
* THEN there will be a dropdown in the organize pane title Redaction Layer
https://jacklyn808742.invisionapp.com/console/Redaction-cla8feezv003o015h7op82c5c/cleg4xqe55wt3018ba31e3cvi/play
**Scenario 2: Click Redaction Layer dropdown**
* GIVEN an IAO analyst is in the Records Review app
* WHEN the analyst clicks the Redaction Layer dropdown
* THEN dropdown will open with these options in this order: Redline, Response Package
* AND the Redline layer will have no (+) as the layer is created by default
* AND the Response Package layer will have a (+)
https://jacklyn808742.invisionapp.com/console/Redaction-cla8feezv003o015h7op82c5c/cleg4xqe55wt3018ba31e3cvi/play
**Scenario 3: Create first Records Package layer**
* GIVEN an IAO analyst is in the Redaction Layer dropdown
* AND the Response Package layer has not been previously created
* WHEN the analyst clicks the (+) next to Response Package
* THEN the Response Package layer will be created
* AND the Response Package layer will still have (+) in the Records Package Layer
* AND the Response Package layer will now be shown and NOT be editable in the Records Review app
* AND all comments and annotations will be removed
* AND all redactions (i.e. redlines) will be applied as white blocks with the section stamp(s)
* AND all pages that are flagged Duplicate or Not Responsive will be removed
* AND all other page flags will be retained
* AND the Response Package can be filtered by the retained page flags (e.g. Partial Disclosure, Withheld in Full, etc.)
**Scenario 4: Create Records Package**
* GIVEN an IAO analyst is in the Redaction Layer dropdown
* AND the Response Package layer has been previously created
* WHEN the analyst clicks the (+) next to Response Package
* THEN a new Response Package layer will be created
* AND the old Response Package layer will be archived
* AND the Response Package layer will still have (+)
* AND the new Response Package layer will now be shown and NOT be editable in the Records Review app
* AND all comments and annotations will be removed
* AND all redactions (i.e. redlines) will be applied as white blocks with the section stamp(s)
* AND all pages that are flagged Duplicate or Not Responsive will be removed
* AND all other page flags will be retained
* AND the Response Package can be filtered by the retained page flags (e.g. Partial Disclosure, Withheld in Full, etc.)
**Scenario 5: Click active Records Package in Redaction Layer dropdown**
* GIVEN an IAO analyst has opened the Redaction Layer dropdown
* AND the analyst is on the Redline layer
* AND a Records Review Package has been created
* WHEN the analyst clicks 'Records Package' in the Redaction Layer dropdown
* THEN the Records Package will be displayed in the Records Review app
**Scenario 6: Inactive Records Package in Redaction Layer dropdown**
* GIVEN an IAO analyst has opened the Redaction Layer dropdown
* AND the analyst is on the Redline layer
* WHEN a Records Review Package has NOT been created
* THEN the 'Records Package' in the Redaction Layer dropdown will be greyed out and inactive
**Scenario 7: Click Inactive Records Package in Redaction Layer dropdown**
* GIVEN an IAO analyst has opened the Redaction Layer dropdown
* AND the analyst is on the Redline layer
* AND a Records Review Package has NOT been created
* WHEN the analyst clicks 'Records Package' in the Redaction Layer dropdown
* THEN the nothing will happen
* AND the analyst will remain on the Redline layer
**Scenario 8: Click active Redline in Redaction Layer dropdown**
* GIVEN an IAO analyst has opened the Redaction Layer dropdown
* AND the analyst is on the Response Package layer
* WHEN the analyst clicks Redline in the Redaction Layer dropdown
* THEN the Redline will be displayed in the Records Review app
**Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)**
**Validation Rules? (If yes, list here)**
**Design**
@xxx - please link the Design here
**Definition of Ready**
1. [ ] Is there a well articulated User Story?
2. [ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
3. [ ] If there is a user interface, is there a design?
4. [ ] Does the user story need user research/validation?
5. [ ] Does this User Story needs stakeholder approval?
6. [ ] Design / Solution accepted by Product Owner
7. [ ] Is this user story small enough to be completed in a Sprint? Should it be split?
8. [ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
9. [ ] Has the story been estimated?
**Definition of Done**
1. [ ] Passes developer unit tests
2. [ ] Passes peer code review
3. [ ] If there's a user interface, passes UX assurance
4. [ ] Passes QA of Acceptance Criteria with verification in Dev and Test
5. [ ] Confirm Test cases built and succeeding
6. [ ] No regression test failures
7. [ ] Test coverage acceptable by Product Owner
8. [ ] Ticket ready to be merged to master or story branch
9. [ ] Developer to list Config changes/ Update documents and designs
10. [ ] Can be demoed in Sprint Review
11. [ ] Tagged as part of a Release
12. [ ] Feature flagged if required
13. [ ] Change Management activities done?
Contributor guide
Research direction
Start in the Records Review app and trace the Redaction Layer dropdown described in the acceptance scenarios. Verify the Redline and Response Package states, creation and replacement behavior, retained page flags, removed pages, redaction rendering, and read-only behavior against the listed scenarios; done means the acceptance criteria pass without regression failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100