Commit Graph

570 Commits

Author SHA1 Message Date
vzhang03
61e1544b9a Updated final plugin test 2024-06-21 15:06:48 -04:00
vzhang03
593d4ce7bf Updating old tests to use new plugin syntax and requirements 2024-06-21 15:03:10 -04:00
vzhang03
65ba0d9239 Finalized first round of metadata edits for all existing plugins 2024-06-21 12:12:47 -04:00
vzhang03
30125f15e5 Commented out parameters and included as floats, want to go over later 2024-06-21 11:16:37 -04:00
vzhang03
0dd9c2190b Finished video plugins, inconsistencies with data collected between video slider and thinking about github issues - standardadizing the organization of comments and improving consistency 2024-06-21 10:31:25 -04:00
vzhang03
80fb904455 Finished formatting and removed pretty names for survey plugins, talk to Josh about representation of data 2024-06-20 16:23:26 -04:00
vzhang03
f26f0a747b Finished survey and sketchpad, have questions about data for response whether it needs to be 'nested' vs 'parameters' or if the type definition for response is correct 2024-06-20 15:41:34 -04:00
vzhang03
f48216125a Finished packages with questions about plugin-serial grids 2024-06-17 17:02:39 -04:00
vzhang03
eb40001e63 Questions about which description to use when the doc seems less complete than the jsDoc in the plugin (preload 2024-06-17 16:29:57 -04:00
vzhang03
7e7346caff Pushing plugins with fixed formatting of comments 2024-06-17 14:48:26 -04:00
vzhang03
fbe642c50f Continued work updating plugins 2024-06-17 12:15:29 -04:00
vzhang03
658cf16eb9 Updated documentation for browser-check through canvas-slider response 2024-06-17 10:58:59 -04:00
Josh de Leeuw
1fd3b6d439
Merge branch 'v8' into enhance-instructions 2024-06-15 14:01:10 -04:00
Josh de Leeuw
ec7e207c35
Merge pull request #3166 from jspsych/v8-remove-deprecated-features
Remove deprecated features for version 8
2024-06-14 17:50:31 -04:00
Josh de Leeuw
c3eb8e54c0
Merge pull request #3031 from jspsych/fix-datacolumn-mean-2905
Change `DataColumn.mean()` to ignore `null` and `undefined` values
2024-06-14 17:50:03 -04:00
vzhang03
222cf6c823 Updated audio-keyboard-response and audio-slider-response according to the new standards 2024-06-14 17:02:05 -04:00
vzhang03
485f1c406b Fixing links and finished plugin-audio-response-button 2024-06-13 14:20:22 -04:00
vzhang03
5c0fabb630 Finished updating animation plugin for new standards 2024-06-13 13:49:23 -04:00
vzhang03
6a1d277cde Completed example of updated plugin html-keyboard-response with various requirements fixing for docs and version numbers 2024-06-13 11:46:40 -04:00
vzhang03
46fc6b7e71 Merge remote-tracking branch 'upstream/v8' into v8-plugin-metadata 2024-06-13 11:03:12 -04:00
vzhang03
9e4947d99f Finished up initial metadata example draft - to be reviewed 2024-06-13 10:56:28 -04:00
bjoluc
3b38855ec2
Merge remote-tracking branch 'origin/v8' into v8 2024-06-07 23:03:10 +02:00
Josh de Leeuw
a85999585a Merge pull request #3300 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit 7d41078e9d)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
e778028d0b Merge pull request #3298 from thtTNT/main
Add parameter "enable_button_after" to all "-button-response" plugins

(rebased-with-history from commit 87d2a8e0ab)
2024-06-07 22:49:07 +02:00
github-actions[bot]
f5f2aa3f46 chore(release): version packages (#3294)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

(rebased-with-history from commit c2dd493f6e)
2024-06-07 22:49:07 +02:00
Becky Gilbert
f0d36f4a79 fix incorrect path in dist gulp job (build:archive) (#3293)
* fix incorrect path in dist gulp job (build:archive)
* add changeset for config patch

(rebased-with-history from commit 7bcd4e0a25)
2024-06-07 22:49:07 +02:00
github-actions[bot]
94e174d510 Version Packages (#3292)
* chore(release): version packages
* edit changelogs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>

(rebased-with-history from commit e201ca29af)
2024-06-07 22:49:07 +02:00
Becky Gilbert
ad03a8bffc Survey plugin updates: fix CSS, clean up code/comments, add survey.css to dist archive (#3287)
* make applyStyles private and clean up comments
* fix box shadow in input elements
* fix dropdown element width
* remove old/unused plugin-survey.css file
* add survey.css to dist archive
* add changeset

(rebased-with-history from commit 54e04dc93f)
2024-06-07 22:49:07 +02:00
Becky Gilbert
b97478ef2e remove built dist and css files from plugin-survey directory
(rebased-with-history from commit 11be458d14)
2024-06-07 22:49:07 +02:00
github-actions[bot]
300bf4bcb6 Version Packages (#3283)
* chore(release): version packages

* edit changelog text: survey JSON is object, not string

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>

(rebased-with-history from commit 02a76d1f65)
2024-06-07 22:49:07 +02:00
Becky Gilbert
15d7d73528 Survey plugin rewrite (fixes #2758) (#3204)
(rebased-with-history from commit 6d99a71fb1)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
8308f95ec4 Merge pull request #3214 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit 8e56e57df7)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
d431e03c4b Merge pull request #3213 from jspsych/add-response-ends-trial-vs-circle
Fix display clearing bug in visual search circle plugin version 1.2.0

(rebased-with-history from commit daea41bd16)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
79262362d7 Merge pull request #3212 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit e278bff353)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
d7f4912eea Merge pull request #3211 from jspsych/add-response-ends-trial-vs-circle
Add `response_ends_trial` for visual search circle plugin

(rebased-with-history from commit c64d3fe9b0)
2024-06-07 22:49:07 +02:00
bjoluc
9042e8553f Merge pull request #3126 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit e94e6a79f0)
2024-06-07 22:49:07 +02:00
bjoluc
084292f6cb Merge pull request #3184 from jspsych/fix-sourcemap-urls
Point to source maps via canonical unpkg URLs in CI browser builds

(rebased-with-history from commit b8a85c7202)
2024-06-07 22:49:07 +02:00
bjoluc
c31b859533 Merge pull request #3122 from jspsych/update-config-package
Update `@jspsych/config` dependencies

(rebased-with-history from commit 76fca2712f)
2024-06-07 22:49:07 +02:00
bjoluc
3a2c717746 Refactor free-sort plugin to use pointer events (#2893)
(rebased-with-history from commit 2f37c57d22)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
fa24fa8062 Merge pull request #3074 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit 8f0075b8a1)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
ee595c3dfc Merge pull request #3073 from jspsych/config-bump-canvas
Update canvas version in config

(rebased-with-history from commit e85d0f4d26)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
5837568c2b ensure that null values are allowed, even when there is a default 2024-06-03 13:51:23 -04:00
Josh de Leeuw
dc83096722 add block display to fix #3056 2024-06-03 11:48:56 -04:00
Josh de Leeuw
84dca432d2 update to canvas v2.11.2 2024-06-03 11:48:21 -04:00
Josh de Leeuw
10bdbd6a8f Merge branch 'v8' into v8-css-updates 2024-06-03 10:34:07 -04:00
github-actions[bot]
e44dca7cf3 chore(release): version packages 2024-05-20 16:45:37 +00:00
Josh de Leeuw
87d2a8e0ab
Merge pull request #3298 from thtTNT/main
Add parameter "enable_button_after" to all "-button-response" plugins
2024-05-20 12:41:50 -04:00
Haotian Tu
a4088529cf Add parameter "enable_button_after" to all "-button-response" plugins (#3289) 2024-05-20 23:07:14 +08:00
github-actions[bot]
c2dd493f6e
chore(release): version packages (#3294)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-15 11:33:43 -07:00
Becky Gilbert
7bcd4e0a25
fix incorrect path in dist gulp job (build:archive) (#3293)
* fix incorrect path in dist gulp job (build:archive)
* add changeset for config patch
2024-05-15 11:02:59 -07:00
github-actions[bot]
e201ca29af
Version Packages (#3292)
* chore(release): version packages
* edit changelogs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2024-05-14 12:35:27 -07:00
Becky Gilbert
54e04dc93f
Survey plugin updates: fix CSS, clean up code/comments, add survey.css to dist archive (#3287)
* make applyStyles private and clean up comments
* fix box shadow in input elements
* fix dropdown element width
* remove old/unused plugin-survey.css file
* add survey.css to dist archive
* add changeset
2024-05-14 11:07:48 -07:00
Becky Gilbert
11be458d14 remove built dist and css files from plugin-survey directory 2024-04-30 16:24:49 -07:00
github-actions[bot]
02a76d1f65
Version Packages (#3283)
* chore(release): version packages

* edit changelog text: survey JSON is object, not string

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2024-04-30 16:10:21 -07:00
Becky Gilbert
6d99a71fb1
Survey plugin rewrite (fixes #2758) (#3204) 2024-04-30 15:23:13 -07:00
Shaobin-Jiang
7845f00056
fix typo in randomInt error message 2024-03-01 14:39:28 +08:00
bjoluc
233deb6df4
Merge pull request #3201 from Shaobin-Jiang/message-progress-bar
Allow message_progress_bar to be a function
2024-02-02 23:09:39 +01:00
Shaobin-Jiang
4cb77e885d
move updateMessage into update 2024-01-16 09:11:07 +08:00
github-actions[bot]
2feb774174 chore(release): version packages 2024-01-14 18:51:19 +00:00
Josh de Leeuw
daea41bd16
Merge pull request #3213 from jspsych/add-response-ends-trial-vs-circle
Fix display clearing bug in visual search circle plugin version 1.2.0
2024-01-14 13:47:25 -05:00
Josh de Leeuw
d2d180967a fix display_clear bug 2024-01-14 13:40:42 -05:00
github-actions[bot]
e17e2fd88a chore(release): version packages 2024-01-14 18:06:19 +00:00
Josh de Leeuw
1c7d0af829 add test case for response_ends_trial 2024-01-14 12:54:35 -05:00
Josh de Leeuw
d54048b8d0 Add response_ends_trial parameter to VisualSearchCirclePlugin 2024-01-14 12:51:34 -05:00
Shaobin-Jiang
9d1d30986f
update unit test 2024-01-10 14:22:33 +08:00
Shaobin-Jiang
f0439475b4
fix updateMessage method 2024-01-10 14:22:20 +08:00
Shaobin-Jiang
4dbdbc0e68
refactor message updating
- adding a private `updateMessage` method
- using a simpler version of checking function type
2024-01-10 13:58:13 +08:00
Shaobin-Jiang
d1382968f4
allow message_progress_bar to be a function 2024-01-02 21:59:07 +08:00
Shaobin-Jiang
1c1849ca6c
rename instructions page_change_callback to on_page_change 2023-12-09 07:41:22 +08:00
Josh de Leeuw
2898da6c59
Merge pull request #3167 from jspsych/skip-data-logging
Allow skipping data logging for a trial with `record_data: false`
2023-12-08 10:37:10 -05:00
bjoluc
007d862523 Add a getResult[s]() unit test for the record_data: false parameter 2023-12-06 20:00:29 +01:00
bjoluc
ab7ad5a435 Handle undefined results 2023-12-06 19:56:24 +01:00
Shaobin-Jiang
14fd8573bd
add test case for page_change_callback 2023-11-23 22:21:08 +08:00
Shaobin-Jiang
fe15b373b6
add page_change_callback for plugin instructions 2023-11-23 22:20:44 +08:00
Josh de Leeuw
33c97c2423 return undefined in getResult when record_data is false 2023-11-10 16:45:06 -05:00
Josh de Leeuw
e3b2accd7d add test for https://github.com/jspsych/jsPsych/pull/3167#discussion_r1386741392 2023-11-10 16:44:27 -05:00
github-actions[bot]
f765795d75 chore(release): version packages 2023-11-10 21:01:41 +00:00
bjoluc
9acfa29c8d Point to source maps via canonical unpkg URLs in CI browser builds 2023-11-10 21:25:26 +01:00
bjoluc
76fca2712f
Merge pull request #3122 from jspsych/update-config-package
Update `@jspsych/config` dependencies
2023-11-10 21:15:13 +01:00
bjoluc
220f4e36b4 Update @jspsych/config dependencies 2023-11-10 19:37:25 +01:00
Josh de Leeuw
72ddfa01ad
Merge pull request #3168 from jspsych/abort-timeline-by-id
Add `abortTimelineByName()` to allow ending specific timelines
2023-11-09 12:24:29 -05:00
Josh de Leeuw
978a4c8f05 rename getTimelineByName => getActiveTimelineByName 2023-11-09 12:13:05 -05:00
bjoluc
3855b5d86d
Allow trial on_finish methods to be async (#3182) 2023-11-08 18:37:32 +01:00
Josh de Leeuw
d296962c7e mock the audioplayer module and add tests 2023-11-08 09:55:02 -05:00
Josh de Leeuw
f1587740b2 use AudioPlayer class for audio-keyboard-response 2023-11-08 09:53:54 -05:00
Josh de Leeuw
cd2a94bc77 revising audio-keyboard-response to use AudioPlayer 2023-11-02 16:12:54 -04:00
Josh de Leeuw
1229ed35f9 initial draft of AudioPlayer class 2023-11-02 16:12:37 -04:00
Josh de Leeuw
7b1ae24f4e add abortTimelineByName() 2023-10-30 13:01:55 -04:00
Josh de Leeuw
6f9d01b2ae added record_data parameter 2023-10-30 09:48:07 -04:00
Josh de Leeuw
5b8a00085d remove hardware API 2023-10-27 09:41:49 -04:00
Josh de Leeuw
c4ccc9aa49 remove exlcusions parameter from initJsPsych() 2023-10-27 09:39:01 -04:00
Josh de Leeuw
2a32590f2c remove max-width on .jspsych-content 2023-10-24 11:13:20 -04:00
Josh de Leeuw
acce785dd7 manually update snapshots 2023-10-19 09:10:56 -04:00
Josh de Leeuw
a99c7b7963 fix typo in class name 2023-10-19 09:10:35 -04:00
Josh de Leeuw
d7f3040d51 fix copy/paste error of div name 2023-10-18 15:45:06 -04:00
Josh de Leeuw
808e835306 use clearer error message when rows and columns both null 2023-10-18 15:05:15 -04:00
Josh de Leeuw
11e0103678 button_rows -> grid_rows; button_cols -> grid_columns 2023-10-18 15:02:41 -04:00
Josh de Leeuw
ed99076c3c implements modifications in all button response plugins 2023-10-18 15:00:00 -04:00
Josh de Leeuw
4998825980 change how rows and cols are calculated, change css layout, add example 2023-10-18 14:42:46 -04:00
Josh de Leeuw
dec9bef382 Add grid option, make it default 2023-10-16 11:56:46 -04:00