hof 20.0.0-redis-beta.32-redis-beta → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/.github/workflows/automate-publish.yml +1 -1
  2. package/.github/workflows/automate-tag.yml +4 -4
  3. package/.nyc_output/7c548a7f-5c40-44b2-b9fb-648341a23d6f.json +1 -0
  4. package/.nyc_output/processinfo/7c548a7f-5c40-44b2-b9fb-648341a23d6f.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -1
  6. package/.vscode/settings.json +6 -0
  7. package/README.md +6 -0
  8. package/components/notify/notify.js +1 -1
  9. package/config/hof-defaults.js +1 -2
  10. package/config/sanitisation-rules.js +20 -17
  11. package/controller/base-controller.js +5 -3
  12. package/controller/controller.js +5 -0
  13. package/frontend/govuk-template/govuk_template_generated.html +104 -0
  14. package/frontend/template-partials/views/layout.html +2 -2
  15. package/frontend/template-partials/views/partials/maincontent-left.html +2 -2
  16. package/frontend/template-partials/views/partials/navigation.html +2 -2
  17. package/frontend/template-partials/views/partials/summary-table-row.html +2 -2
  18. package/frontend/template-partials/views/session-timeout.html +2 -1
  19. package/index.js +1 -1
  20. package/lib/health.js +1 -1
  21. package/lib/sessions.js +1 -1
  22. package/middleware/errors.js +2 -0
  23. package/middleware/rate-limiter.js +1 -3
  24. package/package.json +5 -4
  25. package/sandbox/.env +1 -0
  26. package/sandbox/apps/sandbox/translations/en/default.json +15 -36
  27. package/sandbox/public/css/app.css +6605 -12
  28. package/sandbox/public/js/bundle.js +2792 -22
  29. package/sandbox/server.js +1 -1
  30. package/wizard/middleware/check-progress.js +36 -1
  31. package/.nyc_output/cb764db8-e9f0-43bb-b3b1-7af57bb79bb5.json +0 -1
  32. package/.nyc_output/processinfo/cb764db8-e9f0-43bb-b3b1-7af57bb79bb5.json +0 -1
@@ -2,6 +2,7 @@
2
2
  "fields": {
3
3
  "landing-page-radio": {
4
4
  "legend": "Which form would you like to explore?",
5
+ "hint": "Choose one of the options below and press continue.",
5
6
  "options": {
6
7
  "basic-form": {
7
8
  "label": "Basic form"
@@ -15,10 +16,10 @@
15
16
  }
16
17
  },
17
18
  "name": {
18
- "label": "Full name"
19
+ "label": "What is your full name?"
19
20
  },
20
21
  "dateOfBirth": {
21
- "legend": "Date of birth",
22
+ "legend": "What is your date of birth?",
22
23
  "hint": "For example, 31 10 1990"
23
24
  },
24
25
  "building": {
@@ -56,7 +57,7 @@
56
57
  }
57
58
  },
58
59
  "countryOfHearing": {
59
- "label": "Country of hearing",
60
+ "legend": "What country was the appeal lodged?",
60
61
  "options": {
61
62
  "englandAndWales": {
62
63
  "label": "England and Wales"
@@ -70,7 +71,7 @@
70
71
  }
71
72
  },
72
73
  "email": {
73
- "label": "Email address"
74
+ "label": "Enter your email address"
74
75
  },
75
76
  "phone": {
76
77
  "label": "Phone number",
@@ -80,64 +81,42 @@
80
81
  "legend": "International phone number"
81
82
  },
82
83
  "complaintDetails": {
83
- "label": "Complaint details"
84
+ "label": "Complaint details",
85
+ "hint": "Briefly summarise your complaint. Include anything that can help our investigation."
84
86
  },
85
87
  "countrySelect": {
86
- "label": "Select a country",
88
+ "label": "Which country are you based in?",
87
89
  "hint": "Start to type the country name and options will appear"
88
90
  },
89
91
  "appealStages": {
90
92
  "label": "Appeal stage",
93
+ "hint": "Choose an appeal stage from the drop down menu",
91
94
  "options": {
92
95
  "null": "Select..."
93
96
  }
94
97
  }
95
98
  },
96
99
  "journey": {
97
- "header": "HOF Bootstrap Sandbox Form"
100
+ "header": "HOF Bootstrap Sandbox Form",
101
+ "confirmation": {
102
+ "details": "Your reference number <br><strong>HDJ2123F</strong>"
103
+ }
98
104
  },
99
105
  "pages": {
100
106
  "landing-page": {
101
- "header": "Landing page",
102
- "intro": "Choose one of the options below and press continue."
107
+ "header": "Landing page"
103
108
  },
104
109
  "build-your-own-form": {
105
110
  "title": "Build your own form",
106
111
  "subheader": "Access the build your own form guidance link"
107
112
  },
108
- "name": {
109
- "header": "What is your full name?"
110
- },
111
- "dob": {
112
- "header": "What is your date of birth?"
113
- },
114
113
  "address": {
115
114
  "header": "What is your address in the UK?",
116
115
  "intro": "If you have no fixed address, enter an address where we can contact you."
117
116
  },
118
- "checkboxes": {
119
- "header": "Where does your money come from each month?"
120
- },
121
- "radio": {
122
- "header": "What country was the appeal lodged?"
123
- },
124
- "country-select": {
125
- "header": "What country is your address located?"
126
- },
127
- "email": {
128
- "header": "Enter your email address"
129
- },
130
117
  "phone-number": {
131
118
  "header": "Enter your phone number"
132
119
  },
133
- "text-input-area": {
134
- "header": "What are the details of your complaint?",
135
- "intro": "Briefly summarise your complaint. Include anything that can help our investigation."
136
- },
137
- "select": {
138
- "header": "What is the appeal stage?",
139
- "intro": "Choose an appeal stage from the drop down menu"
140
- },
141
120
  "confirm": {
142
121
  "header": "Check your answers before submitting your application.",
143
122
  "sections": {
@@ -215,7 +194,7 @@
215
194
  },
216
195
  "complaintDetails": {
217
196
  "default": "Enter details about why you are making a complaint",
218
- "maxlength": "Keep to the 5000 character limit"
197
+ "maxlength": "Keep to the {{maxlength}} character limit"
219
198
  },
220
199
  "appealStages": {
221
200
  "required": "Select an appeal stage from the list"