Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatial bounds format helper text and validation check #620

Open
heidimok opened this issue May 9, 2024 · 0 comments
Open

Spatial bounds format helper text and validation check #620

heidimok opened this issue May 9, 2024 · 0 comments

Comments

@heidimok
Copy link
Contributor

heidimok commented May 9, 2024

Context

A bug was previously reported #617 and we found that it was related to the spatial bounds input not matching the accepted criteria. The MI should provide more information on what is the correct criteria and also provide error messaging instead of a 505 error.

Acceptance Criteria

Help curators understand what the constraints are by adding helper text under the spatial bounds input to say min Longitude, min Latitude, max Longitude, max Latitude
image

Guard more closely against spatial bound inputs that can't be parsed. Check if we are offering error messaging upon validating and saving. If not, we should check that the first Longitude is smaller than the second, and the same for the Latitude and throw a red error text.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant