Add PSQI #36

Merged
mslw merged 3 commits from psqi into master 2023-02-16 11:05:10 +00:00
mslw commented 2023-02-13 16:49:36 +00:00 (Migrated from github.com)

This PR adds fields for the PSQI questionnaire. Consequently, form data version is bumped, 2.2 -> 2.3 to reflect addition of new fields.

Local save/load should remain intact, because the js code responsible for loading goes through the json fields and populates matching form fields, if found. Tested manually on two files, one with and one without the added fields.

I think I changed all the relevant pieces of js and py code, but a review is very welcome.

Closes #35

This PR adds fields for the PSQI questionnaire. Consequently, form data version is bumped, 2.2 -> 2.3 to reflect addition of new fields. Local save/load should remain intact, because the js code responsible for loading goes through the json fields and populates matching form fields, if found. Tested manually on two files, one with and one without the added fields. I think I changed all the relevant pieces of js and py code, but a review is very welcome. Closes #35
mslw commented 2023-02-13 18:51:05 +00:00 (Migrated from github.com)

Okay, I just saw a server test failing in my clone that I will debug tomorrow https://github.com/mslw/sfb1451_data_entry/actions

Okay, I just saw a server test failing in my clone that I will debug tomorrow https://github.com/mslw/sfb1451_data_entry/actions
christian-monch (Migrated from github.com) approved these changes 2023-02-14 08:12:48 +00:00
christian-monch (Migrated from github.com) left a comment

Thanks for the PR

I adapted the static test comparison string to adjust the test to the added fields

Thanks for the PR I adapted the static test comparison string to adjust the test to the added fields
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sfb1451/z03-assessment-center-data-entry!36
No description provided.