BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
13 stars 10 forks source link

Duplicating possible survey responses on mindLAMP #761

Closed Tuna9129 closed 1 year ago

Tuna9129 commented 1 year ago

Is your feature request related to a problem? Please describe. When creating new surveys in mindLAMP, it can get quite time consuming because we have to type in the possible answer choices every single time. I know that we can export and import json files for previously used surveys, but this seems like a good feature to use since not everyone (ex: collaborators) will have access to the json files.

Describe the solution you'd like A possible solution is to have the option to duplicate questions (and thus their possible answer choices) when setting up new surveys on mindLAMP. This is how Google Forms does it. I have attached a screenshot of how google does it below.

Screenshot 2023-05-31 at 09 33 57
avaidyam commented 1 year ago

Since we use JSONSchema forms to display the survey builder, we should be able to customize it to add a custom duplicate button below every survey question block.

ZCOEngineer commented 1 year ago

We shall start on this and shall update ETA soon.

sarithapillai8 commented 1 year ago

We have started working on this. We are not adding custom button instead we have copyable option for array item with that schema. Package update is required for that and it is almost done. After checking all sections we will be implementing this completely using that. We can update this by next week.

ZCOEngineer commented 1 year ago

we closed this by mistake, reopened, QA testing will soon start on this.

divyav2020 commented 1 year ago

We have updated the changes in Dashboard staging

Tuna9129 commented 1 year ago

It appears to be working in staging