## 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
59 lines
837 B
Plaintext
59 lines
837 B
Plaintext
// .gitignore
|
|
# next.js build output
|
|
.next
|
|
|
|
# dotenv environment variables file - set in pipeline as environment variables
|
|
.env
|
|
.env.build
|
|
|
|
# Dependency directories
|
|
node_modules/
|
|
|
|
# Logs
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.yarn
|
|
|
|
#lock files
|
|
# yarn.lock
|
|
# package-lock.json
|
|
|
|
tmp
|
|
|
|
*env*.sample
|
|
docker
|
|
dockerfile*
|
|
.dockerignore
|
|
Makefile
|
|
docker*.yml
|
|
|
|
# Polling
|
|
|
|
pages/api/poll-queue.js
|
|
pages/polling.js
|
|
|
|
# dev apis to no include
|
|
|
|
pages/api/endpoint/getaccounts_api.js
|
|
|
|
# remove swagger api docs
|
|
|
|
next-swagger-doc.json
|
|
pages/api-doc.js
|
|
public/swagger.json
|
|
certificates/cert-key.pem
|
|
certificates/cert.pem
|
|
gitclean.sh
|
|
pages/admin/logcheck.js
|
|
pages/admin/logchecker.js
|
|
pages/baracuda.html
|
|
pages/holding-min.html
|
|
pages/holding.html
|
|
|
|
# Cline / AI-assistant governance artifacts (keep local-only)
|
|
|
|
ai-prompts/
|
|
|
|
pages/baracuda.min.html
|