Skip to content

Layout v2

Valentin Valls requested to merge layout-v2 into main

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 as type
  • option dictionary was removed (the content was dropped directly inside the layout component)
    • type from parameterlist was renamed paramtype to avoid overlapping
  • contents was renamed into children
  • hardware component type was renamed into hardwaregroup
  • 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

image

Edited by Valentin Valls

Merge request reports

Loading