-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define widget properties as individual fields #47
Labels
Comments
poirierlouis
added a commit
that referenced
this issue
Nov 4, 2024
Define properties of widgets as fields. WIP. Closes #47
42 tasks
poirierlouis
added a commit
that referenced
this issue
Nov 6, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 8, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 8, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 9, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 9, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 9, 2024
Define properties of widgets as fields. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 9, 2024
Define properties of widgets as fields. Define <fig-*-field> components to bind widget's field by type. Update <fig-*-properties> to bind widget's fields using field components. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 10, 2024
Define properties of widgets as fields. Define <fig-*-field> components to bind widget's field by type. Update <fig-*-properties> to bind widget's fields using field components. WIP. Closes #47
poirierlouis
added a commit
that referenced
this issue
Nov 15, 2024
Define properties of widgets as fields. Define <fig-*-field> components to bind widget's field by type. Update <fig-*-properties> to bind widget's fields using field components. WIP. Closes #47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, properties are defined as class members of a widget.
Each property is also defined explicitly for serialization/deserialization purpose.
Each widget requires a custom Angular component to layout and edit properties of the widget.
This proposal is to refactor properties of widgets as individual "component" (somehow like Entity Component System), named "field" thereafter. It will define a name, label, type of value, range of values, etc.
Each widget could be defined by attaching a set of fields.
A field could be bound to a widget member through getter/setter.
Fields could be reused for serialization/deserialization purpose.
A field could be mapped to an individual form-field component.
Layout of said form-field component should still be manually defined per widget, in fig-[widget]-properties component.
The text was updated successfully, but these errors were encountered: