Closed sssoja closed 2 years ago
✔️ Deploy Preview for vlab-research canceled.
🔨 Explore the source changes: 4c250b8d631c7f5306a03b94c9aa49084bd7b122
🔍 Inspect the deploy log: https://app.netlify.com/sites/vlab-research/deploys/61e013c5529c55000775fe6f
What changes have you made?
validator.js
module based on thereplybot
logictranslateForm
function to translate the thankyou screens into thefields
array for easier iterationshort_text
,number
andthankyou_screen
ResponseStore
class callednext
that evaluates a field value's validity and returns a next action command to the formvalidator.js
andresponseStore.js
to include thevalidateFieldValue
andnext
logicTypeError
that throws if thevalidator
tries to evaluate a thankyou screenWhich issue(s) does this PR address?
68
How to test
npm test
to check that all tests are passingnpm run dev
onlocalhost:5000
and submit some test answers to the survey