PublicDataWorks / complaint-manager

Apache License 2.0
5 stars 0 forks source link

Fix Address Lookup + Add Error Message #644

Open thoughtworks-vwong opened 2 months ago

thoughtworks-vwong commented 2 months ago

Describe the bug

Issue 1

Address lookup is currently not working in both Hawaii and Staging. When user tries to type an address, the autocomplete option does not show up (Hawaii), or the field shows "Address lookup is down. Please try again later" (NOIPM)

Image

Image

Issue 2

When address lookup isn't working, only the NOIPM environment shows the error "Address lookup is down. Please try again later" and the Address field cannot be edited. This error message + functionality should also be added to Hawaii.

Image

Expected behavior

  1. Address lookup is working as expected
  2. Consistent error message across both environments when address lookup isn't working
christina-luong commented 2 months ago

Address validation is down because our free trial is over. Continuing with Google Maps will be a monthly fee.

We need a feature flag to turn off address validation for both orgs in the meantime. A separate card will be created.