Daniel Baark
5e201d3553
CLDC-344: Validations ( #36 )
...
* Form with model so that we can validate (hypothetically)
* Put turbo frame back
* Turbo can update form errors if submitting returns 422
* Refactor and fix specs
* String interpolation over concatenation
3 years ago
Daniel Baark
a831a70aab
CLDC-341: Conditional showing and hiding of question on a page ( #29 )
...
* Use Stimulus controller for showing and hiding conditional questions for radio questions
3 years ago
kosiakkatrina
9490c550ef
CLDC-275: Form flow ( #28 )
...
* Get and display subsection completion status in tasklist
* update gitignore
* Add styling change return of get status
* Make skip to next incomplete section functional
* update tasklist helper methods not to use the default form
* Display completed sections count
* shuffle if statement
* Pass question keys without the content to get the status
* remove return status, shuffle if statement
* Access styles and statuses directly
3 years ago
MadeTech Dushan
8f2d9ddf81
linting fixes
3 years ago
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
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
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
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
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
baarkerlounger
85f7005db0
Move back link into navigation div
3 years ago
Matthew Phelan
025b56a6cc
household characteristics section questions, db migration and form flow tests added
3 years ago
baarkerlounger
bfc93c8e9a
Spec rebrand and rubocop
3 years ago
baarkerlounger
fae8ee67e5
Complete case log home page
3 years ago
baarkerlounger
da90a60650
Rubocop
3 years ago
baarkerlounger
ab28996e83
Move back link to before_content
3 years ago
Matthew Phelan
88dcdb326f
back link tests added
3 years ago
baarkerlounger
79a1812335
Commit tests
3 years ago
baarkerlounger
5d787cf85c
Refactor case logs
3 years ago
baarkerlounger
15cf845640
Field labels
3 years ago
baarkerlounger
02ceafa387
Added gender question
3 years ago
baarkerlounger
5b4fcb6317
Two questions that route to each other
3 years ago
baarkerlounger
d01bb9f00b
Add some controller specs
3 years ago
baarkerlounger
57e0edbccb
Log list skeleton
3 years ago
baarkerlounger
d85e0da078
Don't need to create our own question markup
3 years ago
baarkerlounger
7c8f262422
Add status test
3 years ago
baarkerlounger
dbe12960aa
Rubocop
3 years ago
baarkerlounger
a73c020658
Add a case log
3 years ago
baarkerlounger
4897e2cd76
Add application skeleton to repo
3 years ago