This PR includes fields/bounds UI + persistence behavior.
Field types and bound info are now composed in a higher-order FieldListItem component, which is backed by a Field class.
Fields are serialized to string form and backed up in the Alteryx Data Item API as a SimpleString. The FieldStore constructor checks to if the backing data item API is empty or not, and will re-hydrate the store by deserializing the data item if it detects that data is present. Otherwise, it will create an empty instance of the store (assuming this is a new instance of the macro).
This PR includes fields/bounds UI + persistence behavior.
Field types and bound info are now composed in a higher-order
FieldListItem
component, which is backed by aField
class.Fields are serialized to string form and backed up in the Alteryx Data Item API as a
SimpleString
. TheFieldStore
constructor checks to if the backing data item API is empty or not, and will re-hydrate the store by deserializing the data item if it detects that data is present. Otherwise, it will create an empty instance of the store (assuming this is a new instance of the macro).