This PR adds a new surveyConsent property to the response data, which flags the response as containing a survey-consent frame. This property is necessary for flagging responses on the consent ruling page as containing survey-consent data. We are flagging responses that contain survey consent data because these responses must be verified by the researcher after the consent is accepted.
This PR also contains the changes from the PR that fixes the problem with survey-consent not setting completedConsentFrame to true (#352) because it is a branch off of that branch. (They are in separate PRs in case we wanted to put in an immediate fix for the latter issue).
This PR adds a new
surveyConsent
property to the response data, which flags the response as containing asurvey-consent
frame. This property is necessary for flagging responses on the consent ruling page as containingsurvey-consent
data. We are flagging responses that contain survey consent data because these responses must be verified by the researcher after the consent is accepted.This PR also contains the changes from the PR that fixes the problem with
survey-consent
not settingcompletedConsentFrame
totrue
(#352) because it is a branch off of that branch. (They are in separate PRs in case we wanted to put in an immediate fix for the latter issue).This PR relates to this issue: https://github.com/lookit/lookit-api/issues/1317.