Commit Graph

665 Commits

Author SHA1 Message Date
Cherrie Chang
5a2265ec36 add test for checking how for of interacts with node removal 2024-11-05 11:54:35 -05:00
Cherrie Chang
e599088b47 delete remove first node test 2024-11-05 09:21:58 -05:00
jade
4723f57eac clarify location_first_item direction, add example 2024-11-04 20:01:57 -05:00
jade
7b0c99f72a Merge branch 'main' of https://github.com/jspsych/jsPsych into plugin-visual-search-add-fixed-offset 2024-11-04 19:32:52 -05:00
jade
fe53143d8a fix test cases 2024-11-04 18:49:15 -05:00
Cherrie Chang
214fb77247 change end node removal test 2024-11-04 17:44:17 -05:00
Cherrie Chang
9b55e9dfcc add tests for dynamically removing timeline nodes 2024-11-04 17:42:18 -05:00
jade
0d5e3ea5f6 fix simulation data and tests 2024-11-04 14:43:55 -05:00
bjoluc
4e88af18c1 Respect dynamically added trial/timeline descriptions 2024-11-03 19:13:24 +01:00
Cherrie Chang
575346846c update plugins index.ts 2024-11-01 17:45:19 -04:00
Cherrie Chang
f0bc8ae3ac add jest tests for citation tool 2024-11-01 12:53:47 -04:00
Cherrie Chang
9d5215e554 clean up errors 2024-10-30 13:50:22 -04:00
Cherrie Chang
d02f62527b delete console logs 2024-10-30 13:43:30 -04:00
Cherrie Chang
2cdf231f92 clean up dependencies 2024-10-30 13:38:08 -04:00
Cherrie Chang
99392b4c28 citation stuff done 2024-10-30 13:24:54 -04:00
jade
9c35cbeb60 Merge branch 'main' of https://github.com/jspsych/jsPsych into pr/jadeddelta/2846 2024-10-30 00:26:06 -04:00
github-actions[bot]
60ab96c519 chore(release): version packages 2024-10-29 18:51:17 +00:00
jade
34c0e54423 update comment style 2024-10-29 14:42:44 -04:00
Cherrie Chang
ef89a80650 define works now 2024-10-23 11:13:33 -07:00
Cherrie Chang
eace9bf393 merge with josh 2024-10-23 11:04:41 -07:00
Josh de Leeuw
81fd767fbc fix some config options 2024-10-23 14:03:50 -04:00
Cherrie Chang
1365dcc082 just not replacing the var 2024-10-23 10:40:09 -07:00
Cherrie Chang
00d60fb7cf remove generateCitation from node scripts and directly call 2024-10-23 10:25:18 -07:00
Cherrie Chang
8bbf9b73c8 move citation build logic from rollup to esbuild 2024-10-23 10:18:23 -07:00
jade
b420804203 consolidate resolveJsonModule rule into main tsconfig.json 2024-10-19 18:20:55 -04:00
jade
db7bcf82f6 let contrib repo import json files as modules 2024-09-22 19:02:07 -04:00
cchang-vassar
a2e7918773 fix browser tool for citations 2024-09-19 14:03:45 -04:00
cchang-vassar
bceacab4ca i really hate this library 2024-09-16 14:01:20 -04:00
cchang-vassar
909cb9a768 fix build citation rollup plugin to actually generate citation 2024-09-13 09:45:27 -04:00
cchang-vassar
bab33ead69 fix: error handling chain in building citations 2024-09-12 16:24:12 -04:00
cchang-vassar
7963fdcf21 move additionalPlugin out of outputOptions 2024-09-12 13:59:18 -04:00
cchang-vassar
715ed2a6c2 pull bjorn fixes 2024-09-12 13:14:08 -04:00
cchang-vassar
e2039c43fa pulling bjorn fixes 2024-09-12 13:08:52 -04:00
bjoluc
fd07de6800
Merge branch 'update-config-dependencies' into add-citation-module 2024-09-12 01:02:54 +02:00
bjoluc
7b3c11b79e
Bump alias-hq to version 6.2.4 2024-09-12 00:45:54 +02:00
bjoluc
3f3d68bd42
Update rollup and the rollup plugins, including esbuild 2024-09-12 00:42:52 +02:00
bjoluc
9e823bfcd7
Merge branch 'main' into update-config-dependencies 2024-09-11 21:52:26 +02:00
Josh de Leeuw
62d34278a3 This fixes build errors, but warnings are still present. Adds rollup/json plugin back into build chain. 2024-09-11 13:57:02 -04:00
Josh de Leeuw
7ca68ea38d Merge branch 'main' into add-citation-module 2024-09-11 13:12:54 -04:00
Josh de Leeuw
59ce0b316b very broken :( 2024-08-31 16:22:58 -04:00
cchang-vassar
bbd09e2ace move citation rollup plugin to config folder 2024-08-27 13:43:12 -04:00
cchang-vassar
1c5f826fbe add rollup plugin for building citation 2024-08-27 13:05:12 -04:00
joshunrau
67b4a05878 clean up randomWords signature 2024-08-27 12:50:00 -04:00
joshunrau
d824aa5e7a improve randomization typing 2024-08-27 12:40:05 -04:00
cchang-vassar
47d57f03ed delete braces from root package.json 2024-08-12 11:40:34 -04:00
github-actions[bot]
ee48a7eca7 chore(release): version packages 2024-08-08 15:10:26 +00:00
Josh de Leeuw
4b080ca4c5 Fix broken event handlers in sketchpad; change Array.from() 2024-08-08 11:04:05 -04:00
max-lovell
51ebc5449b Array.from() -> Array.prototype.slice.call() in free sort and maxdiff plugins 2024-08-06 19:27:31 +01:00
Josh de Leeuw
ffef2611e6 upgrade to gulp 5.0 2024-08-06 11:29:57 -04:00
max-lovell
3906daad54 Replace Array.from() with spread operator 2024-08-05 12:10:25 +01:00
levigoldberg
923057049e
Change broken selection in enable_button_after parameter
The button class was not being selected correctly resulting in a broken enable_button_after parameter
2024-07-29 10:25:23 +02:00
github-actions[bot]
b126d1e12e chore(release): version packages 2024-07-18 18:21:28 +00:00
Josh de Leeuw
9ea0592bfc
Merge pull request #3352 from vzhang03/v8
Added extension version and type to ExtensionManager.ts
2024-07-18 14:17:43 -04:00
Bankminer78
e94691cf6b Updated tests 2024-07-18 12:22:13 -04:00
Bankminer78
6ab31019ff Changed push to unshift to make extension version and type appear first 2024-07-18 12:11:17 -04:00
Bankminer78
81ed9ad3f8 Changed jsPsych and extensions to read version and name from class 2024-07-18 11:50:03 -04:00
github-actions[bot]
39215339c5 chore(release): version packages 2024-07-17 23:08:32 +00:00
Josh de Leeuw
e374226e32
Merge pull request #3348 from vzhang03/audio-player
Fixed negative rt bug in audio-button and audio-slider plugin.
2024-07-17 19:04:54 -04:00
Bankminer78
67b857fde6 Added extension version and type to record-video 2024-07-17 12:06:24 -04:00
Bankminer78
a84ca70ab1 Fixed negative rt bug by making recording startTime with AudioContext 2024-07-17 10:41:53 -04:00
github-actions[bot]
e2f7e91844 chore(release): version packages 2024-07-16 19:24:38 +00:00
Bankminer78
7db7095a63 Changed AudioPlayer to handle WebAudio API source nodes; added tests for enable_button_after for audio_button_response. 2024-07-16 11:29:04 -04:00
Josh de Leeuw
0ce8244c7d remove type for now 2024-07-15 17:08:32 -04:00
Josh de Leeuw
dc3bf37b64 fix merge error, remove console logs 2024-07-15 17:01:27 -04:00
Josh de Leeuw
23b114eb8c Merge branch 'v8' into audio-player 2024-07-15 16:53:54 -04:00
Bankminer78
f5e3aff082 Removed .only addition from test 2024-07-15 14:09:04 -04:00
Bankminer78
e2a9e6b33e Changed AudioPlayer to implement interface; fixed build error; rewrote plugins using AudioPlayer and added tests; changed test-utils' clickTarget to respect disabled forms 2024-07-15 13:47:23 -04:00
Josh de Leeuw
76797940f5
Merge pull request #3339 from jspsych/feature-default-finish-timeline
Make `finishTrial` clear the display and remove timeouts
2024-07-12 08:32:10 -04:00
Josh de Leeuw
c0d1624e99 Merge branch 'v8' into v8-css-updates 2024-07-11 21:43:38 -04:00
Josh de Leeuw
d520b70fbf remove now unnecessary timeout clears and display clears 2024-07-11 18:06:30 -04:00
Josh de Leeuw
313edc2af5 adjust tests to work with cleanup 2024-07-11 17:17:55 -04:00
Josh de Leeuw
06b082a977 remove unnecessary timeout clear and display clear 2024-07-11 16:25:39 -04:00
Josh de Leeuw
4b13ad64fd adding trialCleanup method 2024-07-11 16:21:11 -04:00
Josh de Leeuw
43172ff0b7
Merge pull request #3326 from vzhang03/v8-plugin-metadata
Add additional information to plugin `info` to support better metadata collection
2024-07-11 14:04:26 -04:00
vzhang03
b690802ed6 Addressing last batch of PR comments 2024-07-11 11:29:20 -04:00
Josh de Leeuw
80cccfa39d
Merge pull request #3338 from jspsych/3325-fix
`getKeyboardResponse` will return `key` in original case
2024-07-11 10:26:36 -04:00
Josh de Leeuw
429520095f
Merge pull request #3242 from Shaobin-Jiang/fix-typo
Fix typo
2024-07-11 10:21:55 -04:00
Josh de Leeuw
f2da262f90 return e.key instead of case transformed key 2024-07-11 10:09:20 -04:00
Josh de Leeuw
5521cfc888 fix test case 2024-07-11 10:08:59 -04:00
Josh de Leeuw
2889e854a0 add test for getKeyboardResponse can return a lower case version of the key in some circumstances #3325 2024-07-11 10:05:41 -04:00
Bankminer78
59cc6138ac Changed test for ExtensionManager to handle version and type 2024-07-09 12:34:47 -04:00
Bankminer78
1f6faf336c Edited ExtensionManager.ts to handle multiple extension types and versions 2024-07-08 16:43:40 -04:00
Bankminer78
fadded2b4a Added version and extension type for 2 of 3 extensions 2024-07-03 17:13:23 -04:00
vzhang03
95a2203e27 Updating extensions - missing documentation within extensions 2024-06-29 20:44:22 -04:00
vzhang03
bdf4fc3eee Fixed test to use plugin_version 2024-06-25 12:56:27 -04:00
vzhang03
1542c219d3 Responded to comments in PR - editing changeset to be accurate, changing naming to be clear 2024-06-25 11:27:47 -04:00
vzhang03
b7bd08aaac Fixed tests by adding version to ignored fields 2024-06-25 10:55:18 -04:00
vzhang03
b294640652 Fixed version number displaying and updated error messages to be more description 2024-06-25 10:28:02 -04:00
vzhang03
bd0e164de3 Made version/data optional with warnings, created field to write data to final collection 2024-06-25 10:14:30 -04:00
vzhang03
a5712c8d8f Fixed error when documenting plugin 2024-06-21 16:11:27 -04:00
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