Angus McLeod
46c86cda58
Move to new coverage approach
2022-03-12 14:00:07 +01:00
Faizaan Gagan
51553bc71d
FEATURE: validate liquid templates on wizard save ( #156 )
...
* DEV: validate liquid templates on wizard save
* minor fix
* code improvements and spec
* version bump
* fixed failing specs
* FIX: handle displaying backend validation errors on frontend
* fixed linting
* improved error display
* validate raw description for steps
* refactor conditional
* Identify attribute with liquid template error and pass syntax error
Co-authored-by: angusmcleod <angus@mcleod.org.au>
Co-authored-by: Angus McLeod <angusmcleod@users.noreply.github.com>
2022-01-31 15:11:14 +05:30
angusmcleod
f908e5ec9d
Add spec for fix
2021-10-20 21:19:21 +08:00
angusmcleod
e441588aa3
Fix specs and tighten conditional handling
2021-06-23 16:13:58 +10:00
angusmcleod
d3c6733e59
Abstract and improve submission handling
2021-06-17 17:50:22 +10:00
Angus McLeod
ceef3f4bc9
Step and field conditionality ( #87 )
...
* Re structure builder logic to allow for step conditionality
Concerns
- Performance. Look at whether the additional build in the steps controller can be reduced
- Does not work if applied to the last step.
- Certain conditions will not work with the first step(?)
- How should this be scoped to known functionality?
* Add indexes and conditions to steps and fields
* Complete and add spec
* Complete backend
* Complete step conditionality and field indexing
* Fix failing spec
* Update coverage
* Apply rubocop
* Apply prettier
* Apply prettier to wizard js
* Fix schema issues created in merge
* Remove setting label for force_final
* Improve client wizard cache naming
* Improve steps controller and spec conditionality
* Improve final step attribute naming
* Fix failing spec
* Linting
* Add one more final step test
* Linting
* Fix eslint issues
* Apply prettier
* Linting, syntax, merge and copy cleanups
* Update wizard-admin.scss
* Fix template linting
* Rubocop fixes
2021-04-20 23:28:19 +05:30
Faizaan Gagan
b71548427d
Added files used by github actions workflows ( #78 )
...
* Added files used by github actions workflows
* added simplecov report for tests workflow
* removed trailing space
* Rubocop fixes
* Update plugin-linting.yml
* Create Gemfile.lock
* Update Gemfile.lock
* Re-add bundler
* Update gitignore
* Limit yarn install to dev
* Update rubocop config and gemfile.lock
* allow strings to be mutated
* Update invites_controller_spec.rb
Co-authored-by: angusmcleod <angus@mcleod.org.au>
2021-04-16 13:37:32 +05:30
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30
Angus McLeod
f6f77547d7
Use explicit file loading for tests coverage
2020-12-01 08:20:10 +11:00
Angus McLeod
f31054f75d
Isolate and specify template and update validation
2020-11-26 14:05:50 +11:00
Angus McLeod
5a7d8ea355
Add spec to ensure min_length applied to all text fields
2020-11-13 11:39:59 +11:00
Angus McLeod
fc7c5b9b34
Complete tests
2020-11-03 11:24:20 +11:00
Angus McLeod
b726d40a0c
working builder and action specs
2020-10-31 18:05:50 +11:00
Angus McLeod
8fdd263d8e
wip
2020-10-20 10:15:03 +11:00
Angus McLeod
ab18769820
various
2020-04-13 22:17:22 +10:00
Angus McLeod
d8fd5cb258
various
2020-04-11 16:22:12 +10:00
Angus McLeod
3c8dc540c8
wip
2020-04-10 17:57:49 +10:00
Angus McLeod
7b3ed54f29
various
2020-04-05 11:37:09 +10:00
Angus McLeod
b8369146c7
remove preset dropdown
2020-03-19 18:58:45 +11:00
Angus McLeod
3b9488cacb
Fix spec for CI
2020-02-05 18:20:39 +11:00
Angus McLeod
6ad44d58ad
Add dropdown tests and improvements
2019-12-12 10:20:10 +11:00
Angus McLeod
8e5d6b779c
Complete builder.rb spec
2019-12-09 16:51:42 +11:00
Angus McLeod
be83350b72
Tests WIP
2019-12-09 12:43:30 +11:00
Angus McLeod
a96a2b965c
Bulder tests WIP
2019-12-06 20:05:19 +11:00
Angus McLeod
f1fdc37a21
Add enabled setting && tests && file restructure
2019-12-05 17:48:32 +11:00
Angus McLeod
bbfc5abae1
Add rspec folder structure
2019-12-04 22:13:51 +11:00