aws-amplify / aws-amplify/amplify-ui
How to check the file format issues when we upload file using storage browser -AmplifyUI
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 347
- Avg merge
- 18h 29m
- Merged PRs (30d)
- 9
Description
Upload a non-CSV file and verify that the appropriate error message is displayed
I have tried using the getActionCompleteMessage: (files : File[]) => {
return { content : "Please upload a CSV file" , type : "warning"}},
But above warning message appears even when i user upload a CSV file , How can i check the fille format
Contributor guide
Research direction
Start with the Storage Browser upload flow and the getActionCompleteMessage callback shown in the issue, checking how the files: File[] value is passed for CSV and non-CSV uploads. Reproduce both cases and trace the callback result; done means the warning appears for non-CSV files without appearing for CSV files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100