kosiakkatrina
0b47b5ccd4
Cldc 340 read only questions ( #34 )
3 years ago
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
baarkerlounger
7fb7ddcf90
Fix checkbox partial
3 years ago
Matthew Phelan
380235a9ed
error message passed through to front end
3 years ago
kosiakkatrina
0aa8d88ffb
Render html from JSON questions ( #33 )
...
* Render html from questions with example
* Render html for all question types
3 years ago
kosiakkatrina
86691d9c0a
Cldc 275 focus styling 2 ( #32 )
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
acb5c8f4f8
improve clarity
3 years ago
MadeTech Dushan
f38c65ea48
fix update answer links
3 years ago
MadeTech Dushan
023f1f66e3
make check answer header dynamic
3 years ago
MadeTech Dushan
c02249ae6a
layout changes
3 years ago
MadeTech Dushan
199d4b9540
styling changes
3 years ago
MadeTech Dushan
b05c66cff2
delete empty line
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
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
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
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
f9a12e411d
Bump stimulus now that it's out of beta
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
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
82f6dab314
Add date template
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
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
dafc9918c2
DLUHC
3 years ago
baarkerlounger
fae8ee67e5
Complete case log home page
3 years ago
baarkerlounger
ab28996e83
Move back link to before_content
3 years ago