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

Templates and translations #68

Merged
merged 25 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4460fa2
Add the directory "site" to clean command
okaycj Oct 16, 2024
4ee033b
Setup new templates package
okaycj Oct 16, 2024
0f6c0b4
Linting fixes
okaycj Oct 16, 2024
7566bb1
Add husky pre-commit to fix linting before committing changes.
okaycj Oct 16, 2024
4fb27a2
Move translation files to new package
okaycj Oct 16, 2024
5a29f41
Rename record's template directory to hbs
okaycj Oct 16, 2024
324c7cb
Move consent doc to templates package
okaycj Oct 16, 2024
db584ca
Add handlebars to templates
okaycj Oct 16, 2024
29ffa75
Add consentDocument function
okaycj Oct 16, 2024
0c71d96
Move utils from record to templates
okaycj Oct 16, 2024
1962130
Use jsPsych's v2 config
okaycj Oct 16, 2024
9948640
Move translation error to templates
okaycj Oct 16, 2024
4490784
Add hbs and yaml import as strings to Rollup config
okaycj Oct 16, 2024
898301f
Add data and Rollupjs dependency to templates package
okaycj Oct 16, 2024
5ebe5e8
Move consent video trial template to templates package
okaycj Oct 16, 2024
d674ad0
Add polyfill to rollupjs config for handlebars
okaycj Oct 16, 2024
202742f
Move template rendering to templates package
okaycj Oct 16, 2024
32c5caa
Move video consent function to its own file
okaycj Oct 16, 2024
57a2bf6
Add templates as a dep for the record package
okaycj Oct 16, 2024
8df38b5
Update existing tests
okaycj Oct 16, 2024
4c48f41
Tests
okaycj Oct 16, 2024
c04e8ec
Added declare window back to record's consent video
okaycj Oct 16, 2024
9718a87
Changeset
okaycj Oct 16, 2024
20bca3a
Remove unnecessary comments
okaycj Oct 16, 2024
7049617
Fix Rollupjs build issue
okaycj Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/early-seahorses-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@lookit/templates": patch
"@lookit/record": patch
---

Move translations and video consent templates to new templates package.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run fix
Loading
Loading