Display support documents locally
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 38
Description
## User Story
As a ministry user, I want to replace the current document uploader behavior to download documents with the behavior to open uploaded documents in a new browser tab so that I can review supporting documentation efficiently without automatically downloading files or losing my place in the application.
## Acceptance Criteria
### Document Opening
- [ ] When a user selects an uploaded document from any document uploader the document opens in a new browser tab instead of automatically downloading.
- [ ] The original page remains open and unchanged in the original browser tab.
- [ ] The document opens using the browser's capabilities for supported document types.
### Scope
- [ ] The new document-opening behavior is applied to all document uploaders throughout the application, change requests and appeals/forms
- [ ] Apply this behavior to the manual document uploader as well
### Security and Permissions
- [ ] Existing document security and virus-scanning processes remain unchanged and should be applied when viewing as well as downloading.
- [ ] Existing user permissions and access controls remain unchanged.
### Error Handling
- [ ] If a document cannot be retrieved or opened, the system displays the existing appropriate error message that matches current behavior.
- [ ] When completing the ticket provide Josh with the content for any toast pop for document opening/downloading for content review.
Additional context
Currently the system only allows downloading of documents. This has been presented by multiple user groups to increase their risk of privacy breach and they have requested in app viewing.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.