-
Notifications
You must be signed in to change notification settings - Fork 7
Making changes to BICS surveys
Open up Author with the survey you are to publish
Open up the Settings tab. Then open Themes, IDs, form types and legal bases tab.
Check to see if Survey ID, eQ ID and Form type are set and that there is a Theme selected.
If none of these are set it may be worth cloning the Questionnaire and setting in Author.
Open up the Metadata tab and make sure trad_as is set to Text (Optional) in the Type column.
https://author.eqbs.gcp.onsdigital.uk/convert/[Qid]
Copy JSON
Goto eq-qustionnaire-schemas
New branch for ticket
The file to change will depend on what wave it is. If it is an odd wave use covid_0001.json and if an even wave use covid_0002
Paste JSON into data/en/covid_0001.json (or covid_0002.json)
Remove the commented out information at the top of the JSON
// 20220608071253
// https://prod-publisher.prod.eq.ons.digital/publish/1c2e0fee-01e9-41c7-b390-ba9b0ab9b852
In Terminal… Nvm use 8 Yarn format
This will change the layout
Yarn lint to check
Compare changes in working tree and copy relevant ones to the new version.
Top of Json eq_id: “covid_0001.json” Formtype: “0001” data_version should be “0.0.1” so we can use Qcodes
Bottom of Json Metadata...
"Name": “trad_as” "Validator": should be “optional_string”
Theme (sidenote)
For covid 19 survey, theme should change from “default” to “covid”
Text changes Ignore
Run yarn lint at the end before pushing up
build and view eq-questionnaire-schemas terminal Docker compose -up —build
Localhost:8000 to view survey list Localhost:5000 to view survey