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

Update funding and ID pages #104

Merged
merged 10 commits into from
Feb 20, 2025
Merged

Conversation

libuk
Copy link
Contributor

@libuk libuk commented Feb 13, 2025

The funding information page will now be updated to include questions regarding national insurance, benefits and education.

Context

Changes in this PR

  • Remove standalone National Insurance number page
  • Consolidate NI question in Funding CAS-2 Accommodation page
  • Add new questions to Funding CAS-2 Accommodation page
  • Update ID and alternative ID pages
  • Rename pages and paths

Screenshots of UI changes

Funding source page - before

Screenshot 2025-02-20 at 10 18 03

Funding source page - after

funding_cas2_accommodation_page funding_cas2_accommodation_page_errors funding_cas2_accommodation_page_errors_2

ID page - before

Screenshot 2025-02-20 at 10 18 16

ID page - after

applicant_id_page

Alternative ID page - before

Screenshot 2025-02-20 at 10 18 25 Screenshot 2025-02-20 at 10 18 31

Alternative ID page - after

alternative_id_page_title alternative_id_page_remove_guidance

Release checklist

As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:

Pre merge checklist

  • Are any changes required to the e2e tests?
  • If you've added a new route, have you added a new
    auditEvent? (see server/routes/apply.ts for examples)
  • Are there environment variables or other infrastructure configuration which needs to be included in this release?
  • Are there any data migrations required. Automatic or manual?
  • Does this rely on changes being deployed to the CAS API?

Post merge

Once we've merged it will be auto-deployed to the dev environment.

@libuk libuk force-pushed the CBA-205-funding-cas2-accommodation-page branch 9 times, most recently from 9035454 to 793e2b9 Compare February 19, 2025 14:30
@libuk libuk changed the title Rename FundingInformation page to FundingCas2Accommodation Update funding and ID pages Feb 19, 2025
@libuk libuk force-pushed the CBA-205-funding-cas2-accommodation-page branch 8 times, most recently from be56409 to 2e88e7f Compare February 19, 2025 18:14
@@ -34,3 +34,8 @@ $govuk-page-width: $moj-page-width;
margin-bottom: govuk-spacing(3);
}
}

.blue-border {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@patrickjfl I can remove this and use your newly created class once it's in.

@libuk libuk marked this pull request as ready for review February 20, 2025 10:25
@libuk libuk requested a review from patrickjfl February 20, 2025 10:25
Copy link
Contributor

@patrickjfl patrickjfl left a comment

Choose a reason for hiding this comment

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

Very nice, just a few minor issues. Nice job remembering the orphaned data!

Comment on lines +50 to +53
// And I am on the alternative applicant ID page
// --------------------------------
AlternativeApplicantIdPage.visit(this.application)
})
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want a Page.verifyOnPage() here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@patrickjfl Hmm, is this required if we call verifyOnPage in the tests that follow? Maybe the comment should read something like "And I visit the alternative applicant ID page".

Comment on lines +56 to +59
// And I am on the applicant ID page
// --------------------------------
ApplicantIdPage.visit(this.application)
})
Copy link
Contributor

Choose a reason for hiding this comment

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

as above

@libuk libuk force-pushed the CBA-205-funding-cas2-accommodation-page branch from 2e88e7f to 8504b32 Compare February 20, 2025 14:19
Daniel Liburd added 7 commits February 20, 2025 17:01
The funding information page will now be updated to include questions
regarding national insurance, benefits and education.
The page is now called funding cas2 accommodation and contains national
insurance question which will be removed in a follow up commit.
As the national insurance question is now included in the
FundingCas2Accommodation form page, we can remove the NI page.
* Change the path to 'applicant-id'
* Update the checkbox text and hints
* Rename path to "alternative-applicant-id"
* Update error message
@libuk libuk force-pushed the CBA-205-funding-cas2-accommodation-page branch from 8504b32 to f80cca4 Compare February 20, 2025 17:06
@libuk libuk merged commit 33475c9 into main Feb 20, 2025
9 checks passed
@libuk libuk deleted the CBA-205-funding-cas2-accommodation-page branch February 20, 2025 17:14
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