-
Notifications
You must be signed in to change notification settings - Fork 2
HDPI 3789 tenancy notice welsh postcodes FE #994
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
Merged
sdmiddletonSolirius
merged 56 commits into
master
from
HDPI-3789-tenancy-notice-welsh-postcodes-FE
Apr 22, 2026
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
dfa495c
initial setup for welsh property postcodes PR
sdmiddletonSolirius d8235e5
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 04d310e
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius bd343f0
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius edb5601
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 6077cef
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 3fb1cc1
setting up the welsh property postcode tenancy types
sdmiddletonSolirius cf49417
yarn lint fixes
sdmiddletonSolirius 6a0642d
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius c78db18
emoji validation and moving welsh standard and secure into dedicated …
sdmiddletonSolirius fbc0b7d
update tenancy tests for new welsh keys
sdmiddletonSolirius 80369c5
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 0d21a34
update readme removing arbitrary comment
sdmiddletonSolirius 5bc476e
changing terminology from welsh property to Wales property to match c…
sdmiddletonSolirius f046401
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius b211156
Allow isWalesProperty to accept undefined caseData
sdmiddletonSolirius 7cafce7
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash d99a7e4
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 06fb227
update yarn packages and changed isWelshProperty to isWalesProperty
sdmiddletonSolirius e3325a8
Merge branch 'HDPI-3789-tenancy-notice-welsh-postcodes-FE' of https:/…
sdmiddletonSolirius 7e6a2fc
update linting
sdmiddletonSolirius 668c214
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 0c85ac3
Remove accidentally committed MOJ component files
sdmiddletonSolirius 91fc405
test coverage updates
sdmiddletonSolirius 67b3c56
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 8c58a4b
update file paths
sdmiddletonSolirius 8019c61
lint fixes
sdmiddletonSolirius 2fdbce8
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash c7e7faa
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 6f7ccf5
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 2fae653
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 790735c
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 42d8086
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 8bb9efb
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 6a34bab
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash f9a9a2d
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 2720022
Test automation hdpi 3789 (#1087)
AshaJayaprakash 0285974
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius ccecf3b
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 7650542
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 1086703
update webpack after merge
sdmiddletonSolirius 04cd6a4
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius fc3f1f3
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 395c2d1
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 2d0bc1e
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius e87eae2
Merge branch 'HDPI-3789-tenancy-notice-welsh-postcodes-FE' of https:/…
sdmiddletonSolirius 7cc5d33
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 42df4e1
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius ef13a12
quick fix for axe failings
sdmiddletonSolirius 30a9685
Merge branch 'HDPI-3789-tenancy-notice-welsh-postcodes-FE' of https:/…
sdmiddletonSolirius f29cdc2
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash aae2dff
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash 9804e6a
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
sdmiddletonSolirius 1568ecb
updating accessibiity media query to correct desktop alignment
sdmiddletonSolirius ea5cbc6
Merge branch 'HDPI-3789-tenancy-notice-welsh-postcodes-FE' of https:/…
sdmiddletonSolirius 22cbd66
Merge branch 'master' into HDPI-3789-tenancy-notice-welsh-postcodes-FE
AshaJayaprakash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| import type { Request } from 'express'; | ||
|
|
||
| import type { CcdCaseData } from '@services/ccdCase.interface'; | ||
|
|
||
| /** | ||
| * Checks if property is located in Wales from CCD case data. | ||
| * | ||
| * Uses legislativeCountry field from CCD case data. | ||
| * | ||
| * Real data shows title case values: | ||
| * - England cases: "England" | ||
| * - Wales cases: "Wales" | ||
| * | ||
| * NOT uppercase "ENGLAND"/"WALES" as might be expected. | ||
| */ | ||
| export function isWalesProperty(req: Request): boolean; | ||
| export function isWalesProperty(caseData: CcdCaseData | Record<string, unknown> | undefined): boolean; | ||
| export function isWalesProperty(reqOrCaseData: Request | CcdCaseData | Record<string, unknown> | undefined): boolean { | ||
| const caseData = | ||
| reqOrCaseData && 'res' in reqOrCaseData | ||
| ? (reqOrCaseData as Request).res?.locals?.validatedCase?.data | ||
| : reqOrCaseData; | ||
| const legislativeCountry = (caseData as Record<string, unknown> | undefined)?.legislativeCountry; | ||
|
|
||
| // Case-insensitive comparison to handle any case variations | ||
| return (legislativeCountry as string | undefined)?.toUpperCase() === 'WALES'; | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| <script src="/main-dev.js"></script> | ||
| <script src="/main-dev.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.