humdek-unibe-ch / sh-shp-survey_js

SelfHelp plugin that integrates [SurveyJS](https://surveyjs.io)
0 stars 0 forks source link

SurveyJS handle unfinished runs #1

Closed Kodzhabashev closed 4 months ago

Kodzhabashev commented 7 months ago

In GitLab by @nicolas.scheurer on Dec 6, 2023, 09:42

For example, if a user does not complete the survey in a schedule, the SurveyJS study will continue from the last point on the next day (i.e. in the next schedule window).

Maybe a checkbox could be introduced so that one can define a maximum duration or better, maybe one can delete the localStorage at the beginning of a schedule and thus start a new run.

surveyjs_options

Kodzhabashev commented 7 months ago

In GitLab by @nicolas.scheurer on Dec 6, 2023, 11:19

moved from SLP/SLP-sleep_coach#373

Kodzhabashev commented 6 months ago

In GitLab by @nicolas.scheurer on Dec 14, 2023, 16:38

maybe also add information for the time windows: what happens if the window closes when a participant has the survey open and is still doing it?

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 15, 2023, 13:37

I will add an extra field where the researcher can set the maximum duration of the survey. Once the time is passed the survey will be started over.

If the user reopen the survey just before the start, they will be able to finish it unless they reload the page. Then if they fully reload the page the survey will not be active anymore.

If the option once per user is checked and if the survey is expired, then the survey should not be available anymore.

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 15, 2023, 14:23

mentioned in commit 96fff43d85c065d4b1e2117d6b866dd155bf5989

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 14:32

mentioned in commit e2d3ec9b3893c601539d436a465c88b7b800a64c

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 15:23

Implemented in v1.3.0

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 15:23

closed

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 20, 2023, 12:00

mentioned in commit a029c1e7f744d9853d3ee62cc04603fa37351225