Watts-Lab / deliberation-portal

MIT License
0 stars 0 forks source link

Implement parser that parses config into elements #13

Open kepstein23 opened 10 months ago

kepstein23 commented 10 months ago

Implement code in the visualizer piece of the portal, which when given a properly formatted config file, parses it in a such a way that it can render the elements onto the correct stage.

After parsing, we could have a dictionary, stage of the following format: stages = {"stageName": elements[]} Elements could contain a list of React components which will be what will appear for each stage. Each element should last the duration of the stage (for now) and include all necessary inputs.