Skip to content

Commit a76db5e

Browse files
[autofix.ci] apply automated fixes
1 parent 3da4aef commit a76db5e

4 files changed

Lines changed: 14 additions & 37 deletions

File tree

docs/recruit/recruitment.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,13 @@ append a `survey_code` parameter that identifies each participant. Your study UR
280280
should follow this pattern:
281281

282282
For credit-based studies:
283+
283284
```
284285
https://exps.gureckislab.org/e/note-useless-uncle/#/welcome/sona/?survey_code=%SURVEY_CODE%
285286
```
286287

287288
For paid studies:
289+
288290
```
289291
https://exps.gureckislab.org/e/note-useless-uncle/#/welcome/sona_paid/?survey_code=%SURVEY_CODE%
290292
```
@@ -324,6 +326,7 @@ participant's survey code and your credit/payment token, so SONA can
324326
automatically grant credit or payment without any manual intervention.
325327

326328
For credit studies, the redirect goes to:
329+
327330
```
328331
{SONA_URL}/webstudy_credit.aspx?experiment_id={ID}&credit_token={TOKEN}&survey_code={CODE}
329332
```

src/core/stores/smilestore.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ const initBrowserEphemeral = {
204204
'#/welcome/citizensci/?CITIZEN_ID=XXXXX&CITIZEN_STUDY_ID=123RVWYBAZW00EXAMPLE&CITIZEN_SESSION_ID=AZ3456EXAMPLE',
205205
sona: '#/welcome/sona/?survey_code=SONA_TEST_12345',
206206
sona_paid: '#/welcome/sona_paid/?survey_code=SONA_PAID_TEST_67890',
207-
spark:
208-
'#/welcome/spark/?subject_ID=SPARK_TEST_001&participant_ID=SPARK_PID_001&age=14&gender=female',
207+
spark: '#/welcome/spark/?subject_ID=SPARK_TEST_001&participant_ID=SPARK_PID_001&age=14&gender=female',
209208
panda: '#/welcome/panda/?ID=PANDA_TEST_001',
210209
web: '#/welcome',
211210
},

src/user/components/panda/ParentFormView.vue

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ function finish() {
115115
<div class="border border-border text-left bg-muted p-6 rounded-lg">
116116
<!-- Video Privacy Consent -->
117117
<div class="mb-6">
118-
<label class="block text-md font-semibold text-foreground mb-3">
119-
Video Privacy Consent
120-
</label>
118+
<label class="block text-md font-semibold text-foreground mb-3"> Video Privacy Consent </label>
121119
<p class="text-sm text-muted-foreground mb-3">
122120
How would you like your child's video recording to be used?
123121
</p>
@@ -127,9 +125,7 @@ function finish() {
127125
</SelectTrigger>
128126
<SelectContent>
129127
<SelectItem value="panda">PANDA only — video used for research purposes only</SelectItem>
130-
<SelectItem value="public"
131-
>Public — video may be used in presentations or publications</SelectItem
132-
>
128+
<SelectItem value="public">Public — video may be used in presentations or publications</SelectItem>
133129
</SelectContent>
134130
</Select>
135131
</div>
@@ -139,19 +135,15 @@ function finish() {
139135
<label class="block text-md font-semibold text-foreground mb-3">
140136
Digital Signature <span class="text-red-500">*</span>
141137
</label>
142-
<p class="text-sm text-muted-foreground mb-3">
143-
Please sign below to confirm your consent.
144-
</p>
138+
<p class="text-sm text-muted-foreground mb-3">Please sign below to confirm your consent.</p>
145139
<div class="border border-border rounded-md bg-background p-1">
146140
<VueSignaturePad ref="signaturePad" width="100%" height="150px" :options="{ penColor: '#000' }" />
147141
</div>
148142
<div class="flex gap-2 mt-2">
149143
<Button variant="outline" size="sm" @click="clearSignature"> Clear </Button>
150144
<Button variant="outline" size="sm" @click="saveSignature"> Save Signature </Button>
151145
</div>
152-
<p v-if="api.persist.parentForm.signature" class="text-xs text-green-600 mt-1">
153-
Signature saved
154-
</p>
146+
<p v-if="api.persist.parentForm.signature" class="text-xs text-green-600 mt-1">Signature saved</p>
155147
</div>
156148

157149
<!-- How Did You Find Us -->
@@ -162,38 +154,23 @@ function finish() {
162154
</label>
163155
<div class="space-y-3">
164156
<div class="flex items-center gap-2">
165-
<Checkbox
166-
v-model:checked="api.persist.parentForm.howFoundUs.socialMedia"
167-
id="socialMedia"
168-
/>
157+
<Checkbox v-model:checked="api.persist.parentForm.howFoundUs.socialMedia" id="socialMedia" />
169158
<Label for="socialMedia">Social media</Label>
170159
</div>
171160
<div class="flex items-center gap-2">
172-
<Checkbox
173-
v-model:checked="api.persist.parentForm.howFoundUs.wordOfMouth"
174-
id="wordOfMouth"
175-
/>
161+
<Checkbox v-model:checked="api.persist.parentForm.howFoundUs.wordOfMouth" id="wordOfMouth" />
176162
<Label for="wordOfMouth">Word of mouth</Label>
177163
</div>
178164
<div class="flex items-center gap-2">
179-
<Checkbox
180-
v-model:checked="api.persist.parentForm.howFoundUs.flyer"
181-
id="flyer"
182-
/>
165+
<Checkbox v-model:checked="api.persist.parentForm.howFoundUs.flyer" id="flyer" />
183166
<Label for="flyer">Flyer or poster</Label>
184167
</div>
185168
<div class="flex items-center gap-2">
186-
<Checkbox
187-
v-model:checked="api.persist.parentForm.howFoundUs.school"
188-
id="school"
189-
/>
169+
<Checkbox v-model:checked="api.persist.parentForm.howFoundUs.school" id="school" />
190170
<Label for="school">School or community center</Label>
191171
</div>
192172
<div class="flex items-center gap-2">
193-
<Checkbox
194-
v-model:checked="api.persist.parentForm.howFoundUs.other"
195-
id="otherCheckbox"
196-
/>
173+
<Checkbox v-model:checked="api.persist.parentForm.howFoundUs.other" id="otherCheckbox" />
197174
<Label for="otherCheckbox">Other</Label>
198175
</div>
199176
<Input

src/user/components/panda/UploadVideoView.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ onMounted(() => {
2929
>
3030
<TitleTwoCol leftFirst leftWidth="w-1/3" :responsiveUI="api.config.responsiveUI">
3131
<template #title>
32-
<h3 class="text-3xl font-bold mb-4">
33-
<i-fa6-solid-video class="inline mr-2" />&nbsp;Upload Your Video
34-
</h3>
32+
<h3 class="text-3xl font-bold mb-4"><i-fa6-solid-video class="inline mr-2" />&nbsp;Upload Your Video</h3>
3533
<p class="text-lg mb-8">
3634
Thank you for completing the study! Please watch the short video below for instructions on how to upload your
3735
video recording.

0 commit comments

Comments
 (0)