Adding and removing files to email correspondence
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
- As a FOI Analyst
- I want to add or remove files to my emails
- so that I can include files in correspondence about the FOI request
Assumptions & Scope
What are the assumptions for this story?
Users should be allowed to upload multiple files using the functionality noted below.
Maximum file size is in line with IAO standards (20mb) - For MVP, any files larger can be shared by an alternate means
What is in and not in scope?
Acceptance Criteria
Scenario 1: Adding a file using the Add Files button
- GIVEN ... I am on the Email Details page of the Correspondence page
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932512 - WHEN ... I click the "add Files" button
- THEN ... a generic window will pop up allowing me to select files from my computer
- AND ... upon selecting the file, the file name will appear linked, in the drag and drop component with an "x" next to it and the text "Drag and drop request letter(s) or" will no longer appear
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/746058896
Scenario 2: Adding a file by dragging and drop
- GIVEN ... I am on the Email Details page of the Correspondence page
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932512 - WHEN ... I drag a file into the Drag and drop component of the page
- THEN ... the file name will appear linked, in the drag and drop component with an "x" next to it and the text "Drag and drop request letter(s) or" will no longer appear
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/746058896
Scenario 3: Removing file attachment
- GIVEN ... A file has been attached to the Email Details page of the Correspondence page and is appearing in the drag and drop component
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/746058896 - WHEN ... I click the "x" next to the file
- THEN ... the file will disappear from the drag and drop component and the text "Drag and drop request letter(s) or" and button "Add files" will appear again
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932512
Scenario 4: Removing multiple file attachments
- GIVEN ... Multiple files have been attached to the drag and drop component, each one will have an "x" next to it
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/746058896 - WHEN ... I click the "x" next to a file
- THEN ... the file will disappear from the drag and drop component but the other files will remain. I have the ability to remove one file at a time, until the last file is removed, in which case the text "Drag and drop request letter(s) or" and button "Add files" will appear again
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932512
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)
Definition of Ready
- Is there a well articulated User Story?
- Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
- If there is a user interface, is there a design?
- Does the user story need user research/validation?
- Does this User Story needs stakeholder approval?
- Design / Solution accepted by Product Owner
- Is this user story small enough to be completed in a Sprint? Should it be split?
- Are the dependencies known/ understood? (technical, business, regulatory/policy)
- Has the story been estimated?
Definition of Done
- Passes developer unit tests
- Passes peer code review
- If there's a user interface, passes UX assurance
- Passes QA of Acceptance Criteria with verification in Dev and Test
- Confirm Test cases built and succeeding
- No regression test failures
- Test coverage acceptable by Product Owner
- Ticket ready to be merged to master or story branch
- Developer to list Config changes/ Update documents and designs
- Can be demoed in Sprint Review
- Tagged as part of a Release
- Feature flagged if required
- Change Management activities done?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Email Details page within the Correspondence page and review the linked designs for the empty and attached-file states. Trace the existing correspondence email flow and its file-upload component, then verify file selection, drag-and-drop, removal, multiple attachments, and the 20 MB limit against the four scenarios.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100