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

Video consent copy #54

Merged
merged 31 commits into from
Oct 9, 2024
Merged

Video consent copy #54

merged 31 commits into from
Oct 9, 2024

Conversation

okaycj
Copy link
Collaborator

@okaycj okaycj commented Oct 3, 2024

Summary

This moves over video consent template five and the english translation file.

Copy link

changeset-bot bot commented Oct 3, 2024

🦋 Changeset detected

Latest commit: 5c9bc23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@lookit/record Patch
@lookit/style Patch
@lookit/lookit-initjspsych Patch
@lookit/surveys Patch
@lookit/data Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@becky-gilbert becky-gilbert linked an issue Oct 3, 2024 that may be closed by this pull request
@okaycj okaycj force-pushed the video-consent-copy branch from dcb2242 to 676842d Compare October 7, 2024 17:19
okaycj added 6 commits October 7, 2024 15:11
* Remove mustache dependency

* Remove mustache config

* Rename template extensions

* Remove mustache code and replace with handlebars

* Format changes

* Fixed issue with import

* changset
* Remove mustache dependency

* Remove mustache config

* Rename template extensions

* Remove mustache code and replace with handlebars

* Format changes

* Fixed issue with import

* Translation files

* Support selecting translation from trial parameters

* Error when no translation is available.

* Tests

* Format/YAML fix

* Add line wrap to prettier config

* changset
Copy link
Contributor

@becky-gilbert becky-gilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! A few questions/comments.

  1. I think we need to add a Video Consent section to the record package docs (README). Hopefully you can just link to the EFP docs, if all of the parameters are still supported and work the same way.
  2. I realize changesets/versioning doesn't actually matter yet, but just so that we're on the same page with how we want to do it: I think that each changeset file should only list the packages that are affected by the change (feature/fix). So for instance, we'd have one that bumps the record package with: "Add video consent plugin". And the separate ones for switching to handlebars and adding translations, but again just for record? This PR does include changes to other packages, but those changes are just due to prettier line wrapping. So you could add a changeset with all packages for that, but IMO that sort of change doesn't warrant a changeset/version bump since it doesn't affect the code itself.

packages/record/src/video_config.spec.ts Outdated Show resolved Hide resolved
.changeset/soft-trees-dream.md Outdated Show resolved Hide resolved
.changeset/gold-tips-melt.md Outdated Show resolved Hide resolved
packages/lookit-initjspsych/src/utils.ts Show resolved Hide resolved
packages/record/src/consentVideo.ts Outdated Show resolved Hide resolved
packages/record/src/video_config.spec.ts Outdated Show resolved Hide resolved
@okaycj
Copy link
Collaborator Author

okaycj commented Oct 9, 2024

@becky-gilbert

I think we need to add a Video Consent section to the record package docs (README).

I'll get the documentation in a separate PR. Thank you.

@okaycj okaycj requested a review from becky-gilbert October 9, 2024 17:25
Copy link
Contributor

@becky-gilbert becky-gilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the changes!

@okaycj okaycj merged commit 07ce665 into main Oct 9, 2024
2 checks passed
@okaycj okaycj deleted the video-consent-copy branch October 9, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support translations
2 participants