-
-
Notifications
You must be signed in to change notification settings - Fork 713
Update SurveyJS version #3554
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
Update SurveyJS version #3554
Conversation
… to js, migrate code for version changes
… of top-level this)
🦋 Changeset detectedLatest commit: 2bdc6b8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
…s-version Minimal example of working slider
Is there anything else we can do to help this get merged? |
@DominiqueMakowski Sorry that this is taking so long |
calling super-@Max-Lovell maybehe has an idea Do you have a minimal example to reproduce the issue? |
Oh I think I just figured it out. It works when I create a new div element for the survey to render into. It seems like SurveyJS doesn't like rendering into the same DOM container again (at least when the survey content is too similar..? I don't know). Anyway I will clean this up and push the update here ASAP. And in case Max or anyone else wants to have a look - the reproducible example is "dynamically_generating_content.html" from the plugin examples folder. Also, the "jspsych-survey-demo6.html" example from |
@jodeleeuw @cherriechang I'm updating the docs for this |
The version numbers will auto-update in the docs when the docs are built and released 🚀 |
Woo!! I think this is ready for review. The only caveat is that we might want to add the new minified version survey.css file to the dist archive in the config package. I think that the config update would have to go through before this is package is released. Or if that's an issue, we can leave I also switched to The PR for changes to the |
Sorry to ask but is there a rough ETA to get this merged assuming there are no issues? (to give a timeline to my students) |
Tagging @jspsych/core as I think I need at least one approving review to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thank you @becky-gilbert !!
@DominiqueMakowski this should be released now. Thanks for the nudge 😁 |
Thanks a ton @jodeleeuw 🙏 really appreciated 👌 |
Thanks @jodeleeuw! @DominiqueMakowski I'd love to hear how this version is working for you. Please write up any issues. I was planning on adding markdown support to this plugin in the near future, so if you notice any issues then I can fix them at the same time. |
Fixes #3549
This PR makes the following updates to the jsPsych
survey
plugin:survey-core
version from 1.9.138 to 2.2.0survey-knockout-ui
(removed in SurveyJS v2) tosurvey-js-ui
SurveyJS.Survey
fromsurvey-knockout-ui
package is replaced withModel
fromsurvey-core
button_html
parameter value from a string to a function (for button-response v2 migration)this
by SurveyJSresizeObserver
mock to fix broken testsTo do
Question
Should this be a major or minor bump?
I went with minor due to the availability of new features, such as the slider scale. There have been breaking changes as part of the SurveyJS v1 -> v2 update, but I'm not sure yet if there are any breaking changes for jsPsych users (vs developers).Edit: after reviewing the release notes, I think that a major release is the safer bet because of possible breaking changes for plugin users.