bcgov / bcgov/SIMS

View, View all, and Download support document buttons

Open
#6,488 1 comment 0 reactions 1 assignee Claimed by @Joshua-Lakusta View on GitHub
Business Enhancement Student User Experience
Dominant language
TypeScript
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

## User Story

As a ministry user, I want to open uploaded documents in a new browser tab and view all documents associated with a submission, so that I can review supporting documentation efficiently without automatically downloading files or losing my place in the application. I want to do this with easy to use buttons that make it clear.

## Acceptance Criteria

### Add view button

- [ ] Add a "View" button that functions the same as clicking the document on the right hand side of the uploader ui

- [ ] The document is not downloaded automatically when the user selects View or clicks on the document name.

### View All Documents

- [ ] Add a "View all" button that should exist at the top of the uploader on the right hand side where a column header would be but this will be a button.

- [ ] Selecting View all opens all uploaded documents in separate browser tabs.

- [ ] Selecting View all does not download any documents automatically.

- [ ] The original page remains open in the original browser tab.

### Download

- [ ] Add a "Download" button that allows for the downloading of the document to the right of the View button.

- [ ] Selecting Download downloads the document to the user's device using the existing download behavior.

- [ ] Download behavior continues to support all browser.

### Scope

- [ ] All document uploaders use consistent View, Download, and View all behavior and have the buttons added.

### 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.

- [ ] If one or more documents cannot be opened when using View all, the system handles the failure without preventing successfully accessible documents from opening.

Mock up of uploader
image.png

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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.