[Neighborhood finder] Display error message on Address field if address is out if CHMA bounds
piratefsh opened this issue · comments
Contributing for the first time? Please see our README on how to join our community
Context
Follow up to #146, please ensure that #146 is completed first as it is higher priority.
Summary
Instead of just showing a static message which can be easily overlooked, we should surface some sort of error message to indicate to volunteers than an address is outside of CHMA bounds. We have the GeoJSON for the neighborhood bounds, but will need a way to check if a set of coordinates is within it or not.
We can surface this error as a form validation error. Rough mockup:
Considerations:
- should prevent
Update a request with the above address
if address is out of bounds?
Hello, can i work on this task? :)
hi @patrikkei are you added to the CHMA Slack? if yes, please complete 'Before you start' https://github.com/crownheightsaid/mutual-aid-app/blob/master/DEVELOPING.md#Before-you-start so we can give you permission to pick up issues! if not, you can join the Slack by signing up to be a volunteer and completing an orientation session, please see our README for more details!