kosiakkatrina
71e7002e57
only reset fields that have not been routed to at all ( #217 )
3 years ago
kosiakkatrina
57af5eef8a
Cldc 632 income and benefits section ( #213 )
...
* Update hb question options
* add has benefits field
* derive has_benefits
* update benefit question options
* Add nocharge field
* Add rent period question and check multiple condition sets for depends_on
* update rent period answer options
* Add carehome questions and move the remaining rent questions to income and benefits section
* Reset incfreq and incref and update rent routing based on periods
3 years ago
Stéphane Meny
5b792bc0b3
CLDC-509: Previous postcode validation ( #212 )
...
Add a validation test separated from the main case_log_spec
Create a new validator for the "Local Authority" section
Changes the postcode regexp to be case insensitive
3 years ago
baarkerlounger
a9008098c7
Point to custom devise ( #211 )
3 years ago
baarkerlounger
37fbf16c1e
CLDC-883: Clear dependent answers when the dependency value changes ( #206 )
...
* Failing spec
* Reset invalidated fields
* Page routing can also depend on subsection
3 years ago
Paul Robert Lloyd
3d545cd454
Merge pull request #210 from communitiesuk/low-hanging-bugs
3 years ago
Paul Robert Lloyd
8d2af81f5c
Update service contact email address
3 years ago
Paul Robert Lloyd
3c79cf4100
Don’t uses slashes or abbreviations in questions
3 years ago
Paul Robert Lloyd
84cf4aad30
Remove incorrect link on start page, use blank link for now
3 years ago
Paul Robert Lloyd
fdabb3b5ad
Always say lettings before sales
3 years ago
Paul Robert Lloyd
7d9cd145de
Add spellcheck false to email inputs
3 years ago
Stéphane Meny
e16fae8810
CDLC-504: Introduce regexp validation of property postcodes ( #207 )
...
Introduce regexp validation of property postcodes
Only changes the status after validation
Clean up logging and fix failing test on minimal earning
3 years ago
baarkerlounger
daf1211510
Data collection windows don't follow the calendar year ( #209 )
3 years ago
Paul Robert Lloyd
10e677b57d
Merge pull request #208 from communitiesuk/707-ampersands
...
Remove all ampersands from the service
3 years ago
Paul Robert Lloyd
eb9533328d
Remove all ampersands from the service
3 years ago
baarkerlounger
265bbadf83
Bump frontend dependencies ( #205 )
3 years ago
kosiakkatrina
f1e56f1df9
Move breadcrumbs ( #204 )
...
* move breadcrumbs
* revert schema file change
* add whitespace
3 years ago
Paul Robert Lloyd
c7363a5500
Merge pull request #202 from communitiesuk/create-log-no-js
...
Don’t require JS to create new log
3 years ago
Paul Robert Lloyd
ecf98c974c
Don’t require JS to create new log
3 years ago
kosiakkatrina
2944146130
Cldc 705 cross section navigation ( #200 )
...
* Add breadcrumbs for log page
* Add check answers breadcrumb partial
* Use govuk component for the breadcrumbs"
* Move the field back in schema
3 years ago
baarkerlounger
305e794d23
CLDC-828: Total field should only be a progressive enhancement if JS is enabled ( #199 )
...
* Hide total field by default
* Total charge is inferred
* We don't need to reload if we're fetching from DB anyway
* Rubocop
* Add prefixes and suffixes
* Don't count read-only questions for section status
* Add feature test for progressive enhancement
* Progressively enhance the progressive enhancement spec
3 years ago
baarkerlounger
3134ed1d10
CLDC-822: GDPR declined page content ( #201 )
...
* GDPR declined page content
* Add more tests
* Use real words
3 years ago
baarkerlounger
348cb183eb
CLDC-825: Support suffixes and prefixes for numeric fields ( #198 )
...
* Income frequency is derived rather than asked
* Render prefix and suffix
* Set header and suffix based on previous answer
* Readme
3 years ago
baarkerlounger
a0d9e36999
Revert Ruby bump until CF Buildpacks support it
3 years ago
baarkerlounger
c118a7af51
Bump ruby and rails minor versions ( #197 )
3 years ago
Stéphane Meny
16f2429842
Merge pull request #196 from communitiesuk/cldc-783-error-postcode-not-supplied
...
CDLC-783: Errors when a postcode is known but not provided
3 years ago
baarkerlounger
8134c2db7d
CLDC-827: Add custom guidance partials ( #192 )
...
* Add custom guidance partials
* Add a test for the partial being rendered
* Add some unit tests for this
* Rubocop
* Don't introduce heisenspecs
* Use component
* Add comment
* Update check values
* Make net_income_known enum
3 years ago
Paul Robert Lloyd
c7d3cafd37
Merge pull request #195 from communitiesuk/single-log-audit-1
3 years ago
kosiakkatrina
e1c7fb9378
Add documentation and validation for the new json form properties ( #194 )
3 years ago
Stéphane Meny
6fd9cd2eac
CDLC-783: Errors when a postcode is known but not provided
3 years ago
Paul Robert Lloyd
3ddbf9d8ac
Content and design audit 1
3 years ago
kosiakkatrina
7be8e0e05f
Cldc 670 property information inferred answers ( #190 )
...
* Show inferred postcode
* Filter out the answers that were not inferred
* Refactor if statement
* Add a failing test for check answers page
* Do not show the postcode known question in check answers
* WIP - fix failing test
* Display inferred check answers value if the value is not set
* update test json
* Fix a check and method name
* Extract check for hiddent in check answers from displayed to the user
Co-authored-by: MadeTech Dushan <dushan@madetech.com>
3 years ago
baarkerlounger
2dd1dbab62
Check template is shown ( #191 )
3 years ago
baarkerlounger
ed7679fdf9
Tenant's MUST be shown the privacy notice otherwise you can't complete the rest of the form ( #187 )
...
* Add failing spec
* About this log is only completed when privacy notice has been marked as shown
* Refactor special case into question
3 years ago
Paul Robert Lloyd
a3c73596e8
Merge pull request #189 from communitiesuk/content-tweaks-about-this-log
...
Content tweaks for About this log section
3 years ago
Paul Robert Lloyd
9c9a66c6b2
Correct question title for property reference
3 years ago
Paul Robert Lloyd
d48856e53b
Use recent date for date input hints
3 years ago
baarkerlounger
bbb13e4a24
Fix first let validations ( #185 )
3 years ago
baarkerlounger
b2783903fb
Move property reference question into About this log section ( #188 )
3 years ago
baarkerlounger
427ce3a352
Pin alpine version to force Node 14 ( #186 )
3 years ago
baarkerlounger
8c39e7ad57
Add outside England options to past LA question ( #184 )
3 years ago
baarkerlounger
9c04121d4c
Rubocop
3 years ago
baarkerlounger
e9fb386d68
Use Rspec from rubygems
3 years ago
baarkerlounger
a3d919d8c3
Rubocop
3 years ago
baarkerlounger
69e403989d
Arbe master
3 years ago
baarkerlounger
fd30790dcc
Inherited resources master
3 years ago
baarkerlounger
837fba70dc
Bump ransack
3 years ago
baarkerlounger
b9f60494d3
Redirect to tasklist page if section or question is not enabled yet ( #183 )
3 years ago
baarkerlounger
5e2222675e
Format date on check answers page
3 years ago
baarkerlounger
982e3efdca
Accessible autocomplete: Only enhance select element once ( #182 )
...
* Only enhance select element once
* Add test for disabled select option
* Select by key
* Test for selected option
* Rubocop
* Instance vars
* Don't turbo cache page to make js function act each time
3 years ago