MadeTech Dushan
0333a1c1ca
add spec for all questions answered text
3 years ago
MadeTech Dushan
9ca0063ac0
spec uses subsection with 2 questions on page
3 years ago
MadeTech Dushan
26cca734fa
Use questions instead of pages in check answers
3 years ago
Kat
336aaea1e0
check questions instead of page names for get answered questions total
3 years ago
Kat
62a8b12d33
Update the ADR
3 years ago
Kat
e086f1c131
Extract partial answers table, rename variable in helper method
3 years ago
Kat
a436a6cae2
Add check answers helper, display number of questions answered and a link to the next unanswered question
3 years ago
Kat
c07b3f34fe
Add check_answer_label for the rest of the pages
3 years ago
MadeTech Dushan
78df07b29b
Improve test code with minor refactors
...
Co-authored-by: Katrina Kosiak <Katrina@madetech.com>
3 years ago
MadeTech Dushan
82e87483b9
add specs for change/answer links on check answers
3 years ago
MadeTech Dushan
fc132c452c
Add ADR about saving values to database
3 years ago
MadeTech Dushan
fe43a1e999
Display the answers in the answer check page
...
Save radio button and checkbox string values instead of the key/number in
the db. ADR will be added to explain why we are saving values directly to
the db instead of using enums with active record to convert the key/numbers
to the appropriate strings.
3 years ago
MadeTech Dushan
c73074bc0e
Add test for check answers questions labels
3 years ago
MadeTech Dushan
ed9ce2e137
Get a second passing test in place
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
3 years ago
MadeTech Dushan
a04a31105c
add check answers page with passing test
3 years ago
MadeTech Dushan
4e924afbf7
add new trait to case log factory
3 years ago
baarkerlounger
f9a12e411d
Bump stimulus now that it's out of beta
3 years ago
Daniel Baark
1de427dbfa
Add ADR record for JSON config approach ( #26 )
...
* Rename ADRs to make them easier to find
* Add ADR for JSON config
3 years ago
baarkerlounger
e49dba3a64
Rubocop
3 years ago
Matthew Phelan
7d762bd4f3
validation init
3 years ago
baarkerlounger
1be3ce0c60
DRY up partials
3 years ago
baarkerlounger
4811445360
Run rspec directly
3 years ago
baarkerlounger
5cb14cb996
Let's not load more than we need to
3 years ago
baarkerlounger
52b571f066
Don't require rubocop gems
3 years ago
baarkerlounger
15b5a8c8fc
Bump govuk frontend
3 years ago
baarkerlounger
dde0a10db6
Add external lib docs to readme
3 years ago
baarkerlounger
bddef14cc9
Add CI/CD info to readme
3 years ago
baarkerlounger
01dc734b7e
Single app name
3 years ago
Daniel Baark
207e465470
Move to Gov PaaS ( #24 )
...
Move infra to Gov PaaS
3 years ago
kosiakkatrina
2b7c42032d
Update the readme Quickstart with more details
...
I also had to do this before creating the db, but I'm not sure if it's just my set up:
```psql postgres
CREATE ROLE "postgres-user" WITH LOGIN PASSWORD 'postgres-password';
ALTER ROLE "postgres-user" CREATEDB;```
3 years ago
baarkerlounger
1ea0467811
Adjust radio button size based on number of answer options
3 years ago
baarkerlounger
6053bcefd4
Support multiple dividers per answer option set
3 years ago
baarkerlounger
50b102e8f9
Enable dividers in radio button and checkbox answer options
3 years ago
baarkerlounger
c4111f7546
Upstream uses select to mean dropdown and checkbox for... well checkboxes
3 years ago
baarkerlounger
d7e24a987e
Add local authority section
3 years ago
baarkerlounger
093967ff48
Bump turbo and stimulus
3 years ago
baarkerlounger
c993319af4
Add property section
3 years ago
baarkerlounger
82f6dab314
Add date template
3 years ago
baarkerlounger
b17253c5af
Add info to readme
3 years ago
baarkerlounger
c46441bd5d
Add household needs section & fix form navigation for multi question pages
3 years ago
baarkerlounger
c655b918a3
Add page header
3 years ago
baarkerlounger
59a9e6ca27
Complete second section
3 years ago
Daniel Baark
4dbb5d523e
Improve comment
...
Co-authored-by: Dushan <47317567+dushan-madetech@users.noreply.github.com>
3 years ago
baarkerlounger
17853f7b9f
Generate page/question views dynamically
3 years ago
baarkerlounger
f17d480a12
Save all answers on page
3 years ago
baarkerlounger
59ed7ab959
Rubocop
3 years ago
baarkerlounger
53d525670c
Refactor form definition to config file
3 years ago
baarkerlounger
1b45800fbb
Radio options
3 years ago
baarkerlounger
36ba98a9ae
Refactor specs
3 years ago
baarkerlounger
f59aba2476
Spec form answer saving and fix for other household members
3 years ago