opensearch-project / dashboards-flow-framework

A UI designer for constructing AI applications with OpenSearch
Apache License 2.0
9 stars 6 forks source link

Integrate initial workflow configs with `Formik` & `yup` #153

Closed ohltyler closed 4 months ago

ohltyler commented 4 months ago

Description

This PR begins the process of refactoring configs / data that were stored in the data of the ReactFlow nodes, to stored in the config/state of the new form component. It also sets up the initial form schema and validation schema so we have basic form functionality. See video below for a short demo.

More details:

Demo video showing form & validation integration: (note the create fails - fns to generate the e2e template will be part of the next PR)

screen-capture (32).webm

Issues Resolved

Makes progress on #23

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.