-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename exit survey file * Move exit json data to templates * Replace exit survey's text with translation keys * Incorporate node lts v22.x * Update dependencies * Add locale parameter and move survey text code to templates * Remove unneeded file * Update tests * Add function to index * These functions don't need to be exported * Add conditional for choices element * Update exit survey for tests and add tests * Github actions doesn't support v22 just yet. * Update to package lock * Fix test issue were v18 doesn't like "Object.defineProperty" * Changeset * SurveyJS locale (#98) * Remove unneeded survey-jquery package * Set surveyJS locale * Update plugin with new survey function * Remove print statement * Add tests for SurveyJS locale * Changeset * Add locale to consent survey * Update tests
- Loading branch information
Showing
20 changed files
with
491 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lookit/surveys": patch | ||
--- | ||
|
||
Set SurveyJS Locale to trial's locale parameter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@lookit/templates": patch | ||
"@lookit/surveys": patch | ||
--- | ||
|
||
Add localization to the exit survey trial |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** Error thrown when trial is expecting locale parameter and on is not found. */ | ||
export class TrialLocaleParameterUnset extends Error { | ||
/** This will show when the locale is not set in a trial. */ | ||
public constructor() { | ||
super("Locale not set in trial parameters."); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.