Commit Graph

236 Commits

Author SHA1 Message Date
Josh de Leeuw
0d617432d9 update CSS for survey plugin 2021-11-30 15:00:03 -05:00
Josh de Leeuw
ac9cbe3796 update peer dependencies for 7.1.0 2021-11-30 13:06:37 -05:00
Josh de Leeuw
e7252f09a4 fix existing tests for survey plugin 2021-11-30 12:43:02 -05:00
Josh de Leeuw
2b8d4f07df Merge branch 'main' into plugin-survey 2021-11-29 17:02:39 -05:00
github-actions[bot]
8f2eee87d0 chore(release): version packages 2021-11-29 20:50:45 +00:00
Josh de Leeuw
36397244df
Merge pull request #2350 from jspsych/plugin-audio-input-plugins
New plugins: audio response
2021-11-29 15:43:47 -05:00
bjoluc
fc92e40248 add Sass support to include and override SurveyJS styles 2021-11-28 23:05:33 +01:00
Josh de Leeuw
e8f1bd6d08 fix cases where timeouts fire after expected event 2021-11-27 16:39:38 -05:00
Josh de Leeuw
308a791a8a add timing test for audio input 2021-11-27 16:30:01 -05:00
Josh de Leeuw
e69165804a teardown recording events when trial ends 2021-11-27 16:29:42 -05:00
Josh de Leeuw
58d56a4fbb
Merge pull request #2357 from jspsych/release-archive-version-file
Add a VERSION.md file to release archives
2021-11-27 15:02:56 -05:00
Josh de Leeuw
d8b23ca365 Allow keyboard movements to enable slider buttons when require_movement 2021-11-26 11:55:21 -05:00
gali1998
39b70ee120
Enhanced video slider plugin (#2257)
Changes `response_allowed_while_playing` to use the `stop` parameter as the end of playing.

Co-authored-by: Gali Geller <gali1998@gmai.com>
2021-11-26 11:44:20 -05:00
Josh de Leeuw
cbc588236f throw error when video stimulus is not array 2021-11-26 11:36:14 -05:00
bjoluc
25a4732c47 switch to default theme and include surveyjs stylesheet 2021-11-24 22:55:10 +01:00
bjoluc
fac55ac986 fix typo in error message 2021-11-24 21:58:02 +01:00
bjoluc
5a0ce4e1af fix ranking question
by setting `fallbackToSortableJS`
2021-11-24 21:50:33 +01:00
bjoluc
76e755a18e replace resize-observer-polyfill with @types/resize-observer-browser 2021-11-24 19:46:28 +01:00
bjoluc
c44ac2024a Add a VERSION.md file to the release archives 2021-11-24 19:29:49 +01:00
bjoluc
7dbc303f90 add MediaRecorder types, polyfill ResizeObserver 2021-11-24 16:51:57 +01:00
bjoluc
77d2e3111e update SurveyJS 2021-11-24 00:05:40 +01:00
bjoluc
3219ce75fa fully construct questions in setup functions
to get correct TS types for question objects and get rid of an
additional level of question type mapping
2021-11-24 00:05:12 +01:00
Josh de Leeuw
aa0d28f990 make default null 2021-11-23 15:24:17 -05:00
Josh de Leeuw
fdd2ebb0b6 Merge branch 'main' into plugin-audio-input-plugins 2021-11-23 15:13:27 -05:00
Josh de Leeuw
522aa2cdbf
Adding a simulation mode (#2287)
Implements simulation mode in the core library, supporting API features, and plugin support in most plugins.
2021-11-23 15:12:30 -05:00
Josh de Leeuw
5568ca3b26 add docs for new audio response plugins 2021-11-23 14:51:55 -05:00
bjoluc
d273259a8c some refactoring to get started 2021-11-23 20:15:57 +01:00
Josh de Leeuw
0cc69e0854 add parameter to store audio url; release it if not stored 2021-11-22 14:39:16 -05:00
Josh de Leeuw
ffd7e1e45a add allow_playback option for rerecording audio 2021-11-22 12:21:10 -05:00
Josh de Leeuw
827df6c95d reorganization and parameterization 2021-11-22 11:48:19 -05:00
Josh de Leeuw
aa660ad597 add customization of labels; refresh list of mics based on live availability 2021-11-22 10:38:05 -05:00
Josh de Leeuw
49f5cf4b02 remove incorrectly duplicated testing files 2021-11-19 17:26:44 -05:00
Josh de Leeuw
c12f05bd86 try moving stim display inside start event for media recorder 2021-11-19 17:25:23 -05:00
Josh de Leeuw
3a3d32971c start work on audio-input plugins 2021-11-19 17:00:10 -05:00
Becky Gilbert
64293b85e1 add response scoring when correctResponse is specified 2021-11-18 14:00:14 -08:00
Becky Gilbert
f86784690e more const -> let changes 2021-11-09 16:27:16 -08:00
Becky Gilbert
9ad331036d respond to GH reviews 2021-11-09 15:12:13 -08:00
Becky Gilbert
1d900f7f45 add likert (rating) question type, rename matrix question type from likert to likert-table - WIP 2021-11-09 14:49:35 -08:00
Josh de Leeuw
2922bc5dad
Merge pull request #2209 from jspsych/plugin-exclusions
New Plugin: Browser Check
2021-11-05 18:28:14 -04:00
Josh de Leeuw
ae30862842
Merge pull request #2258 from jspsych/plugin-sketchpad
New plugin: Sketchpad
2021-11-05 18:27:50 -04:00
Josh de Leeuw
ca4fd615da
Merge pull request #2245 from jspsych/migration-errors
Implement migration errors
2021-11-05 18:24:30 -04:00
Josh de Leeuw
c91cc4fd32 Merge branch 'main' into plugin-sketchpad 2021-11-05 18:08:27 -04:00
Josh de Leeuw
e62205880c
Merge pull request #2228 from jspsych/extension-mouse-tracking
Mouse Tracking Extension
2021-11-05 18:06:57 -04:00
Becky Gilbert
112f0a3687 add parameter for custom required error text 2021-11-03 21:51:59 -07:00
Becky Gilbert
bb37073d56 add ranking question type (WIP) 2021-11-03 21:06:46 -07:00
Becky Gilbert
ff26459e8b add correct_response question parameter (WIP) 2021-11-02 16:01:10 -07:00
Becky Gilbert
2cb14e42c5 add/fix tests 2021-11-02 11:47:57 -07:00
Becky Gilbert
cc523da925 finish moving dropdown set-up into separate function 2021-11-01 22:31:03 -07:00
Becky Gilbert
6964a6ebf2 add drop-down and likert questions, tweak CSS, add params for required label/error text (WIP) 2021-11-01 22:26:57 -07:00
Becky Gilbert
a1fd34a007 add "other" radio/checkbox option with associated text response field" 2021-11-01 12:51:35 -07:00
Becky Gilbert
7470b07fa7 minor edits to docs text, change default page/question names to uppercase 2021-11-01 12:06:00 -07:00
Becky Gilbert
c15cb0afe3 add non-responses to data, add custom question names 2021-11-01 11:54:06 -07:00
Becky Gilbert
cdb8346674 refactor, move question set-up to private methods, add question param validation and defaults 2021-10-29 12:57:37 -07:00
Becky Gilbert
bf7d18f456 change textbox row/col values to test params and defaults 2021-10-29 12:56:01 -07:00
Josh de Leeuw
4493864a3f make exclusion_message a function. respond to other feedback in reviews. 2021-10-28 12:46:12 -04:00
Josh de Leeuw
871e83a595 round all measurements to nearest pixel to avoid data bloat 2021-10-27 09:47:27 -04:00
Josh de Leeuw
c55b41e3b1 round rt measurement 2021-10-26 14:08:33 -04:00
Josh de Leeuw
a522367585 update test suite 2021-10-26 13:24:49 -04:00
Josh de Leeuw
ed9833a045 continue dev work on sketchpad 2021-10-26 12:22:24 -04:00
Becky Gilbert
df80575bd3 respond to reviews: change text question columns/rows params to textbox_columns/rows to differentiate from multi-choice columns param, clarify multi-choice type in docs 2021-10-26 09:16:33 -07:00
Josh de Leeuw
a8609e92ce switch to pointer events for better touch support 2021-10-25 13:47:00 -04:00
Becky Gilbert
eb5c67af44 update docs, add CSS file 2021-10-22 14:54:25 -07:00
Becky Gilbert
c45cd249e3 add different question types/params, survey-level params, expand example file (WIP) 2021-10-22 13:56:32 -07:00
Josh de Leeuw
08427f3e22 add option for key to control ink flow 2021-10-22 14:52:14 -04:00
Josh de Leeuw
77fe82cacb fix css problems with controls 2021-10-22 14:01:09 -04:00
Josh de Leeuw
9605c431c6 implementing many features of sketchpad plugin, add example file 2021-10-22 12:49:26 -04:00
Josh de Leeuw
910d49cbb4 create template for sketchpad plugin 2021-10-21 15:46:36 -04:00
Josh de Leeuw
a0337af87f Merge remote-tracking branch 'origin/main' into plugin-exclusions 2021-10-21 09:59:35 -04:00
Josh de Leeuw
8eaabdd0e5 add webcam and microphone detection 2021-10-21 09:57:58 -04:00
Josh de Leeuw
80a74c6a4a set version to 0.1.0 so changeset bumps it to 1.0.0 2021-10-21 09:31:28 -04:00
Josh de Leeuw
153585619d add jsdoc comments 2021-10-20 11:31:39 -04:00
Josh de Leeuw
0c749e87a2 round frame rate to two decimals 2021-10-20 10:45:13 -04:00
Josh de Leeuw
192fe025b8 change default exclusion_message 2021-10-20 09:51:12 -04:00
Josh de Leeuw
c7c755efe7 add deprecation warning 2021-10-19 21:57:04 -04:00
Josh de Leeuw
a76fe72eed add testing for vsync_rate 2021-10-19 16:45:58 -04:00
Josh de Leeuw
ed2847de47 parameterize the messages in interactive resize 2021-10-19 16:45:42 -04:00
bjoluc
1216ace2a3 Implement migration errors
Closes  #2217
2021-10-19 21:57:34 +02:00
Josh de Leeuw
08277eefa2 implement interactive resize 2021-10-19 10:09:46 -04:00
Josh de Leeuw
b0758a6235 remove duplicate test 2021-10-19 10:09:29 -04:00
Josh de Leeuw
dbaa11e09d implement ending experiment with message and data saving 2021-10-18 22:10:24 -04:00
Josh de Leeuw
ea3feaa47e allow endExperiment to save data to the final trial 2021-10-18 22:09:57 -04:00
github-actions[bot]
66bfb91976 chore(release): version packages 2021-10-16 09:31:18 +00:00
Josh de Leeuw
ffe17b9302 use fancy renaming during destructuring 2021-10-14 17:21:34 -04:00
Josh de Leeuw
2932c3d064 better typing on clientX and clientY 2021-10-14 17:06:10 -04:00
Josh de Leeuw
69abb7e851 add test case for minimum_sample_time 2021-10-14 16:47:45 -04:00
Josh de Leeuw
6a607c6f1b more suggestions from code review 2021-10-14 16:30:50 -04:00
Josh de Leeuw
664e702920 Merge branch 'extension-mouse-tracking' of https://github.com/jspsych/jsPsych into extension-mouse-tracking 2021-10-14 16:27:37 -04:00
Josh de Leeuw
f2306b5764 add ms as units 2021-10-14 16:27:31 -04:00
Josh de Leeuw
432314dc68
Apply suggestions from code review
Co-authored-by: bjoluc <mail@bjoluc.de>
2021-10-14 16:27:10 -04:00
Josh de Leeuw
0e0d884a1e allow recording of mouseup and mousedown 2021-10-14 15:25:48 -04:00
Josh de Leeuw
dac7be71f7 add mouseDown and mouseUp events to test utils 2021-10-14 15:10:41 -04:00
Josh de Leeuw
554408cb46 fix bug in test file 2021-10-14 12:18:47 -04:00
Josh de Leeuw
02a510f5d3 add to test case 2021-10-14 12:18:01 -04:00
Josh de Leeuw
04a133b3c3 add testing suite for mouse tracking extension, fix a few bugs 2021-10-14 12:17:23 -04:00
Josh de Leeuw
9eb0a0646e add mouseMove utility to test-utils package 2021-10-14 12:16:40 -04:00
Josh de Leeuw
6aa4e5c441 initial commit of mouse tracking plugin 2021-10-13 18:58:43 -04:00
Josh de Leeuw
3ebf212c7a add inclusion_function 2021-10-08 15:41:21 -04:00
Josh de Leeuw
448c50788b basic grabbing of features working 2021-10-08 15:08:04 -04:00
Becky Gilbert
a073b07f2a first pass at survey plugin with SurveyJS, with docs and example (WIP) 2021-10-07 22:55:52 -07:00
bjoluc
85a69d28bc Consistently use arrow functions in plugins
to avoid masking of `this`
2021-10-07 22:53:20 +02:00