Matthew Phelan
4a8da65a4d
Dynamically passing question to validator
3 years ago
Matthew Phelan
e2268684c0
Merge branch 'main' into CLDC-344/Implement-a-few-validations
3 years ago
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
Paul Robert Lloyd
b0abba9956
Merge pull request #35 from communitiesuk/update-readme
3 years ago
Paul Robert Lloyd
d41156b95c
Update README.md
...
Update installation instructions and tweak content
3 years ago
Matthew Phelan
f6ee29c293
Merge branch 'main' into CLDC-344/Implement-a-few-validations
3 years ago
baarkerlounger
27b1eba583
Add logs command to readme
3 years ago
baarkerlounger
7fb7ddcf90
Fix checkbox partial
3 years ago
baarkerlounger
142739df88
Allow workflow to be triggered manually
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
Dushan
3d86dbd24f
Merge pull request #25 from communitiesuk/CLDC-277-create-check-answer-view
...
CLDC-277: create check answer view
3 years ago
Kat
2f4a953937
update answer label values
3 years ago
MadeTech Dushan
667649834a
rename adr
3 years ago
MadeTech Dushan
acb5c8f4f8
improve clarity
3 years ago
MadeTech Dushan
0db55a78c7
add check answer labels to json
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
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