Robert Bond 0de9268255 Merged PR 2242: Refactor: New Appeal flow structural cleanup (Slices 1–8, no behaviour change)
## Summary

This PR merges the completed new-appeal refactor stream (Slices 1–8) into SIPS-Development.

This refactor was executed in controlled slices with regression validation at each step.

## Scope

Structural and readability improvements only:
- XML/form derivation extraction
- payload and file helper extraction
- side-effect facade introduction
- BuildSection and BuildCheckSection decomposition
- BuildCheckRow formatter map refactor
- nested prop boundary cleanup
- start-flow cleanup (CreateCase / AboutYou)

## Behaviour

No intended behavioural changes.

The following were explicitly preserved:
- S78 journey behaviour
- payload shapes and field names/ids
- HASCAS mapping logic
- appellant/agent branching
- validation rules and messages
- redirect/query parameters (`lpa`, `apt`, `id`)
- navigation and side-effect sequencing
- EN/CY output parity

## Validation

Full regression has been performed on:
- start flow (CreateCase / AboutYou)
- save and resume flows
- file upload handling
- check answers rendering
- submit/finalisation sequence
- confirmation flow
- CRM insertion path
- EN/CY parity

Additional checks:
- docsOffline branch behaviour
- completion and partial-save email paths
- negative-path validation scenarios
- lint (warnings baseline unchanged)

## Risk

Low:
- changes are structural only
- no business logic changes
- no contract changes

## Rollback

Safe rollback via reverting this merge commit.

## Notes

This refactor reduces coupling and prepares the new-appeal flow for future appeal-type expansion.

Related work items: #22570, #22576, #22577, #22583, #22586, #22587, #22588, #22590
2026-04-13 13:09:12 +00:00
2021-07-06 12:27:18 +01:00
2026-03-30 12:35:41 +01:00
2024-07-01 09:48:39 +01:00
2025-05-22 17:11:57 +01:00
2024-06-05 19:50:56 +01:00
2026-02-04 11:20:29 +00:00
2022-04-11 11:07:29 +01:00
2023-11-08 13:20:43 +00:00
2026-02-20 07:40:27 +00:00
2025-07-07 12:02:02 +00:00
2025-07-07 15:06:28 +00:00
2026-02-04 11:22:11 +00:00
2025-11-28 08:45:13 +00:00
2024-03-01 18:03:46 +00:00
2021-07-01 13:07:26 +01:00
2021-06-29 11:56:31 +00:00
2023-11-21 12:04:35 +00:00
S
Description
No description provided
Readme
29 MiB
Languages
JavaScript 98.2%
SCSS 1.8%