Watts-Lab / researcher-portal

deliberation lab collaborator tools
0 stars 0 forks source link

[FEATURE]: Default/Sample YAML Treatment #54

Closed evanping closed 2 months ago

evanping commented 3 months ago

User Story

As a researcher using the researcher portal, I want to see a default yaml treatment upon loading the researcher portal so that not only are all the interactive elements loaded, I have something more intuitive to build upon.

Feature description

Add a default yaml treatment to the code editor. Can have name, description, players, and empty gamestages list.

What would this feature enable?

Allows the add stage button to show up because with an empty code editor the bottom left section is empty. Also gives the user a foundation to build their experiment off of.

Priority

None

JamesPHoughton commented 3 months ago

This could be pulled either from the examples in the deliberation-empirica test suite, or from the example in deliberation-assets. Feel free to edit either of those as you see fit to make it a good example/default for this case.

JamesPHoughton commented 3 months ago

Make 2 treatment demos:

evanping commented 2 months ago

Existing setup treatment done

evanping commented 2 months ago

May have to update the default treatment in the future as changes are made.