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

MLPAB -1378. MLPAB-1725: Add personal details warnings for subsequent lpas, update content #961

Merged

Conversation

acsauk
Copy link
Contributor

@acsauk acsauk commented Jan 15, 2024

Purpose

During development, we identified a gap in the flow for additional LPAs where the donor won't see the can you sign online question if they are redirected to language preferences. Rather than complicate the logic in different handlers we decided to redirect to your details after creating a new LPA to show all the questions again. While not ideal, we know we want to break up your details in to single question pages so we will handle the page ordering when we pick up this piece of work again after supported journeys.

This change also adds the event received lambda to localstack to see when new LPAs are created (rather than manually emitting the event). I've not yet thought through how this interacts with other events for the payment process coming in. Still, it feels like it may give us a little more freedom while developing locally without having to rely on emitting events via our image-based lambda container and instead route everything through localstack.

Fixes MLPAB-1378, MLPAB-1725

Copy link

github-actions bot commented Jan 15, 2024

PR Environment Terraform Plan Summary

Plan: 1 to add, 4 to change, 1 to destroy

@acsauk acsauk marked this pull request as ready for review January 15, 2024 18:26
@acsauk acsauk requested a review from a team as a code owner January 15, 2024 18:26
@acsauk acsauk temporarily deployed to dev_961mlpab137 January 15, 2024 18:27 — with GitHub Actions Inactive
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0f5f93c) 91.53% compared to head (654b0c4) 91.68%.

❗ Current head 654b0c4 differs from pull request most recent head af7547c. Consider uploading reports for the commit af7547c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #961      +/-   ##
==========================================
+ Coverage   91.53%   91.68%   +0.14%     
==========================================
  Files         168      170       +2     
  Lines        9322     9484     +162     
==========================================
+ Hits         8533     8695     +162     
  Misses        674      674              
  Partials      115      115              
Flag Coverage Δ
unittests 91.68% <100.00%> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acsauk acsauk temporarily deployed to dev_961mlpab137 January 16, 2024 16:12 — with GitHub Actions Inactive
@acsauk acsauk temporarily deployed to dev_961mlpab137 January 16, 2024 16:34 — with GitHub Actions Inactive
@@ -768,7 +768,7 @@
"startNow": "Start now",
"youCanIncludeRestrictionsAboutLst": "You can also include any restrictions and conditions you have about life-sustaining treatment.",
"youMustChooseANewCertificateProvider": "You must choose a different certificate provider",
"youMustChooseANewCertificateProviderContent": "<p class=\"govuk-body\">As you’ve known {{ .CertificateProviderFullName }} for less than 2 years, they cannot be your certificate provider.</p> <p class=\"govuk-body\">Select Continue to choose a different certificate provider.</p>",
"youMustChooseANewCertificateProviderContent": "<p class=\"govuk-body\">As you’ve known {{ .CertificateProviderFullName }} for less than 2 years, they cannot be your certificate provider.</p> <p class=\"govuk-body\">Select <span class=\"govuk-!-font-weight-bold\">Continue</span> to choose a different certificate provider.</p>",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I snuck this in as its a one-line change for MLPAB-1725.

@acsauk acsauk changed the title MLPAB -1378: Add personal details warnings for subsequent lpas MLPAB -1378. MLPAB-1725: Add personal details warnings for subsequent lpas, update content Jan 16, 2024
@acsauk acsauk merged commit 17e40a0 into main Jan 18, 2024
22 checks passed
@acsauk acsauk deleted the MLPAB-1378-add-personal-details-warnings-for-subsequent-lpas branch January 18, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants