Commit Graph

441 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
bjoluc
3ce3bdcd28 Leave a clean DOM after each survey-text plugin test case 2023-09-05 17:39:33 +02:00
bjoluc
3d3299fd23 Simplify video-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 17:04:49 +02:00
bjoluc
8468fa9a58 Simplify image-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 15:18:28 +02:00
bjoluc
5970531585 Simplify canvas-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 11:01:37 +02:00
bjoluc
bcf2642b89 Fix simulate_visual in audio-button-response plugin 2023-09-05 11:00:15 +02:00
bjoluc
5f3b0f37f8 Fix button container id in audio-button-response plugin 2023-09-05 10:43:59 +02:00
bjoluc
75e961983d Simplify audio-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 10:25:06 +02:00
bjoluc
fe9f50e615 Simplify html-button-response plugin DOM structure and make button_html a function parameter 2023-07-14 11:28:14 +02:00
bjoluc
b312c19649 Clean up after each html-slider-response plugin test case 2023-07-13 21:19:03 +02:00
bjoluc
adeccc2091 Fix cloze plugin test suite by cleaning up after each test 2023-07-13 21:07:32 +02:00
bjoluc
9cac68a140 Merge branch 'main' into core-rewrite 2023-07-13 17:38:45 +02:00
github-actions[bot]
4f1fda898e chore(release): version packages 2023-06-22 16:21:55 +00:00
Josh de Leeuw
caef8713e2 update canvas version 2023-06-22 11:46:33 -04:00
github-actions[bot]
be2f69382c chore(release): version packages 2023-05-17 20:01:29 +00:00
Josh de Leeuw
545ecbaa76 update test case 2023-05-17 15:42:39 -04:00
Josh de Leeuw
09ee347fa5 Add RT property to fullscreen data collection. Support setting this property in simulation mode. #2462 2023-05-17 14:00:04 -04:00
Josh de Leeuw
347bbb557c fix #2462 2023-05-17 13:11:49 -04:00
Josh de Leeuw
c5d3925a17 fix #2859 2023-05-17 12:11:04 -04:00
Josh de Leeuw
7dd439fdcc fix test case, need to pressKey because not simulation 2023-05-17 12:10:43 -04:00
Josh de Leeuw
e0026a3f87 add failing test for #2859 2023-05-17 11:38:05 -04:00
Josh de Leeuw
952cdf5b12 Fixed pre_target_duration parameter 2023-05-17 11:25:57 -04:00
Josh de Leeuw
1032c71eef fix #2862 2023-05-17 11:11:56 -04:00
Josh de Leeuw
5f2b049763 add failing test for #2862 2023-05-17 10:47:54 -04:00
Josh de Leeuw
b6d4b18278 add test case for #2912 2023-05-17 10:30:56 -04:00