Layout v2
This PR is a step to refactor the layout language on Daiquiri.
This aim to rework the main structure. I think it is better to rename the properties with another PR.
Main yaml layout changed:
-
component
was removed and merged astype
-
option
dictionary was removed (the content was dropped directly inside the layout component)-
type
fromparameterlist
was renamedparamtype
to avoid overlapping
-
-
contents
was renamed intochildren
-
hardware
component type was renamed intohardwaregroup
-
hardware
component type is now used for a single hardware widget
Main architecture changes:
-
namespace
helper was converted to typescript - The whole layout connect component was converted to typescript
- Each component which can be part of the layout have now an dedicated file for the yaml validation (
components/yaml-layout/components
) - Improve the user feedback when the layout is wrong
Edited by Valentin Valls