-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix: Paper Application not saving lat long #3828
fix: Paper Application not saving lat long #3828
Conversation
✅ Deploy Preview for bloom-demo-public ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-exygy-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! The only issue I found was that saving a paper application without any preferences selected and then editing it to include an address for a verified preference results in the address check field coming through blank in the csv
sites/partners/src/components/applications/PaperApplicationForm/MultiselectQuestionsMap.tsx
Outdated
Show resolved
Hide resolved
@ColinBuyck Oh right, can't believe i missed that 😄 Geocoding verification was only triggering on application create, which was logical as we didn't have lat and long on edit before. Also didn't dig too much into that backend radius verification i just checked that it works also on edit. So @ludtkemorgan if you have any objections about that, let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for making the edit application changes
sites/partners/src/components/applications/PaperApplicationForm/MultiselectQuestionsMap.tsx
Show resolved
Hide resolved
...tners/src/components/applications/PaperApplicationForm/sections/FormMultiselectQuestions.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⛷️ Thanks for making those updates so quickly!
* fix: add map ui to include lat and long in paper application preference options * refactor: remove redundant class * fix: trigger geocoding validation on listing update
* fix: geocoding verification fix (bloom-housing#3832) * fix: geocoding verification fix * fix: e2e test fix * fix: add submit to sms mfa flow (bloom-housing#3838) * fix: Paper Application not saving lat long (bloom-housing#3828) * fix: add map ui to include lat and long in paper application preference options * refactor: remove redundant class * fix: trigger geocoding validation on listing update --------- Co-authored-by: Krzysztof Zięcina <kziecina@airnauts.com>
Pull Request Template
Issue Overview
This PR addresses #3810
Description
Add maps to preference options with address, that will include latitude and longitude in option address object.
I got to exclude extraData field from submitting when option is unchecked, which seem expected, but let me know if you see any possible issues with that.
Also this will be visible in non geocoding app (as is address verification step in digital application).
How Can This Be Tested/Reviewed?
Passed Address Check
cell for that option should be eitheryes
orno
instead ofNeeds Manual Verification
Checklist:
yarn generate:client
and/or created a migration if I made backend changes that require themReviewer Notes:
Steps to review a PR:
On Merge:
If you have one commit and message, squash. If you need each message to be applied, rebase and merge.