Travel Pay / update address handling and alert content #34623
+15
−40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Are you removing, renaming or moving a folder in this PR?
Examples of a TeamSite: https://va.gov/health and https://benefits.va.gov/benefits/. This scenario is also referred to as the "injected" header and footer. You can reach out in the
#sitewide-public-websites
Slack channel for questions.Did you change site-wide styles, platform utilities or other infrastructure?
Summary
(Summarize the changes that have been made to the platform)
residentialAddress
(not having amailingAddress
fallback)(Which team do you work for, does your team own the maintenance of this component?)
Travel Pay
Related issue(s)
Link to ticket created in va.gov-team repo
#102698
Link to epic if not included in ticket
#83829
Testing done
residentialAddress
was present in the user's profile, then fall back to themailingAddress
, if neither was present an alert would show stating that we needed the user's address. Now, we only check forresidentialAddress
, and the content for the alert was updated to point a user to update their address in their profile.user
response to thenoAddressUser
in the /services/mocks/index.js file and run with the mock api. The alert should show a link to the profile/contact-information page for the user to update their profile.Screenshots
Note: This field is mandatory for UI changes (non-component work should NOT have screenshots).
What areas of the site does it impact?
Travel Pay
Acceptance criteria
Quality Assurance & Testing
Error Handling
Authentication