Skip to content

HDPI 3571 Current Circumstances Exceptional Hardship Frontend#972

Open
sdmiddletonSolirius wants to merge 20 commits intomasterfrom
HDPI-3571-current-circumstances-exceptional-hardship-FE
Open

HDPI 3571 Current Circumstances Exceptional Hardship Frontend#972
sdmiddletonSolirius wants to merge 20 commits intomasterfrom
HDPI-3571-current-circumstances-exceptional-hardship-FE

Conversation

@sdmiddletonSolirius
Copy link
Copy Markdown
Contributor

@sdmiddletonSolirius sdmiddletonSolirius commented Mar 19, 2026

Jira link

See HDPI-3571

Change description

  • Implemented Your circumstances and Exceptional hardship steps: createFormStep config, custom .njk templates, and EN/CY locale files.
  • Wired steps into flow.config and stepRegistry so navigation (next/back) matches the journey.
  • Added draft persistence via beforeRedirect + buildCcdCaseForPossessionClaimResponse, mapping into defendantResponses.householdCircumstances.
  • Added getInitialFormData so answers reload from CCD, using the same yes/no ↔ Yes/No/YES/NO mapping approach as other adults.
  • Conditional textarea (required when “yes”), dot-notation subfield POST keys, and TypeScript fixes so CCD payloads satisfy YesNoValue.
Screenshot 2026-03-25 at 08 43 02 Screenshot 2026-03-25 at 08 43 14 Screenshot 2026-03-25 at 08 50 32

Testing done

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@sdmiddletonSolirius sdmiddletonSolirius changed the title initial setup for 3571 FE HDPI 3571 Current Circumstances & Exceptional Hardship FrontEnd Mar 19, 2026
@sdmiddletonSolirius sdmiddletonSolirius changed the title HDPI 3571 Current Circumstances & Exceptional Hardship FrontEnd HDPI 3571 Current Circumstances Exceptional Hardship FrontEnd Mar 19, 2026
@sdmiddletonSolirius sdmiddletonSolirius changed the title HDPI 3571 Current Circumstances Exceptional Hardship FrontEnd HDPI 3571 Current Circumstances Exceptional Hardship Frontend Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants