generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #480 closes #473 closes #456 closes #467 closes #478 ## Note - `yarn install` to pull in the DSR changes to the pagination component - Screenshots show a checkmark instead of an exclamation mark during errors/warnings. This is changed ## Changes - enhancement(Upload): Updated content to match the excel and figma - feat(Upload): initial load (get submission latest) 4xx/5xx's redirect to the 500 page - style(Upload Alerts - Links): underlined - style(Upload): Updated based on #430 (comment) - ~~enhancement(download report): removed caching headers -- using `submissionId` so the browser caching is fine~~ ## Extra note - The two scenarios not added to this design review: - VALIDATION_EXPIRED (Needs a big file to test the two minute limit) - If initial GET LATEST SUBMISSION fails, redirect to 500 page - The button changes are not in yet ## Screenshots ### Introduction <img width="701" alt="Screenshot 2024-05-10 at 3 01 16 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/39025e25-2fb6-4aa5-aa16-0c3da7f646e1"> ### Never uploaded before <img width="633" alt="Screenshot 2024-05-10 at 1 17 22 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/52c71238-00e1-4a88-b854-15ed7ea28e53"> ### Pass [pass_123456789TESTBANK456_small.csv](https://github.com/cfpb/sbl-frontend/files/15223922/pass_123456789TESTBANK456_small.csv) <img width="626" alt="Screenshot 2024-05-10 at 2 32 07 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/373155fe-b8b1-4766-bc6f-ac3a1379fcdd"> ### Warnings [logic-warnings_small.csv](https://github.com/cfpb/sbl-frontend/files/15223933/logic-warnings_small.csv) <img width="630" alt="Screenshot 2024-05-10 at 2 32 53 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/3acbc079-50ab-4856-a73a-f40df4f1fa06"> ### Errors [logic-errors_small.csv](https://github.com/cfpb/sbl-frontend/files/15223957/logic-errors_small.csv) <img width="632" alt="Screenshot 2024-05-10 at 2 33 27 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/47c753b9-5dd2-4e43-a087-e9894531cb10"> ### SUBMISSION_ACCEPTED - no warnings [pass_123456789TESTBANK456_small.csv](https://github.com/cfpb/sbl-frontend/files/15223922/pass_123456789TESTBANK456_small.csv) <img width="707" alt="Screenshot 2024-05-10 at 2 58 09 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/546e84d2-d032-4d8e-9fa4-07cfd6d92ba7"> ### SUBMISSION_ACCEPTED - warnings [logic-warnings_small.csv](https://github.com/cfpb/sbl-frontend/files/15280368/logic-warnings_small.csv) <img width="709" alt="Screenshot 2024-05-10 at 2 59 00 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/0fda78b1-e369-4490-91ea-dc8918ed0ce6"> ### File size upload limit (Can use 2MB test limit -- normally 2GB) [logic-errors_medium.csv (2MB)](https://github.com/cfpb/sbl-frontend/files/15223975/logic-errors_medium.csv) <img width="591" alt="Screenshot 2024-05-10 at 2 53 15 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/3010abe5-d187-406b-95da-652b1b185db4"> ### Incorrect file type (renamed to `.csv) -- General Catch-All Validation Error [alf-picture copy.csv](https://github.com/cfpb/sbl-frontend/files/15224012/alf-picture.copy.csv) <img width="530" alt="Screenshot 2024-05-10 at 2 54 56 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/511a1259-66b1-422f-9135-8d7e09e4fa71"> ### Incorrect file type (example `.png`) [alf-picture](https://github.com/cfpb/sbl-frontend/assets/13324863/16440bf1-6358-49d4-8034-9e66cd53596a) <img width="706" alt="Screenshot 2024-05-10 at 2 59 40 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/13010ffb-f800-41d0-ab3f-52f45c4e0624"> ### Submission Malformed [format-error__missing-more-columns.csv](https://github.com/cfpb/sbl-frontend/files/15267001/format-error__missing-more-columns.csv) <img width="706" alt="Screenshot 2024-05-10 at 3 00 07 PM" src="https://github.com/cfpb/sbl-frontend/assets/13324863/d31dc7fc-578a-4cfd-b5b8-b78c59a31243"> --------- Co-authored-by: Meis <meissadia@gmail.com>
- Loading branch information
1 parent
f625f5b
commit e723fc0
Showing
12 changed files
with
257 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.