minnojs / minno-dashboard

Client-side of minno’s study management and authoring tool
1 stars 2 forks source link

Template Studies #91

Closed andrewdzik closed 7 years ago

andrewdzik commented 7 years ago

While talking with Ronen today I realized that we need be more specific on what exactly a template study is. I see them being used for more than just international studies in the future, and want the design to be broad enough to handle other use cases without any extra work. Here is what I am proposing:

  1. A template study will still appear in the user's study list
  2. Clicking on a template study will have a similar layout to normal studies, with a sidebar with a list of templates to edit, that when clicked on will load a template editing view in the main panel.
  3. A template study should have all of the same functionality as a regular study, except for deploys 3a. It can be given tags 3b. It can be shared 3c. It can be duplicated 3d. It can be renamed 3e. It can be deleted
  4. There will be an action to compile template studies. This will create new study folders with a prefix of the template study's name, so template study "canada.demo" would create "canada.demo.weight", but if it was renamed to "canada.french.demo" then it would create "canada.french.demo.weight".
  5. Studies compiled from template studies will be read only, but can be duplicated and then the duplicate edited.
  6. There will be a way to create entirely new template studies. For now just a way for admins to create an initial empty template study would be enough, and then I can add the contents to the DB.