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

Add parameter "enable_button_after" to all "-button-response" plugins #3298

Merged
merged 1 commit into from
May 20, 2024

Conversation

thtTNT
Copy link
Contributor

@thtTNT thtTNT commented May 17, 2024

Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: a408852

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

This PR includes changesets to release 4 packages
Name Type
@jspsych/plugin-audio-button-response Minor
@jspsych/plugin-html-button-response Minor
@jspsych/plugin-image-button-response Minor
@jspsych/plugin-video-button-response 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
Member

@jodeleeuw jodeleeuw left a comment

Choose a reason for hiding this comment

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

Thanks @thtTNT ! I have a few ideas here about the default value.

The other thing I'm wondering is whether we need to adjust the simulate method so that response times that are less than the enable_button_after parameter cannot be generated.

docs/plugins/audio-button-response.md Outdated Show resolved Hide resolved
docs/plugins/video-button-response.md Outdated Show resolved Hide resolved
packages/plugin-audio-button-response/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-audio-button-response/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-html-button-response/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-image-button-response/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-video-button-response/src/index.ts Outdated Show resolved Hide resolved
@thtTNT
Copy link
Contributor Author

thtTNT commented May 20, 2024

Dear @jodeleeuw,
The code has been updated as you requested. Could you please review the code again?

@jodeleeuw
Copy link
Member

Thanks @thtTNT ! This looks great.

@jodeleeuw jodeleeuw merged commit 87d2a8e into jspsych:main May 20, 2024
2 checks passed
@github-actions github-actions bot mentioned this pull request May 20, 2024
bjoluc pushed a commit that referenced this pull request Jun 7, 2024
Add parameter "enable_button_after" to all "-button-response" plugins

(rebased-with-history from commit 87d2a8e)
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.

None yet

3 participants