hof 22.9.0 → 22.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +30 -0
- package/config/hof-defaults.js +7 -1
- package/frontend/template-partials/translations/src/en/cookies.json +2 -2
- package/frontend/template-partials/views/cookies.html +6 -6
- package/frontend/template-partials/views/layout.html +2 -8
- package/frontend/template-partials/views/partials/cookie-banner.html +11 -7
- package/frontend/themes/gov-uk/styles/_cookie-banner.scss +0 -3
- package/lib/settings.js +2 -0
- package/package.json +5 -6
- package/.editorconfig +0 -10
- package/.github/workflows/automate-publish.yml +0 -38
- package/.github/workflows/automate-tag.yml +0 -78
- package/.istanbul.yml +0 -20
- package/.nyc_output/e93bfc1c-da55-44bd-bce7-dab8d25afbbb.json +0 -1
- package/.nyc_output/processinfo/e93bfc1c-da55-44bd-bce7-dab8d25afbbb.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/codeReviewChecklist.md +0 -22
- package/frontend/govuk-template/govuk_template_generated.html +0 -149
- package/pull_request_template.md +0 -16
- package/sandbox/.env +0 -4
- package/sandbox/apps/sandbox/translations/en/default.json +0 -245
- package/sandbox/public/css/app.css +0 -10500
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +0 -36271
@@ -1 +0,0 @@
|
|
1
|
-
{"parent":null,"pid":59740,"argv":["/Users/rhodine.orleans-lindsay/.nvm/versions/node/v20.19.0/bin/node","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof","time":1757407022245,"ppid":59736,"coverageFilename":"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/.nyc_output/e93bfc1c-da55-44bd-bce7-dab8d25afbbb.json","externalId":"","uuid":"e93bfc1c-da55-44bd-bce7-dab8d25afbbb","files":["/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/axios-settings.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/default-model.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/defaults.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/clear-session/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/combine-and-loop-fields/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/date/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/date/fields.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/email-service.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/emailer.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/smtp.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/ses.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/stub.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/debug.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/homeoffice-countries/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/component-defaults.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/notify/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/notify/notify.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/hof-defaults.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/rate-limits.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/helpers/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/logger.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/summary/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/rate-limiter.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/session-timeout-warning/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/base-controller.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/formatting/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/validators.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/email.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation-error.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/autofill/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/autofill/inputs.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/test-data/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/countries.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/reqres/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/sanitisation-rules.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/formatting/formatters.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/behaviour-session.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/behaviour-hooks.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/controller.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/render.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/helpers.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/build/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/build/config.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-partials/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-partials/translations/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/themes/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/themes/gov-uk/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/validation.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/cookies.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/errors.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/not-found.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/deep-translate.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/service-unavailable.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/markdown.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/router.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/behaviours/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/behaviours/complete.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/util/constants.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/helpers.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/health.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/serve-static.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/ga-tag.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/deindex.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/sessions.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/settings.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/build/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/builder-defaults.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/compile.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/build.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/expand-dirs.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/aggregate.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/write-files.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/index.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/html-to-pdf-converter.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/model.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/back-links.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/util/helpers.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-complete.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-progress.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-session.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/csrf.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/fields.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/test/helpers/utilities.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/encryption.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/session.js","/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/session-model.js"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"processes":{"e93bfc1c-da55-44bd-bce7-dab8d25afbbb":{"parent":null,"children":[]}},"files":{"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/axios-settings.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/default-model.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/address-lookup/defaults.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/clear-session/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/combine-and-loop-fields/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/date/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/date/fields.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/email-service.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/emailer.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/smtp.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/ses.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/stub.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/emailer/transports/debug.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/homeoffice-countries/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/component-defaults.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/notify/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/notify/notify.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/hof-defaults.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/rate-limits.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/helpers/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/logger.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/summary/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/rate-limiter.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/components/session-timeout-warning/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/base-controller.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/formatting/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/validators.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation/email.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/validation-error.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/autofill/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/autofill/inputs.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/test-data/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/countries.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/utilities/reqres/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/sanitisation-rules.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/formatting/formatters.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/behaviour-session.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/behaviour-hooks.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/controller/controller.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/render.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-mixins/mixins/helpers.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/build/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/govuk-template/build/config.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-partials/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/template-partials/translations/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/themes/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/themes/gov-uk/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/cookies.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/errors.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/not-found.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/deep-translate.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/middleware/service-unavailable.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/markdown.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/router.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/behaviours/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/behaviours/complete.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/util/constants.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/helpers.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/health.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/serve-static.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/ga-tag.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/deindex.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/sessions.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/settings.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/build/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/config/builder-defaults.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/compile.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/build.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/expand-dirs.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/aggregate.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/transpiler/lib/write-files.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/index.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/model/apis/html-to-pdf-converter.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/model.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/back-links.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/util/helpers.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-complete.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-progress.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/check-session.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/csrf.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/fields.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/test/helpers/utilities.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/lib/encryption.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/session.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"],"/Users/rhodine.orleans-lindsay/Documents/HO/HOF/hof/wizard/middleware/session-model.js":["e93bfc1c-da55-44bd-bce7-dab8d25afbbb"]},"externalIds":{}}
|
package/codeReviewChecklist.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# HOF code review checklist v1.0
|
2
|
-
|
3
|
-
This is a general guide on what you should check for when reviewing another team member's code.
|
4
|
-
|
5
|
-
## Fundamental checks
|
6
|
-
- [ ] Check for code format
|
7
|
-
- [ ] Check for duplicate code
|
8
|
-
- [ ] Check for if there are existing components in the framework already
|
9
|
-
- [ ] Check for copy and paste
|
10
|
-
- [ ] Check code readability (if the class, function and variable names are making sense, avoid using acronyms, check for simplicity, avoid complexity)
|
11
|
-
- [ ] Check if user inputs are sanitized
|
12
|
-
- [ ] Check if errors are handled
|
13
|
-
- [ ] Check if null / undefined values are checked before actions are performed on a variable (May not always be necessary)
|
14
|
-
- [ ] Check for performance (are there logic in loops that doesn't have to be executed each time? Could some tasks be added to a queue and performed later? etc)
|
15
|
-
|
16
|
-
## Advanced (optional if the ticket is low / medium impact) checks
|
17
|
-
- [ ] Check if the code is following SOLID principle, code maintainability
|
18
|
-
- [ ] Check if none functional requirements are needed (for example, should an audit log be stored for an action performed)
|
19
|
-
- [ ] Check the performance and efficiency of the tests
|
20
|
-
- [ ] Check to avoid the use of operations that only work in javascript (e.g. using && to return the object on the right if the statement on the left is true)
|
21
|
-
|
22
|
-
|
@@ -1,149 +0,0 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
<!--[if lt IE 9]><html class="lte-ie8" lang="{{htmlLang}}"><![endif]-->
|
4
|
-
<!--[if gt IE 8]><!--><html lang="{{htmlLang}}" class="govuk-template--rebranded"><!--<![endif]-->
|
5
|
-
<head>
|
6
|
-
<meta charset="utf-8" />
|
7
|
-
<title>{{$pageTitle}}{{/pageTitle}}</title>
|
8
|
-
{{$head}}{{/head}}
|
9
|
-
|
10
|
-
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{govukAssetPath}}images/favicon.ico" type="image/x-icon">
|
11
|
-
<link rel="mask-icon" href="{{govukAssetPath}}images/govuk-mask-icon.svg" color="#0b0c0c">
|
12
|
-
<link rel="apple-touch-icon" sizes="180x180" href="{{govukAssetPath}}images/govuk-apple-touch-icon-180x180.png">
|
13
|
-
<link rel="apple-touch-icon" sizes="167x167" href="{{govukAssetPath}}images/govuk-apple-touch-icon-167x167.png">
|
14
|
-
<link rel="apple-touch-icon" sizes="152x152" href="{{govukAssetPath}}images/govuk-apple-touch-icon-152x152.png">
|
15
|
-
<link rel="apple-touch-icon" href="{{govukAssetPath}}images/govuk-apple-touch-icon.png">
|
16
|
-
|
17
|
-
|
18
|
-
<meta name="theme-color" content="#0b0c0c" />
|
19
|
-
|
20
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
21
|
-
|
22
|
-
|
23
|
-
<meta property="og:image" content="{{govukAssetPath}}images/opengraph-image.png">
|
24
|
-
</head>
|
25
|
-
|
26
|
-
<body class="{{$bodyClasses}}{{/bodyClasses}} govuk-template__body js-enabled" >
|
27
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');</script>
|
28
|
-
|
29
|
-
|
30
|
-
<div id="global-cookie-message" class="gem-c-cookie-banner govuk-clearfix" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
|
31
|
-
{{$cookieMessage}}{{/cookieMessage}}
|
32
|
-
</div>
|
33
|
-
|
34
|
-
{{$bodyStart}}{{/bodyStart}}
|
35
|
-
|
36
|
-
<header role="banner" id="govuk-header" class="{{$headerClass}}{{/headerClass}}">
|
37
|
-
<div class="govuk-header__container govuk-width-container">
|
38
|
-
|
39
|
-
<div class="govuk-header__logo">
|
40
|
-
<a href="{{$homepageUrl}}https://www.gov.uk{{/homepageUrl}}" title="{{$logoLinkTitle}}Go to the GOV.UK homepage{{/logoLinkTitle}}" id="logo" class="govuk-header__link govuk-header__link--homepage" target="_blank" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
|
41
|
-
<span class="govuk-header__logotype">
|
42
|
-
<!--[if gt IE 8]><!-->
|
43
|
-
<svg
|
44
|
-
focusable="false"
|
45
|
-
role="img"
|
46
|
-
xmlns="http://www.w3.org/2000/svg"
|
47
|
-
viewBox="0 0 324 60"
|
48
|
-
height="30"
|
49
|
-
width="162"
|
50
|
-
fill="currentcolor"
|
51
|
-
class="govuk-header__logotype"
|
52
|
-
aria-label="GOV.UK">
|
53
|
-
<title>GOV.UK</title>
|
54
|
-
<g>
|
55
|
-
<circle cx="20" cy="17.6" r="3.7"></circle>
|
56
|
-
<circle cx="10.2" cy="23.5" r="3.7"></circle>
|
57
|
-
<circle cx="3.7" cy="33.2" r="3.7"></circle>
|
58
|
-
<circle cx="31.7" cy="30.6" r="3.7"></circle>
|
59
|
-
<circle cx="43.3" cy="17.6" r="3.7"></circle>
|
60
|
-
<circle cx="53.2" cy="23.5" r="3.7"></circle>
|
61
|
-
<circle cx="59.7" cy="33.2" r="3.7"></circle>
|
62
|
-
<circle cx="31.7" cy="30.6" r="3.7"></circle>
|
63
|
-
<path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,4.6-1.2-2.8-3.7-2.2-4.2.2-.3,1.7.7,3.7,3,4.2,1.9.3,4.7-.9,7-5.9-1.3,0-2.4.7-3.9,1.7l2.4-8c.6,2.3,1.4,3.7,2.2,4.5.6-1.6.5-2.8,0-5.3l5,1.8c-2.6,3.6-5.2,8.7-7.3,17.5-7.4-1.1-15.7-1.7-24.5-1.7h0c-8.8,0-17.1.6-24.5,1.7-2.1-8.9-4.7-13.9-7.3-17.5l5-1.8c-.5,2.5-.6,3.7,0,5.3.8-.8,1.6-2.3,2.2-4.5l2.4,8c-1.5-1-2.6-1.7-3.9-1.7,2.3,5,5.2,6.2,7,5.9,2.3-.4,3.3-2.4,3-4.2-.5-2.4-3-3.1-4.2-.2-2.2-4.6,1.6-6,4-4.6-3.7-3.7-4.2-7.1-1.2-11.1,4.2,3.2,4.3,6.4,2.4,10.9,2.5-2.8,6.3-1.3,4.9,3.2-1.8-2.7-4.1-1-3.7,1.6.3,2.3,3.3,4.1,7,3.8,5.4-.5,5.7-4.2,5.8-7.2-1.3-.2-3.7,1-5.7,3.8l-.7-8.5c2.2,2.3,4.2,2.7,6.4,2.8-.7-2.3-4.1-6.1-4.1-6.1h10.6,0Z"></path>
|
64
|
-
</g>
|
65
|
-
<circle class="govuk-logo-dot" cx="226" cy="36" r="7.3"></circle>
|
66
|
-
<path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"></path>
|
67
|
-
</svg>
|
68
|
-
<!--<![endif]-->
|
69
|
-
<!--[if IE 8]>
|
70
|
-
<img src="{{govukAssetPath}}images/govuk-logotype-tudor-crown.png" class="govuk-header__logotype-crown-fallback-image" width="32" height="30" alt="">
|
71
|
-
<![endif]-->
|
72
|
-
</span>
|
73
|
-
</a>
|
74
|
-
</div>
|
75
|
-
{{$insideHeader}}{{/insideHeader}}
|
76
|
-
|
77
|
-
{{$propositionHeader}}{{/propositionHeader}}
|
78
|
-
</div>
|
79
|
-
</header>
|
80
|
-
|
81
|
-
|
82
|
-
{{$afterHeader}}{{/afterHeader}}
|
83
|
-
|
84
|
-
|
85
|
-
{{$main}}{{/main}}
|
86
|
-
|
87
|
-
<footer class="govuk-footer">
|
88
|
-
<div class="govuk-width-container">
|
89
|
-
<svg
|
90
|
-
focusable="false"
|
91
|
-
role="presentation"
|
92
|
-
xmlns="http://www.w3.org/2000/svg"
|
93
|
-
viewBox="0 0 64 60"
|
94
|
-
height="30"
|
95
|
-
width="32"
|
96
|
-
fill="currentcolor" class="govuk-footer__crown">
|
97
|
-
<g>
|
98
|
-
<circle cx="20" cy="17.6" r="3.7" />
|
99
|
-
<circle cx="10.2" cy="23.5" r="3.7" />
|
100
|
-
<circle cx="3.7" cy="33.2" r="3.7" />
|
101
|
-
<circle cx="31.7" cy="30.6" r="3.7" />
|
102
|
-
<circle cx="43.3" cy="17.6" r="3.7" />
|
103
|
-
<circle cx="53.2" cy="23.5" r="3.7" />
|
104
|
-
<circle cx="59.7" cy="33.2" r="3.7" />
|
105
|
-
<circle cx="31.7" cy="30.6" r="3.7" />
|
106
|
-
<path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,4.6-1.2-2.8-3.7-2.2-4.2.2-.3,1.7.7,3.7,3,4.2,1.9.3,4.7-.9,7-5.9-1.3,0-2.4.7-3.9,1.7l2.4-8c.6,2.3,1.4,3.7,2.2,4.5.6-1.6.5-2.8,0-5.3l5,1.8c-2.6,3.6-5.2,8.7-7.3,17.5-7.4-1.1-15.7-1.7-24.5-1.7h0c-8.8,0-17.1.6-24.5,1.7-2.1-8.9-4.7-13.9-7.3-17.5l5-1.8c-.5,2.5-.6,3.7,0,5.3.8-.8,1.6-2.3,2.2-4.5l2.4,8c-1.5-1-2.6-1.7-3.9-1.7,2.3,5,5.2,6.2,7,5.9,2.3-.4,3.3-2.4,3-4.2-.5-2.4-3-3.1-4.2-.2-2.2-4.6,1.6-6,4-4.6-3.7-3.7-4.2-7.1-1.2-11.1,4.2,3.2,4.3,6.4,2.4,10.9,2.5-2.8,6.3-1.3,4.9,3.2-1.8-2.7-4.1-1-3.7,1.6.3,2.3,3.3,4.1,7,3.8,5.4-.5,5.7-4.2,5.8-7.2-1.3-.2-3.7,1-5.7,3.8l-.7-8.5c2.2,2.3,4.2,2.7,6.4,2.8-.7-2.3-4.1-6.1-4.1-6.1h10.6,0Z" />
|
107
|
-
</g>
|
108
|
-
</svg>
|
109
|
-
<div class="govuk-footer__meta">
|
110
|
-
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
|
111
|
-
<h2 class="govuk-visually-hidden">Support links</h2>
|
112
|
-
{{$footerSupportLinks}}{{/footerSupportLinks}}
|
113
|
-
<svg
|
114
|
-
aria-hidden="true"
|
115
|
-
focusable="false"
|
116
|
-
class="govuk-footer__licence-logo"
|
117
|
-
xmlns="http://www.w3.org/2000/svg"
|
118
|
-
viewBox="0 0 483.2 195.7"
|
119
|
-
height="17"
|
120
|
-
width="41">
|
121
|
-
<path
|
122
|
-
fill="currentColor"
|
123
|
-
d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145" />
|
124
|
-
</svg>
|
125
|
-
<span class="govuk-footer__licence-description">
|
126
|
-
{{$licenceMessage}}All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" id="open-government-licence" class="govuk-footer__link" target="_blank" rel="license">Open Government Licence v3.0</a>, except where otherwise stated{{/licenceMessage}}
|
127
|
-
</span>
|
128
|
-
</div>
|
129
|
-
<div class="govuk-footer__meta-item">
|
130
|
-
<a
|
131
|
-
class="govuk-footer__link govuk-footer__copyright-logo"
|
132
|
-
href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">
|
133
|
-
{{$crownCopyrightMessage}}© Crown copyright{{/crownCopyrightMessage}}
|
134
|
-
</a>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
</div>
|
138
|
-
</footer>
|
139
|
-
|
140
|
-
<div id="global-app-error" class="app-error hidden"></div>
|
141
|
-
|
142
|
-
|
143
|
-
{{$bodyEnd}}{{/bodyEnd}}
|
144
|
-
|
145
|
-
|
146
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
|
147
|
-
|
148
|
-
</body>
|
149
|
-
</html>
|
package/pull_request_template.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
## What?
|
2
|
-
## Why?
|
3
|
-
## How?
|
4
|
-
## Testing?
|
5
|
-
## Screenshots (optional)
|
6
|
-
## Anything Else? (optional)
|
7
|
-
## Check list
|
8
|
-
|
9
|
-
- [ ] I have reviewed my own pull request for linting issues (e.g. adding new lines)
|
10
|
-
- [ ] I have written tests (if relevant)
|
11
|
-
- [ ] I have created a JIRA number for my branch
|
12
|
-
- [ ] I have created a JIRA number for my commit
|
13
|
-
- [ ] I have followed the chris beams method for my commit https://cbea.ms/git-commit/
|
14
|
-
here is an [example commit](https://github.com/UKHomeOfficeForms/hof/commit/810959f391187c7c4af6db262bcd143b50093a6e)
|
15
|
-
- [ ] Ensure workflow jobs are passing especially tests
|
16
|
-
- [ ] I will squash the commits before merging
|
package/sandbox/.env
DELETED
@@ -1,245 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"errors": {
|
3
|
-
"service-unavailable": {
|
4
|
-
"contact": "You can email for more information"
|
5
|
-
}
|
6
|
-
},
|
7
|
-
"exit": {
|
8
|
-
"header": "You have left this form",
|
9
|
-
"title": "You have left this form"
|
10
|
-
},
|
11
|
-
"fields": {
|
12
|
-
"landing-page-radio": {
|
13
|
-
"legend": "Which form would you like to explore?",
|
14
|
-
"hint": "Choose one of the options below and press continue.",
|
15
|
-
"options": {
|
16
|
-
"basic-form": {
|
17
|
-
"label": "Basic form"
|
18
|
-
},
|
19
|
-
"complex-form": {
|
20
|
-
"label": "Complex form"
|
21
|
-
},
|
22
|
-
"build-your-own-form": {
|
23
|
-
"label": "Build your own form"
|
24
|
-
}
|
25
|
-
}
|
26
|
-
},
|
27
|
-
"name": {
|
28
|
-
"label": "Full name"
|
29
|
-
},
|
30
|
-
"dateOfBirth": {
|
31
|
-
"legend": "What is your date of birth?",
|
32
|
-
"hint": "For example, 31 10 1990"
|
33
|
-
},
|
34
|
-
"building": {
|
35
|
-
"label": "Building and street"
|
36
|
-
},
|
37
|
-
"street": {
|
38
|
-
"label": "Address line 2"
|
39
|
-
},
|
40
|
-
"townOrCity": {
|
41
|
-
"label": "Town or city"
|
42
|
-
},
|
43
|
-
"postcode": {
|
44
|
-
"label": "Postcode"
|
45
|
-
},
|
46
|
-
"incomeTypes": {
|
47
|
-
"label": "Sources of income",
|
48
|
-
"legend": "Select the options where you receive income from",
|
49
|
-
"hint": "Select all options that apply to you.",
|
50
|
-
"options": {
|
51
|
-
"salary": {
|
52
|
-
"label": "Salary"
|
53
|
-
},
|
54
|
-
"universal_credit": {
|
55
|
-
"label": "Universal Credit"
|
56
|
-
},
|
57
|
-
"child_benefit": {
|
58
|
-
"label": "Child Benefit"
|
59
|
-
},
|
60
|
-
"housing_benefit": {
|
61
|
-
"label": "Housing Benefit"
|
62
|
-
},
|
63
|
-
"other": {
|
64
|
-
"label": "Other"
|
65
|
-
}
|
66
|
-
}
|
67
|
-
},
|
68
|
-
"countryOfHearing": {
|
69
|
-
"legend": "What country was the appeal lodged?",
|
70
|
-
"options": {
|
71
|
-
"englandAndWales": {
|
72
|
-
"label": "England and Wales"
|
73
|
-
},
|
74
|
-
"scotland": {
|
75
|
-
"label": "Scotland"
|
76
|
-
},
|
77
|
-
"northernIreland": {
|
78
|
-
"label": "Northern Ireland"
|
79
|
-
}
|
80
|
-
}
|
81
|
-
},
|
82
|
-
"email": {
|
83
|
-
"label": "Email address"
|
84
|
-
},
|
85
|
-
"phone": {
|
86
|
-
"label": "Phone number",
|
87
|
-
"hint": "International phone numbers require the international dialling code, for example +33235066182"
|
88
|
-
},
|
89
|
-
"int-phone-number": {
|
90
|
-
"legend": "International phone number"
|
91
|
-
},
|
92
|
-
"complaintDetails": {
|
93
|
-
"label": "Complaint details",
|
94
|
-
"hint": "Briefly summarise your complaint. Include anything that can help our investigation."
|
95
|
-
},
|
96
|
-
"whatHappened": {
|
97
|
-
"label": "What happened",
|
98
|
-
"hint": "Briefly summarise what happened."
|
99
|
-
},
|
100
|
-
"countrySelect": {
|
101
|
-
"label": "Which country are you based in?",
|
102
|
-
"hint": "Start to type the country name and options will appear"
|
103
|
-
},
|
104
|
-
"appealStages": {
|
105
|
-
"label": "Appeal stage",
|
106
|
-
"hint": "Choose an appeal stage from the drop down menu",
|
107
|
-
"options": {
|
108
|
-
"null": "Select..."
|
109
|
-
}
|
110
|
-
}
|
111
|
-
},
|
112
|
-
"journey": {
|
113
|
-
"header": "HOF Bootstrap Sandbox Form",
|
114
|
-
"serviceName": "HOF Bootstrap Sandbox Form",
|
115
|
-
"confirmation": {
|
116
|
-
"details": "Your reference number <br><strong>HDJ2123F</strong>"
|
117
|
-
}
|
118
|
-
},
|
119
|
-
"pages": {
|
120
|
-
"landing-page": {
|
121
|
-
"header": "Landing page"
|
122
|
-
},
|
123
|
-
"build-your-own-form": {
|
124
|
-
"title": "Build your own form",
|
125
|
-
"subheader": "Access the build your own form guidance link"
|
126
|
-
},
|
127
|
-
"address": {
|
128
|
-
"header": "What is your address in the UK?",
|
129
|
-
"intro": "If you have no fixed address, enter an address where we can contact you."
|
130
|
-
},
|
131
|
-
"name": {
|
132
|
-
"header": "What is your full name?"
|
133
|
-
},
|
134
|
-
"email": {
|
135
|
-
"header": "Enter your email address"
|
136
|
-
},
|
137
|
-
"phone-number": {
|
138
|
-
"header": "Enter your phone number"
|
139
|
-
},
|
140
|
-
"confirm": {
|
141
|
-
"header": "Check your answers before submitting your application.",
|
142
|
-
"sections": {
|
143
|
-
"applicantsDetails": {
|
144
|
-
"header": "Applicant's details"
|
145
|
-
},
|
146
|
-
"address": {
|
147
|
-
"header": "Address"
|
148
|
-
},
|
149
|
-
"income": {
|
150
|
-
"header": "Income"
|
151
|
-
},
|
152
|
-
"appealDetails": {
|
153
|
-
"header": "Appeal details"
|
154
|
-
},
|
155
|
-
"countrySelect": {
|
156
|
-
"header": "Country of residence"
|
157
|
-
},
|
158
|
-
"contactDetails": {
|
159
|
-
"header": "Contact details"
|
160
|
-
},
|
161
|
-
"complaintDetails": {
|
162
|
-
"header": "Complaint details"
|
163
|
-
},
|
164
|
-
"whatHappened": {
|
165
|
-
"header": "What happened"
|
166
|
-
}
|
167
|
-
}
|
168
|
-
},
|
169
|
-
"confirmation": {
|
170
|
-
"title": "Application sent",
|
171
|
-
"alert": "Application sent",
|
172
|
-
"subheader": "What happens next",
|
173
|
-
"content": "We’ll contact you with the decision of your application or if we need more information from you."
|
174
|
-
},
|
175
|
-
"exit": {
|
176
|
-
"message": "We have cleared your information to keep it secure. Your information has not been saved."
|
177
|
-
},
|
178
|
-
"session-timeout-warning": {
|
179
|
-
"dialog-title": "{{^showSaveAndExit}}Your application will close soon{{/showSaveAndExit}}{{#showSaveAndExit}}You will be signed out soon{{/showSaveAndExit}}",
|
180
|
-
"dialog-text": "{{^showSaveAndExit}}If that happens, your progress will not be saved.{{/showSaveAndExit}}{{#showSaveAndExit}}Any answers you have saved will not be affected, but your progress on this page will not be saved.{{/showSaveAndExit}}",
|
181
|
-
"timeout-continue-button": "{{^showSaveAndExit}}Stay on this page{{/showSaveAndExit}}{{#showSaveAndExit}}Stay signed in{{/showSaveAndExit}}",
|
182
|
-
"dialog-exit-link": "{{^showSaveAndExit}}Exit this form{{/showSaveAndExit}}{{#showSaveAndExit}}Sign out{{/showSaveAndExit}}"
|
183
|
-
},
|
184
|
-
"save-and-exit": {
|
185
|
-
"header": "You have been signed out",
|
186
|
-
"paragraph-1": "Your form doesn't appear to have been worked on for 30 minutes so we closed it for security.",
|
187
|
-
"paragraph-2": "Any answers you saved have not been affected.",
|
188
|
-
"paragraph-3": "You can sign back in to your application at any time by returning to the <a href='/' class='govuk-link'>start page</a>."
|
189
|
-
}
|
190
|
-
},
|
191
|
-
"validation": {
|
192
|
-
"landing-page-radio": {
|
193
|
-
"required": "Select an option below and press continue"
|
194
|
-
},
|
195
|
-
"name": {
|
196
|
-
"default": "Enter your full name"
|
197
|
-
},
|
198
|
-
"dateOfBirth": {
|
199
|
-
"default": "Enter your date of birth in the correct format; for example, 31 10 1990",
|
200
|
-
"after": "Enter a date after 1 1 1900",
|
201
|
-
"before": "Enter a date that is in the past"
|
202
|
-
},
|
203
|
-
"building": {
|
204
|
-
"default": "Enter details of your building and street"
|
205
|
-
},
|
206
|
-
"townOrCity": {
|
207
|
-
"default": "Enter a town or city",
|
208
|
-
"regex": "Enter a town or city without including digits"
|
209
|
-
},
|
210
|
-
"postcode": {
|
211
|
-
"default": "Enter your postcode"
|
212
|
-
},
|
213
|
-
"incomeTypes": {
|
214
|
-
"default": "Select all options that apply to you."
|
215
|
-
},
|
216
|
-
"countryOfHearing": {
|
217
|
-
"default": "Select where the appeal hearing is to be held"
|
218
|
-
},
|
219
|
-
"countrySelect": {
|
220
|
-
"default": "Enter a valid country of residence",
|
221
|
-
"required": "Enter your country of residence"
|
222
|
-
},
|
223
|
-
"email": {
|
224
|
-
"default": "Enter your email address in the correct format"
|
225
|
-
},
|
226
|
-
"phone": {
|
227
|
-
"default": "Enter your phone number"
|
228
|
-
},
|
229
|
-
"int-phone-number": {
|
230
|
-
"required": "Enter an international phone number",
|
231
|
-
"internationalPhoneNumber": "Enter a valid international phone number"
|
232
|
-
},
|
233
|
-
"complaintDetails": {
|
234
|
-
"default": "Enter details about why you are making a complaint",
|
235
|
-
"maxlength": "Keep to the {{maxlength}} character limit"
|
236
|
-
},
|
237
|
-
"whatHappened": {
|
238
|
-
"default": "Enter details about what happened",
|
239
|
-
"maxword": "Keep to the {{maxword}} word limit"
|
240
|
-
},
|
241
|
-
"appealStages": {
|
242
|
-
"required": "Select an appeal stage from the list"
|
243
|
-
}
|
244
|
-
}
|
245
|
-
}
|