Skip to content

Feat: Add default_response option in plugin-survey-likert#3558

Merged
jadeddelta merged 4 commits intojspsych:mainfrom
ethanknights:feat/add_default_response_option_in_survey_likert
Jan 30, 2026
Merged

Feat: Add default_response option in plugin-survey-likert#3558
jadeddelta merged 4 commits intojspsych:mainfrom
ethanknights:feat/add_default_response_option_in_survey_likert

Conversation

@ethanknights
Copy link
Contributor

@ethanknights ethanknights commented Jun 15, 2025

Hi

To save time in certain paradigms, I found myself wanting to add a default response to Likert values -

This PR proposes to add the default_response optional argument so that scale values are pre-selected.

A couple of tests around this are added & are passing in npm test with jest.

@changeset-bot
Copy link

changeset-bot bot commented Jun 15, 2025

🦋 Changeset detected

Latest commit: 55121f7

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

This PR includes changesets to release 1 package
Name Type
@jspsych/plugin-survey-likert Minor

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

Copy link
Contributor

@jadeddelta jadeddelta left a comment

Choose a reason for hiding this comment

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

hi @ethanknights , thank you so much for the contribution! we really appreciate it, almost everything is in order. before merging, i'm going to add a changeset so that we can properly version and release this out under a minor version, because it is a backwards-compatible feature! for future reference, you can run npm run changeset in the root directory to add a changeset and the CLI will guide you through the steps of adding one.

@jadeddelta jadeddelta merged commit a803593 into jspsych:main Jan 30, 2026
2 checks passed
@github-actions github-actions bot mentioned this pull request Jan 29, 2026
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.

2 participants