[BUG] Missing file size warning message during project creation
Opened this issue · 2 comments
ramyaragupathy commented
Describe the bug
While uploading a geojson project boundary in the project creation step, no data loads on the map. There is no warning or nay indicative error message for the user and it is impossible to go beyond this step.
To Reproduce
Steps to reproduce the behavior:
- Go to 'tasks.hotosm.org'
- Make sure you have permissions to create a project on TM
- From manage section, choose to create a new project
- In the project area definiton step, choose to upload a file that is more 1 MB
- Nothing happens after choosing the file. If the step is successful project boundary from the file auto loads on view. However with these steps there is no change to map view and there is no error message for the user.
Expected behavior
A clear message on what went wrong with the upload - is it the file size or the content of the file?
Screenshots
Additional context
- I see there is an env variable set in the backend to control the file size upload. In our current stack I don't see this parameter available. cc @dakotabenjamin @mahesh-naxa @eternaltyro
- also looping in a discussion from past
dakotabenjamin commented
For the envvar setting, it assumes the default:
ramyaragupathy commented
@royallsilwallz - something missing on the frontend then?