LG-10330 Make No In Person Locations View Configurable#9230
LG-10330 Make No In Person Locations View Configurable#9230gina-yamada merged 10 commits intomainfrom
Conversation
…d FullAddressSearch to pass in No Locations Display else use default view
app/javascript/packages/address-search/components/no-in-person-locations-display.tsx
Show resolved
Hide resolved
| none_found: Sorry, there are no participating Post Offices within 50 miles of | ||
| %{address}. | ||
| %{address} | ||
| none_found_tip: You can search using a different address, or add photos of your |
There was a problem hiding this comment.
The mocks and the French translation for none_found do not have a trailing period so I removed the period for the English and Spanish translations.
There was a problem hiding this comment.
If it hasn't already, then this verbiage change should get a cursory review by @18F/identity-joy-designers. The outcome may also affect the changes in 18F/identity-site#1167 since I don't see a prior design review for those changes.
There was a problem hiding this comment.
@rutvigupta-design Here is the piece that could use a review, please and thank you. Reach out on Slack if you have questions or want to jump on a call.
There was a problem hiding this comment.
@gina-yamada matching the English and Spanish versions to the Figma designs makes sense to me. Screenshots look good to me!
NavaTim
left a comment
There was a problem hiding this comment.
The verbiage should get a design sign-off before merging.
The testing steps could be a bit clearer. The steps provided look like they only cover regression and not the configurability change. It looks like the configurability is covered by unit tests, and I would like to see that briefly mentioned in the testing section of the PR when the core change won't be covered by regular end-user testing.
It looks like the code changes are alright, though.
| none_found: Sorry, there are no participating Post Offices within 50 miles of | ||
| %{address}. | ||
| %{address} | ||
| none_found_tip: You can search using a different address, or add photos of your |
There was a problem hiding this comment.
If it hasn't already, then this verbiage change should get a cursory review by @18F/identity-joy-designers. The outcome may also affect the changes in 18F/identity-site#1167 since I don't see a prior design review for those changes.
…30-MakeNoInPersonLocConfig-latest
…30-MakeNoInPersonLocConfig-latest
🎫 Ticket
LG-10330 Make PO Search's no results view configurable
🛠 Summary of changes
noInPersonLocationsDisplayelse use the defaultNoInPersonLocationsDisplayfrom address-search. This component then gets passed intoInPersonLocationsfor each.noInPersonLocationsDisplayin_person_proofingEnglish and Spanish translations fornone_foundto match the mocks and the French translation📜 Testing Plan
To test locally and only the regression (not the configurability change).....
application.yml. Ensurein_person_full_address_entry_enabledis set to trueapp/services/usps_in_person_proofing/mock/responses/request_facilities_response.json. Delete all object locations inside the postOffices array. Your file should look like this:{ "postOffices": [] }/request_facilities_response.jsonfile above. Run through steps again. This time the Sorry, there are no... message should not display. You should observe a list of Post Offices. Select one and move on to the State Address form to prove everything is working as expected and you can move to the next view in the application👀 Screenshots