lookit / ember-lookit-frameplayer

Ember app with experiment frames and a frame player to run browser-based experiments
MIT License
5 stars 19 forks source link

add survey-consent flag to response data #354

Closed becky-gilbert closed 9 months ago

becky-gilbert commented 9 months ago

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 relates to this issue: https://github.com/lookit/lookit-api/issues/1317.