icgc-argo / dac-ui

Development of the ICGC ARGO Data Access Control UI
https://daco.icgc-argo.org/
GNU Affero General Public License v3.0
0 stars 0 forks source link

[UI] DACO Admin ability to upload an approved pdf to an application #466

Closed kcullion closed 2 years ago

kcullion commented 3 years ago

Goal

On APPROVED applications, DACO admin needs the ability to upload the DACO approved pdf once it's signed by their office. When they upload it to the application, it will get added to the zip package and be available to download by the applicant. If DACO admin makes a mistake and uploads the wrong document, we will provide a Remove approved pdf button that will revert the download back to the signed zip package.

Endpoint ticket: https://github.com/icgc-argo/dac-api/issues/225

When no Approved pdf is uploaded

Zeplin: https://zpl.io/Vxq73vx

Hook up the pdf upload

When an approved pdf is uploaded/found

zeplin: https://zpl.io/2v8w3oJ

kcullion commented 3 years ago

@ciaranschutte just a couple things:

image

As mentioned on slack

kcullion commented 3 years ago

Tested these bugs in QA and it all looks good now! Thanks @ciaranschutte !

kcullion commented 2 years ago

these buttons are working in staging