Skip to content
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

B-21458 int2 #14272

Merged
merged 37 commits into from
Dec 16, 2024
Merged

B-21458 int2 #14272

merged 37 commits into from
Dec 16, 2024

Conversation

stevengleason-caci
Copy link
Contributor

B-21458

Summary

Agility: B-21458
When the orders type is retirement OR separation, the email should state the destination address of their first shipment instead of Duty Station.
For PPMs, we need to use the Address linked to the PPM.

Previous Int PR: #14099
Update: Other emails needed updating for PPM addresses. I also moved the formatting into Address.go to keep it consistent.

Verification Steps for the Author

These are to be checked by the author.

  • Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
  • Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers

These are to be checked by a reviewer.

  • Has the branch been pulled in and checked out?
  • Have the BL acceptance criteria been met for this change?
  • Was the CircleCI build successful?
  • Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

How to test

NOTE: I haven't been able to test the emails locally, but I've tested the previous PRs changes for the "Complete your PPM" email in integrationTesting

Given I am a customer
When I create a PPM for a retirement or separation with an expected departure date at least 14 days in the past
Then I will receive a "Thank you for submitting your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)

Given the above
When a TOO approves the PPM
Then I will receive a "Your counselor has approved your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
And the next morning I will receive a "Complete your Personally Procured Move (PPM)" email showing the actual destination address (instead of HOS/ HOR/PLEAD)

Frontend

  • There are no aXe warnings for UI.
  • This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
  • There are no new console errors in the browser devtools.
  • There are no new console errors in the test output.
  • If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
  • This change meets the standards for Section 508 compliance.

Backend

Database

Any new migrations/schema changes:

  • Follows our guidelines for Zero-Downtime Deploys.
  • Have been communicated to #g-database.
  • Secure migrations have been tested following the instructions in our docs.

Screenshots

@ryan-mchugh
Copy link
Contributor

Emails do not seem to have the destination street address for PPM, only the city, state zip

image image image

@ryan-mchugh
Copy link
Contributor

Also, to run locally, run this:

EMAIL_BACKEND=ses aws-vault exec transcom-gov-dev -- make server_run

@stevengleason-caci stevengleason-caci marked this pull request as ready for review December 5, 2024 19:22
@stevengleason-caci stevengleason-caci self-assigned this Dec 6, 2024
Copy link
Contributor

@danieljordan-caci danieljordan-caci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full address is showing in the emails. LGTM!

Retirement:
Screenshot 2024-12-10 at 11 34 13 AM
Screenshot 2024-12-10 at 11 34 49 AM

Separation:
Screenshot 2024-12-10 at 11 36 31 AM
Screenshot 2024-12-10 at 11 37 04 AM

@danieljordan-caci
Copy link
Contributor

Also just a heads up but the AC in this PR is NOT the AC in the BL provided. Might want to add what you've put in here to Agility.

@stevengleason-caci
Copy link
Contributor Author

Also just a heads up but the AC in this PR is NOT the AC in the BL provided. Might want to add what you've put in here to Agility.

Yes, thanks. I've added the AC now.

@transcom transcom deleted a comment from robot-mymove Dec 12, 2024
@brianmanley-caci brianmanley-caci self-requested a review December 16, 2024 20:47
Copy link
Contributor

@brianmanley-caci brianmanley-caci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@stevengleason-caci stevengleason-caci merged commit d047d1d into integrationTesting Dec 16, 2024
33 checks passed
@stevengleason-caci stevengleason-caci deleted the B-21458-INT2 branch December 16, 2024 21:18
@stevengleason-caci stevengleason-caci mentioned this pull request Dec 26, 2024
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go-Rillaz Go-Rillaz INTEGRATION Slated for Integration Testing
Development

Successfully merging this pull request may close these issues.

4 participants