Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

72 frame additions and revisions #147

Merged
merged 92 commits into from
Jun 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
1f2ecd7
new frames progress (#138)
Apr 17, 2020
8a60144
update mood-questionnaire formatting to make radio button questions e…
Apr 21, 2020
5a92955
add exp-lookit-single-image frame
Apr 22, 2020
58df4ab
add consent_003 template for UBC with "Benefits, risks, and payment" …
Apr 28, 2020
53b47b0
Bump jquery from 3.3.1 to 3.5.0
dependabot[bot] Apr 30, 2020
4c4d293
finish jquery bump
May 6, 2020
088d5f1
config frame addition - require checking permissions were saved, for …
May 6, 2020
371d4dc
add option to prompt all adults for consent in exp-lookit-video-consent
May 6, 2020
b642bc2
Add recording signal and ability (requirement) to review consent vide…
May 6, 2020
f1649f6
update font-awesome
May 12, 2020
47be14e
rename exp-lookit-image-audio -> exp-lookit-image-audio-base; store f…
May 12, 2020
9c28203
add exp-lookit-multi-image-audio frame with default left/right/center…
May 12, 2020
116dbd4
set up frame docs to show multiple versions from now on (latest at ro…
May 18, 2020
2dc2e13
Bump lodash from 4.17.11 to 4.17.13
dependabot[bot] May 18, 2020
a413af4
bump ember-cli to 3.18.0 and use node 10 (lts for 8 dropped 12/2019)
May 18, 2020
69a465c
Merge branch 'dependabot/npm_and_yarn/lodash-4.17.13' of https://gith…
May 18, 2020
d7ef6f9
bump node-sass for update to sass-graph -> yargs to avoid vulnerability
dependabot[bot] Apr 30, 2020
94ebf81
update ember-cli-showdown to avoid vulnerability in mem
May 18, 2020
f0282a2
force use of more recent request to avoid yuidocjs using ~2.40.0 and …
May 18, 2020
2f2f7b7
move from jscs to only using eslint to avoid a variety of deprecated …
May 18, 2020
148822d
finish eliminating use of lodash 3.x, bump handlebars direct dependency
May 18, 2020
37b173c
up-date ember-cli-template-lint which previously relied on an old ver…
May 18, 2020
479e9cd
bump version of js-yaml due to vulnerability
May 18, 2020
e74f724
upgrade tar to 2.2.2 due to vulnerability
May 18, 2020
c6b8399
bump fstream version due to vulnerability
May 18, 2020
0545914
bump eslint-utils due to vulnerability
May 18, 2020
9046535
bump mixin-deep due to vulnerability
May 18, 2020
8817ce1
bump lodash.merge due to vulnerability
May 18, 2020
7a6cc77
bump lodash.defaultsdeep due to vulnerability
May 18, 2020
ae52c89
bump version of set-value due to vulnerability. (Dependency chain was…
May 18, 2020
ad6c5c9
bump version of sourcemap-validator in order to avoid vulnerability i…
May 18, 2020
3401719
bump kind-of 6.0.2 -> 6.0.3 due to vulnerability (older versions ok)
May 18, 2020
b1dbb66
update so bsform works
May 18, 2020
acc33f1
eslint fixes
May 18, 2020
a0aa6ca
clean up unused jscs comments
May 18, 2020
9c63a94
template linting passing with updated linter
May 19, 2020
49c8209
review yarn resolutions and only include those still necessary now, a…
May 19, 2020
52ac7a7
add @babel/core which is required as a peer dependency for several ot…
May 19, 2020
857a587
Revert "add @babel/core which is required as a peer dependency for se…
May 19, 2020
0ab9cb2
bump version of broccoli-clean-css in order to avoid clean-css < 4.1.…
May 19, 2020
c7eca11
add exp-lookit-image-choice frame that can require selecting one of N…
May 19, 2020
fdf7731
add short delay before proceeding when clicking on one of the charact…
May 19, 2020
6adb974
allow limiting set of choices & specifying relative display timing on…
May 19, 2020
27fc947
set up final 'training' frame. Will now need to clean up these image/…
May 19, 2020
ff8b096
highlighting (with wiggling!) complete. Now to organize everything & …
May 20, 2020
b9e76ea
combine single-image, single-image-audio, image-choice, multi-image-a…
May 20, 2020
668a7b4
make test version for debugging builds without all the videos etc.
May 22, 2020
d669ad8
test reverting node reqs
May 22, 2020
70a57b2
test reverting ember-cli to version with support for node 8
May 22, 2020
0e6bda3
and ember-cli-template-lint
May 22, 2020
d49ea82
and ember-data
May 22, 2020
1dfe5f7
style fixes
May 22, 2020
fbd2436
Revert "make test version for debugging builds without all the videos…
May 22, 2020
5551c2c
exit fullscreen when pressing f1/ctrl-x (thanks Junyi!). Remove unnec…
May 22, 2020
963267a
fix fullscreen errors on sentry (harmless but annoying) and clean up …
May 23, 2020
2b799ed
cleanup: avoid fragile pattern of overriding an observer in the recor…
May 23, 2020
077fff4
do a better job detecting leaving FS and making "return to FS" button…
May 23, 2020
4f7e3e6
fix for calibration audio not playing on first calibration segment in…
May 23, 2020
379f355
minor style etc. fixes
May 23, 2020
ce09a7a
allow customization of how long to wait at end of recording for it to…
May 23, 2020
0436026
add exp-lookit-calibration frame and clean up exp-lookit-video slightly
May 23, 2020
594aaef
add docs for exp-lookit-calibration frame
May 23, 2020
1e5e545
fix formatting of long mic/camera names on exp-video-config frame
May 26, 2020
44117b6
organize manually-maintained docs assets all under docs_assets
May 29, 2020
d16f815
style autofixes
May 29, 2020
16e1489
rename exp-lookit-video frame to exp-lookit-composite-video-trial
May 29, 2020
be84fa6
make exp-lookit-images-audio positioning percentage parameters number…
May 29, 2020
bf843ea
set aspect ratio of exp-lookit-images-audio story area to 1.75:1 rath…
May 29, 2020
64b5d72
initial progress on new exp-lookit-video frame
May 29, 2020
948568e
Revert "style autofixes"
May 29, 2020
0dfd45a
style fixes
May 29, 2020
510f3b3
store isColor as util
May 30, 2020
ab1a125
update exp-lookit-preferential-looking docs
May 30, 2020
bf7eba9
remove extraneous emp property of parentTextBlock on exp-lookit-image…
May 30, 2020
69bac38
finish up new exp-lookit-video frame
May 30, 2020
4a78c2b
update docs
May 30, 2020
0b47c3e
ignore compiled css
May 30, 2020
4e13792
move all docs-related files into docs/
Jun 1, 2020
8f72d0b
remove docs/ in preparation for adding submodule instead
Jun 1, 2020
8b794a6
add docs/ as a submodule so we can easily update documentation from e…
Jun 1, 2020
004b6d0
avoid extraneous stopping of session recorder; don't do frame-level r…
Jun 2, 2020
0228908
minor fixes for exp-lookit-calibration, exp-lookit-video (edge cases …
Jun 2, 2020
e881ed8
remove unused meta name/description cruft
Jun 2, 2020
3f73cd0
store frameDuration on all frames as a convenience
Jun 2, 2020
acd495e
clean up comments
Jun 2, 2020
d267494
add exp-lookit-start-recording and exp-lookit-stop-recording frames
Jun 2, 2020
5be7e2f
generate yuidocs for some deprecated frames but store separately
Jun 2, 2020
55fc8c4
remove pauseRecorder/resumeRecorder which don't actually do anything,…
Jun 2, 2020
357ead3
docs update
Jun 2, 2020
d0aa569
Merge branch 'master' of https://github.com/lookit/ember-lookit-frame…
Jun 2, 2020
f48c685
style fix
Jun 2, 2020
4ad2e03
quick temporary fix - copy fonts to assets/fonts where they are expec…
Jun 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
coverage
dist
docs
tmp
tests/*
package.json
bower.json
testem.js
config/environment.js
bower_components
node_modules
blueprints
vendor
helpers.js
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'PipeSDK': false
},
rules: { // 'warn', 'error', or 'off'
'no-console': 'off' // allow console.log
'no-console': 'off', // allow console.log
'indent': ['warn', 4]
}
};
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
/bower_components

# misc
/.sass-cache
app/styles/.sass-cache
app/styles/app.css
app/styles/app.css.map
/connect.lock
/coverage/*
/libpeerconnection.log
Expand All @@ -25,6 +27,7 @@ scripts/env

migration/output/*

themes/lookit/assets/screenshots/*

/ssl

# tools
.idea/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs"]
path = docs
url = https://github.com/lookit/lookit-frameplayer-docs.git
54 changes: 54 additions & 0 deletions app/components/consent-template001/template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<div class="center-text">
<span class="exp-text-medium">
Consent to participate in non-biomedical research: {{experiment.name}}
</span>
</div>

<br>
<div class="video-consent-body">

<p> Study researchers led by {{PIName}} at {{institution}} are running this study, "{{experiment.name}}," on Lookit. </p>

<p class="exp-text-medium"> Purpose </p>
<p> {{purpose}} </p>

<p class="exp-text-medium"> Procedures </p>
<p> This study takes about {{experiment.duration}} to complete. {{procedures}} </p>

<p class="exp-text-medium"> Participation </p>
<p> You and your child are free to choose whether to be in this study. If you and your child choose to participate, it's okay to stop at any point during the session. Please do pause or stop the session if your child becomes very fussy or does not want to participate! If this is a study with multiple sessions, it's okay not to complete all the sessions.</p>

<p class="exp-text-medium"> Payment </p>
<p> {{payment}} </p>

<p class="exp-text-medium"> Data collection and webcam recording </p>
<p> During the session, you and your child will be recorded via your computer's webcam and microphone. Video recordings and other data you enter are sent securely to our lab. At the end of the session, you will be prompted to choose a privacy level for your webcam recordings. You will have the option to withdraw your video data at this point. </p>
<p>Data is stored securely on Lookit servers and by researchers. However, there is always a small risk that data transmitted over the internet may be intercepted or that the security of stored data may be compromised.</p>
<p>No video clips will be published or shared unless you allow this when selecting a privacy level. If we do not receive a consent recording (the video you'll make to the right) for this session and cannot verify that you agreed to participate, no other video from your session will be viewed.</p>

<p class="exp-text-medium"> Use of data by study researchers </p>
<p>The research group led by {{PIName}} at {{institution}} will have access to video and other data collected during this session. We will also have access to your account profile, demographic survey, and the child profile for the child who is participating, including changes you make in the future to any of this information. We may study your child's responses in connection with his or her previous responses to this or other studies run by our group, siblings' responses to this or other studies run by our group, or demographic survey responses.</p>
{{#if datause}}
<p>
{{datause}}
</p>
{{/if}}

<p class="exp-text-medium"> Use of data by Lookit </p>
<p> Because this study is being run on the Lookit platform, researchers working on the Lookit project at MIT will also have access to the data collected during this session, in addition to your account data, child profiles, and demographic survey responses. This data may be used by Lookit to detect and fix technical problems or identify new features that would be helpful; provide support to study researchers; assess data quality (for instance, how well an observer can tell which direction children are looking); evaluate the site's success in reaching a diverse population; and characterize family engagement (for instance, looking at what aspects of a study make parents more interested in coming back later). </p>

<p class="exp-text-medium"> Publication of results </p>
<p> The results of the research may be presented at scientific meetings or published in scientific journals. Raw data (for instance, looking times to the left and right of the screen) may be published when it cannot identify children. We never publish children's birthdates or names, and we never publish your demographic data in conjunction with your child's video. </p>

{{#if additional_segments}}
{{#each additional_segments as |segment|}}
<p class="exp-text-medium"> {{segment.title}} </p>
<p> {{exp-format segment.text}} </p>
{{/each}}
{{/if}}

<p class="exp-text-medium"> Researcher contact information </p>
<p> This study is run by {{PIName}} at {{institution}}. If you or your child have any questions or concerns about this study, or in the very unlikely event of a research-related injury, please contact {{PIContact}}. </p>
<p>If you or your child have any questions or concerns about the Lookit platform, please contact Kim Scott at kimscott@mit.edu or 617 324 4859.</p>

</div>
65 changes: 65 additions & 0 deletions app/components/consent-template002/template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="center-text">
<span class="exp-text-medium">
Consent to participate in research: {{experiment.name}}
</span>
</div>

<br>
<div class="video-consent-body">

<p> Researchers led by {{PIName}} at {{institution}} are running this study, "{{experiment.name}}," on Lookit. </p>

<p class="exp-text-medium"> Purpose </p>
<p> {{purpose}} </p>

<p class="exp-text-medium"> Procedures </p>
<p> This study takes about {{experiment.duration}} to complete. {{procedures}} </p>

<p class="exp-text-medium"> Participation </p>
<p> You and your child are free to choose whether to be in this study. If you and your child choose to participate, it's okay to stop at any point during the session. Please pause or stop the session if your child becomes very fussy or does not want to participate! If this is a study with multiple sessions, it's okay not to complete all the sessions.</p>

<p class="exp-text-medium"> Payment </p>
<p> {{payment}} </p>

<p class="exp-text-medium"> Data collection and webcam recording </p>
<p> During the session, you and your child will be recorded via your computer's webcam and microphone. Video recordings and other data you enter are sent securely to the Lookit platform and stored indefinitely. At the end of the session, you will be prompted to choose a privacy level for your webcam recordings. You will have the option to withdraw your video data at this point. You can view your past recordings on Lookit under "Studies" -> "Your past studies" at any time.</p>
<p>Data is stored securely on Lookit servers and by researchers. However, there is always a small risk that data transmitted over the internet may be intercepted or that the security of stored data may be compromised.</p>
<p>No video clips will be published or shared unless you allow this when selecting a privacy level. If we do not receive a consent recording (the video you'll make to the right) for this session and cannot verify that you agreed to participate, no other video from your session will be viewed.</p>

<p class="exp-text-medium"> Use of data by study researchers </p>
<p>The research group led by {{PIName}} at {{institution}} will have access to video and other data collected during this session. We will also have access to your account profile, demographic survey, and the child profile for the child who is participating, including changes you make in the future to any of this information. We may study your child's responses in connection with his or her previous responses to this or other studies run by our group, siblings' responses to this or other studies run by our group, or demographic survey responses.</p>
{{#if datause}}
<p>
{{datause}}
</p>
{{/if}}

<p class="exp-text-medium"> Use of data by Lookit </p>
<p> Because this study is being run on the Lookit platform, researchers working on the Lookit project at MIT will also have access to the data collected during this session, in addition to your account data, child profiles, and demographic survey responses. This data may be used by Lookit to detect and fix technical problems or identify new features that would be helpful; provide support to study researchers; assess data quality (for instance, how well an observer can tell which direction children are looking); evaluate the site's success in reaching a diverse population; and characterize family engagement (for instance, looking at what aspects of a study make parents more interested in coming back later). </p>

<p class="exp-text-medium"> Publication of results </p>
<p> The results of the research may be presented at scientific meetings or published in scientific journals. Raw data (for instance, looking times to the left and right of the screen) may be published when it cannot identify children. We never publish children's birthdates or names, and we never publish your demographic data in conjunction with your child's video. </p>

{{#if additional_segments}}
{{#each additional_segments as |segment|}}
<p class="exp-text-medium"> {{segment.title}} </p>
<p> {{exp-format segment.text}} </p>
{{/each}}
{{/if}}

<p class="exp-text-medium"> Rights of research subjects </p>
<p> {{research_rights_statement}} </p>

{{#if gdpr}}
<p class="exp-text-medium"> General Data Protection Regulation (GDPR) information </p>
<p> As part of your participation, we will collect certain personal information about you, including: {{gdpr_personal_data}}. In addition, we will collect special category data, your personal information that is especially sensitive: {{gdpr_sensitive_data}}</p>

<p>Your personal information will be transferred to the United States. You understand that the data protection and privacy laws of the United States may not offer you the same level of protection as those in your country of origin.</p>
{{/if}}


<p class="exp-text-medium"> Researcher contact information </p>
<p> This study is run by {{PIName}} at {{institution}}. If you or your child have any questions or concerns about this study, or in the very unlikely event of a research-related injury, please contact {{PIContact}}. </p>
<p>If you or your child have any questions or concerns about the Lookit platform, please contact Kim Scott at kimscott@mit.edu or 617 324 4859.</p>

</div>
65 changes: 65 additions & 0 deletions app/components/consent-template003/template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="center-text">
<span class="exp-text-medium">
Consent to participate in research: {{experiment.name}}
</span>
</div>

<br>
<div class="video-consent-body">

<p> Researchers led by {{PIName}} at {{institution}} are running this study, "{{experiment.name}}," on Lookit. </p>

<p class="exp-text-medium"> Purpose </p>
<p> {{purpose}} </p>

<p class="exp-text-medium"> Procedures </p>
<p> This study takes about {{experiment.duration}} to complete. {{procedures}} </p>

<p class="exp-text-medium"> Participation </p>
<p> You and your child are free to choose whether to be in this study. If you and your child choose to participate, it's okay to stop at any point during the session. Please pause or stop the session if your child becomes very fussy or does not want to participate! If this is a study with multiple sessions, it's okay not to complete all the sessions.</p>

<p class="exp-text-medium"> Benefits, risks, and payment </p>
<p> {{payment}} </p>

<p class="exp-text-medium"> Data collection and webcam recording </p>
<p> During the session, you and your child will be recorded via your computer's webcam and microphone. Video recordings and other data you enter are sent securely to the Lookit platform and stored indefinitely. At the end of the session, you will be prompted to choose a privacy level for your webcam recordings. You will have the option to withdraw your video data at this point. You can view your past recordings on Lookit under "Studies" -> "Your past studies" at any time.</p>
<p>Data is stored securely on Lookit servers and by researchers. However, there is always a small risk that data transmitted over the internet may be intercepted or that the security of stored data may be compromised.</p>
<p>No video clips will be published or shared unless you allow this when selecting a privacy level. If we do not receive a consent recording (the video you'll make to the right) for this session and cannot verify that you agreed to participate, no other video from your session will be viewed.</p>

<p class="exp-text-medium"> Use of data by study researchers </p>
<p>The research group led by {{PIName}} at {{institution}} will have access to video and other data collected during this session. We will also have access to your account profile, demographic survey, and the child profile for the child who is participating, including changes you make in the future to any of this information. We may study your child's responses in connection with his or her previous responses to this or other studies run by our group, siblings' responses to this or other studies run by our group, or demographic survey responses.</p>
{{#if datause}}
<p>
{{datause}}
</p>
{{/if}}

<p class="exp-text-medium"> Use of data by Lookit </p>
<p> Because this study is being run on the Lookit platform, researchers working on the Lookit project at MIT will also have access to the data collected during this session, in addition to your account data, child profiles, and demographic survey responses. This data may be used by Lookit to detect and fix technical problems or identify new features that would be helpful; provide support to study researchers; assess data quality (for instance, how well an observer can tell which direction children are looking); evaluate the site's success in reaching a diverse population; and characterize family engagement (for instance, looking at what aspects of a study make parents more interested in coming back later). </p>

<p class="exp-text-medium"> Publication of results </p>
<p> The results of the research may be presented at scientific meetings or published in scientific journals. Raw data (for instance, looking times to the left and right of the screen) may be published when it cannot identify children. We never publish children's birthdates or names, and we never publish your demographic data in conjunction with your child's video. </p>

{{#if additional_segments}}
{{#each additional_segments as |segment|}}
<p class="exp-text-medium"> {{segment.title}} </p>
<p> {{exp-format segment.text}} </p>
{{/each}}
{{/if}}

<p class="exp-text-medium"> Rights of research subjects </p>
<p> {{research_rights_statement}} </p>

{{#if gdpr}}
<p class="exp-text-medium"> General Data Protection Regulation (GDPR) information </p>
<p> As part of your participation, we will collect certain personal information about you, including: {{gdpr_personal_data}}. In addition, we will collect special category data, your personal information that is especially sensitive: {{gdpr_sensitive_data}}</p>

<p>Your personal information will be transferred to the United States. You understand that the data protection and privacy laws of the United States may not offer you the same level of protection as those in your country of origin.</p>
{{/if}}


<p class="exp-text-medium"> Researcher contact information </p>
<p> This study is run by {{PIName}} at {{institution}}. If you or your child have any questions or concerns about this study, or in the very unlikely event of a research-related injury, please contact {{PIContact}}. </p>
<p>If you or your child have any questions or concerns about the Lookit platform, please contact Kim Scott at kimscott@mit.edu or 617 324 4859.</p>

</div>
14 changes: 5 additions & 9 deletions app/components/exp-exit-survey/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import moment from 'moment';
import ExpFrameBaseComponent from '../exp-frame-base/component';
import FullScreen from '../../mixins/full-screen';

// Regular comment syntax to omit from docs
/*
* @module exp-player
* @submodule frames
* @submodule frames-deprecated
*/

// Use regular comment syntax here to exclude from docs for clarity
/*
This is the exit survey used by "Your baby the physicist". Use the updated frame {{#crossLink "Exp-lookit-exit-survey"}}{{/crossLink}} instead.
This is the exit survey used by "Your baby the physicist". For new studies, use the updated frame {{#crossLink "Exp-lookit-exit-survey"}}{{/crossLink}} instead.

@class Exp-exit-survey
@extends Exp-frame-base
Expand Down Expand Up @@ -48,8 +48,6 @@ export default ExpFrameBaseComponent.extend(Validations, FullScreen, {
fullScreenElementId: 'experiment-player',
frameSchemaProperties: {},
meta: {
name: 'ExpExitSurvey',
description: 'Exit survey for Lookit.',
data: {
type: 'object',
properties: {
Expand Down Expand Up @@ -154,8 +152,6 @@ export default ExpFrameBaseComponent.extend(Validations, FullScreen, {

progressValue: Ember.computed('currentSessionsCompleted', 'idealSessionsCompleted', function() {
return Math.min(100, Math.ceil((this.get('currentSessionsCompleted') / this.get('idealSessionsCompleted')) * 100));
}),
willRender() {
this.send('exitFullscreen');
}
})

});
Loading